Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:04:03.282462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_15012025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 19643171, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736946303000}
4219
2486238
4219
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/00/20/image_15012025_00_20_53_2675.jpg', '/home/pi/Desktop/images/15012025/00/33/image_15012025_00_33_54_2708.jpg', '/home/pi/Desktop/images/15012025/01/11/image_15012025_01_11_30_2775.jpg', '/home/pi/Desktop/images/15012025/01/14/image_15012025_01_14_39_2683.jpg', '/home/pi/Desktop/images/15012025/01/23/image_15012025_01_23_26_2574.jpg', '/home/pi/Desktop/images/15012025/02/15/image_15012025_02_15_09_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/00/20/image_15012025_00_20_53_2675.jpg
/home/pi/Desktop/images/15012025/00/33/image_15012025_00_33_54_2708.jpg
/home/pi/Desktop/images/15012025/01/11/image_15012025_01_11_30_2775.jpg
/home/pi/Desktop/images/15012025/01/14/image_15012025_01_14_39_2683.jpg
/home/pi/Desktop/images/15012025/01/23/image_15012025_01_23_26_2574.jpg
/home/pi/Desktop/images/15012025/02/15/image_15012025_02_15_09_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329134858","1329134893","1329134819","1329134824","1329134877","1329134829"],"photo_ids_order":["1329134819","1329134824","1329134829","1329134858","1329134877","1329134893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1f438f70880b35997c1d5c2e0d5a0b3.jpg","text":"TemporaryFile(/tmp/multipartBody394535538119216870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946304967,"filename":"image_15012025_01_14_39_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c3421c7b60bf2acb8c42991480ef1ad7.jpg","text":"TemporaryFile(/tmp/multipartBody3628443120446813213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946304967,"filename":"image_15012025_02_15_09_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/12cff4bc361ae771e2a17c7e443b236f.jpg","text":"TemporaryFile(/tmp/multipartBody3163443357037927020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946304967,"filename":"image_15012025_00_20_53_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8f3aff4af8e75abb98e54b6cdc59092.jpg","text":"TemporaryFile(/tmp/multipartBody8972474823055373447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946304967,"filename":"image_15012025_00_33_54_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/71708a0a0a787f010fd61191b3cf3dde.jpg","text":"TemporaryFile(/tmp/multipartBody2771009398079863205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946304967,"filename":"image_15012025_01_23_26_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99cbd5616246de5301ced86b60b0cab4.jpg","text":"TemporaryFile(/tmp/multipartBody6645042640057796965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946304967,"filename":"image_15012025_01_11_30_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329134829","file1":"1329134824","file0":"1329134819","file4":"1329134877","file5":"1329134893","file3":"1329134858"},"map_files_photo_id_array":[{"photo_id":"1329134893","filename":"file5"},{"photo_id":"1329134829","filename":"file2"},{"photo_id":"1329134877","filename":"file4"},{"photo_id":"1329134824","filename":"file1"},{"photo_id":"1329134819","filename":"file0"},{"photo_id":"1329134858","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329134858":["hashtag1","hashtag2"]},{"1329134893":["hashtag1","hashtag2"]},{"1329134819":["hashtag1","hashtag2"]},{"1329134824":["hashtag1","hashtag2"]},{"1329134877":["hashtag1","hashtag2"]},{"1329134829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329134858, 1329134893, 1329134819, 1329134824, 1329134877, 1329134829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76822781562805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:04:42.630335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/02/29/image_15012025_02_29_56_3548.jpg', '/home/pi/Desktop/images/15012025/04/40/image_15012025_04_40_36_2755.jpg', '/home/pi/Desktop/images/15012025/05/10/image_15012025_05_10_26_4591.jpg', '/home/pi/Desktop/images/15012025/06/39/image_15012025_06_39_06_1553.jpg', '/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_41_2619.jpg', '/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_44_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/02/29/image_15012025_02_29_56_3548.jpg
/home/pi/Desktop/images/15012025/04/40/image_15012025_04_40_36_2755.jpg
/home/pi/Desktop/images/15012025/05/10/image_15012025_05_10_26_4591.jpg
/home/pi/Desktop/images/15012025/06/39/image_15012025_06_39_06_1553.jpg
/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_41_2619.jpg
/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_44_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329134903","1329134927","1329134909","1329134940","1329134943","1329134946"],"photo_ids_order":["1329134903","1329134909","1329134927","1329134940","1329134943","1329134946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/374cf8a2bc21816abd42605d7560a65d.jpg","text":"TemporaryFile(/tmp/multipartBody4958092375456218140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946343321,"filename":"image_15012025_02_29_56_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/104ddedc83df2ed0a20ccc6fe854b544.jpg","text":"TemporaryFile(/tmp/multipartBody3524913035521155217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946343321,"filename":"image_15012025_05_10_26_4591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/877fc6283148e6242bb61f7f94ee2fdf.jpg","text":"TemporaryFile(/tmp/multipartBody5308987641474193218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946343321,"filename":"image_15012025_04_40_36_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/832be035de5121e2d6b976258bb38684.jpg","text":"TemporaryFile(/tmp/multipartBody7987741536663989503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946343321,"filename":"image_15012025_06_39_06_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d852d53837bee546ff383f51074b2c9.jpg","text":"TemporaryFile(/tmp/multipartBody2832788529628286154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946343321,"filename":"image_15012025_07_49_41_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ed30249d44ade2de7536e661dc3fbc47.jpg","text":"TemporaryFile(/tmp/multipartBody186387873062268229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946343321,"filename":"image_15012025_07_49_44_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329134927","file1":"1329134909","file0":"1329134903","file4":"1329134943","file5":"1329134946","file3":"1329134940"},"map_files_photo_id_array":[{"photo_id":"1329134946","filename":"file5"},{"photo_id":"1329134927","filename":"file2"},{"photo_id":"1329134943","filename":"file4"},{"photo_id":"1329134909","filename":"file1"},{"photo_id":"1329134903","filename":"file0"},{"photo_id":"1329134940","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329134903":["hashtag1","hashtag2"]},{"1329134927":["hashtag1","hashtag2"]},{"1329134909":["hashtag1","hashtag2"]},{"1329134940":["hashtag1","hashtag2"]},{"1329134943":["hashtag1","hashtag2"]},{"1329134946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329134903, 1329134927, 1329134909, 1329134940, 1329134943, 1329134946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12272572517395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:05:21.962981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_47_2581.jpg', '/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_51_3604.jpg', '/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_56_2646.jpg', '/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_59_2665.jpg', '/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_05_3061.jpg', '/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_08_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_47_2581.jpg
/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_51_3604.jpg
/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_56_2646.jpg
/home/pi/Desktop/images/15012025/07/49/image_15012025_07_49_59_2665.jpg
/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_05_3061.jpg
/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_08_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329134954","1329134995","1329134959","1329134967","1329134990","1329134951"],"photo_ids_order":["1329134951","1329134954","1329134959","1329134967","1329134990","1329134995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e49540f97a01319b549189b375974e44.jpg","text":"TemporaryFile(/tmp/multipartBody4523852674491483101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946382653,"filename":"image_15012025_07_49_51_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/781bbb579716c7a54353d4177cf3cc55.jpg","text":"TemporaryFile(/tmp/multipartBody4471047637503588826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946382653,"filename":"image_15012025_07_50_08_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10cc47e4107720b1b9a89f9fdd330009.jpg","text":"TemporaryFile(/tmp/multipartBody3678114337271451045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946382653,"filename":"image_15012025_07_49_56_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5f47dce763ae3d81d5c6b90eadeb148a.jpg","text":"TemporaryFile(/tmp/multipartBody313489240613922667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946382653,"filename":"image_15012025_07_49_59_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf32afc125af9a9abad194866a4ec86b.jpg","text":"TemporaryFile(/tmp/multipartBody8188530379045551175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946382653,"filename":"image_15012025_07_50_05_3061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/20029e1ae76404ee961a1714d84f83d1.jpg","text":"TemporaryFile(/tmp/multipartBody4071537393180191137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946382653,"filename":"image_15012025_07_49_47_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329134959","file1":"1329134954","file0":"1329134951","file4":"1329134990","file5":"1329134995","file3":"1329134967"},"map_files_photo_id_array":[{"photo_id":"1329134995","filename":"file5"},{"photo_id":"1329134959","filename":"file2"},{"photo_id":"1329134990","filename":"file4"},{"photo_id":"1329134954","filename":"file1"},{"photo_id":"1329134951","filename":"file0"},{"photo_id":"1329134967","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329134954":["hashtag1","hashtag2"]},{"1329134995":["hashtag1","hashtag2"]},{"1329134959":["hashtag1","hashtag2"]},{"1329134967":["hashtag1","hashtag2"]},{"1329134990":["hashtag1","hashtag2"]},{"1329134951":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329134954, 1329134995, 1329134959, 1329134967, 1329134990, 1329134951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.754112243652344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:06:03.330687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_11_2624.jpg', '/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_14_3588.jpg', '/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_17_2595.jpg', '/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_20_3568.jpg', '/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_26_2596.jpg', '/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_29_3513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_11_2624.jpg
/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_14_3588.jpg
/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_17_2595.jpg
/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_20_3568.jpg
/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_26_2596.jpg
/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_29_3513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135038","1329135034","1329135028","1329135030","1329135032","1329135041"],"photo_ids_order":["1329135028","1329135030","1329135032","1329135034","1329135038","1329135041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fda094e8772ea8e87280137099ced61d.jpg","text":"TemporaryFile(/tmp/multipartBody4209299289078877098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946424039,"filename":"image_15012025_07_50_26_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1aade9295ee49bccbcc0ef8cb58035c6.jpg","text":"TemporaryFile(/tmp/multipartBody1137086325608966433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946424039,"filename":"image_15012025_07_50_20_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c6c658532c7b007291eeb8b0828d1038.jpg","text":"TemporaryFile(/tmp/multipartBody711327422802982752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946424039,"filename":"image_15012025_07_50_11_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c0e27a3aafb3a52b47d843076bec1b1.jpg","text":"TemporaryFile(/tmp/multipartBody1146733054621382115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946424039,"filename":"image_15012025_07_50_14_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/66ca43585a60e6a457193838fdb48367.jpg","text":"TemporaryFile(/tmp/multipartBody8016985704421636586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946424039,"filename":"image_15012025_07_50_17_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22aafa7caa9d71a13c9b2f015e0a77db.jpg","text":"TemporaryFile(/tmp/multipartBody7939259104094859449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946424039,"filename":"image_15012025_07_50_29_3513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135032","file1":"1329135030","file0":"1329135028","file4":"1329135038","file5":"1329135041","file3":"1329135034"},"map_files_photo_id_array":[{"photo_id":"1329135041","filename":"file5"},{"photo_id":"1329135032","filename":"file2"},{"photo_id":"1329135038","filename":"file4"},{"photo_id":"1329135030","filename":"file1"},{"photo_id":"1329135028","filename":"file0"},{"photo_id":"1329135034","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135038":["hashtag1","hashtag2"]},{"1329135034":["hashtag1","hashtag2"]},{"1329135028":["hashtag1","hashtag2"]},{"1329135030":["hashtag1","hashtag2"]},{"1329135032":["hashtag1","hashtag2"]},{"1329135041":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135038, 1329135034, 1329135028, 1329135030, 1329135032, 1329135041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.140453577041626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:06:42.814943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_50_2853.jpg', '/home/pi/Desktop/images/15012025/07/51/image_15012025_07_51_50_2618.jpg', '/home/pi/Desktop/images/15012025/07/51/image_15012025_07_51_56_3646.jpg', '/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_05_3543.jpg', '/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_08_2797.jpg', '/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_11_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/07/50/image_15012025_07_50_50_2853.jpg
/home/pi/Desktop/images/15012025/07/51/image_15012025_07_51_50_2618.jpg
/home/pi/Desktop/images/15012025/07/51/image_15012025_07_51_56_3646.jpg
/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_05_3543.jpg
/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_08_2797.jpg
/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_11_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135186","1329135180","1329135177","1329135182","1329135170","1329135056"],"photo_ids_order":["1329135056","1329135170","1329135177","1329135180","1329135182","1329135186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/19eac6e2e523d91f73d0641d2cf53154.jpg","text":"TemporaryFile(/tmp/multipartBody204564534926087528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946463439,"filename":"image_15012025_07_52_11_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d96dd5c9786c6d935c3421a69493c9d1.jpg","text":"TemporaryFile(/tmp/multipartBody7206297063721034926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946463439,"filename":"image_15012025_07_52_05_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b1afaca585ab2331d023fdccfc8cb2c0.jpg","text":"TemporaryFile(/tmp/multipartBody1827627058624231118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946463439,"filename":"image_15012025_07_51_56_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ab2ccc6aa4984b56292731b841db19c.jpg","text":"TemporaryFile(/tmp/multipartBody2651888938622026893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946463439,"filename":"image_15012025_07_52_08_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/773cc6dc5175690d05d2a39d45c30604.jpg","text":"TemporaryFile(/tmp/multipartBody7657467529833963678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946463439,"filename":"image_15012025_07_51_50_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1aa03b5e877779c150eebf91773206c8.jpg","text":"TemporaryFile(/tmp/multipartBody5775475515198317205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946463439,"filename":"image_15012025_07_50_50_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135177","file1":"1329135170","file0":"1329135056","file4":"1329135182","file5":"1329135186","file3":"1329135180"},"map_files_photo_id_array":[{"photo_id":"1329135186","filename":"file5"},{"photo_id":"1329135177","filename":"file2"},{"photo_id":"1329135182","filename":"file4"},{"photo_id":"1329135170","filename":"file1"},{"photo_id":"1329135056","filename":"file0"},{"photo_id":"1329135180","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135186":["hashtag1","hashtag2"]},{"1329135180":["hashtag1","hashtag2"]},{"1329135177":["hashtag1","hashtag2"]},{"1329135182":["hashtag1","hashtag2"]},{"1329135170":["hashtag1","hashtag2"]},{"1329135056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135186, 1329135180, 1329135177, 1329135182, 1329135170, 1329135056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65786957740784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:07:22.391549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_14_3584.jpg', '/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_17_2667.jpg', '/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_20_2717.jpg', '/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_23_3577.jpg', '/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_26_2757.jpg', '/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_38_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_14_3584.jpg
/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_17_2667.jpg
/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_20_2717.jpg
/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_23_3577.jpg
/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_26_2757.jpg
/home/pi/Desktop/images/15012025/07/52/image_15012025_07_52_38_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135221","1329135218","1329135211","1329135205","1329135225","1329135230"],"photo_ids_order":["1329135205","1329135211","1329135218","1329135221","1329135225","1329135230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec822fa3289a9c9eab334bdd8c13507d.jpg","text":"TemporaryFile(/tmp/multipartBody5228430323428752686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946503017,"filename":"image_15012025_07_52_23_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2057104d71a76b2813201403ad55d5df.jpg","text":"TemporaryFile(/tmp/multipartBody1063950153842144623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946503017,"filename":"image_15012025_07_52_20_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92edbef681d222fa33103f87cfa2c4a5.jpg","text":"TemporaryFile(/tmp/multipartBody8346489752464734611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946503017,"filename":"image_15012025_07_52_17_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83fed3be09af6daf9214761c7650ad31.jpg","text":"TemporaryFile(/tmp/multipartBody6197620428022225377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946503017,"filename":"image_15012025_07_52_14_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/092ca917ace3fd5b789546ac95088676.jpg","text":"TemporaryFile(/tmp/multipartBody4076406088203673318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946503017,"filename":"image_15012025_07_52_26_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b707d81feadaacb1fa547a7979731ce.jpg","text":"TemporaryFile(/tmp/multipartBody4479590189531144501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946503017,"filename":"image_15012025_07_52_38_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135218","file1":"1329135211","file0":"1329135205","file4":"1329135225","file5":"1329135230","file3":"1329135221"},"map_files_photo_id_array":[{"photo_id":"1329135230","filename":"file5"},{"photo_id":"1329135218","filename":"file2"},{"photo_id":"1329135225","filename":"file4"},{"photo_id":"1329135211","filename":"file1"},{"photo_id":"1329135205","filename":"file0"},{"photo_id":"1329135221","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135221":["hashtag1","hashtag2"]},{"1329135218":["hashtag1","hashtag2"]},{"1329135211":["hashtag1","hashtag2"]},{"1329135205":["hashtag1","hashtag2"]},{"1329135225":["hashtag1","hashtag2"]},{"1329135230":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135221, 1329135218, 1329135211, 1329135205, 1329135225, 1329135230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03532934188843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:08:02.494790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/01/image_15012025_08_01_16_3613.jpg', '/home/pi/Desktop/images/15012025/08/03/image_15012025_08_03_33_2635.jpg', '/home/pi/Desktop/images/15012025/08/03/image_15012025_08_03_40_2584.jpg', '/home/pi/Desktop/images/15012025/08/03/image_15012025_08_03_42_2689.jpg', '/home/pi/Desktop/images/15012025/08/03/image_15012025_08_03_46_3711.jpg', '/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_36_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/01/image_15012025_08_01_16_3613.jpg
/home/pi/Desktop/images/15012025/08/03/image_15012025_08_03_33_2635.jpg
/home/pi/Desktop/images/15012025/08/03/image_15012025_08_03_40_2584.jpg
/home/pi/Desktop/images/15012025/08/03/image_15012025_08_03_42_2689.jpg
/home/pi/Desktop/images/15012025/08/03/image_15012025_08_03_46_3711.jpg
/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_36_2528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135349","1329135256","1329135241","1329135238","1329135251","1329135245"],"photo_ids_order":["1329135238","1329135241","1329135245","1329135251","1329135256","1329135349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a430820663eafe3e7fc4cc7b25005f0a.jpg","text":"TemporaryFile(/tmp/multipartBody1760760642530667387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946543293,"filename":"image_15012025_08_09_36_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/525bc5c03529d72a86eda76b4f4af9bd.jpg","text":"TemporaryFile(/tmp/multipartBody620043252521032066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946543293,"filename":"image_15012025_08_03_46_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c4f426fb8857825ca19b6431caee843.jpg","text":"TemporaryFile(/tmp/multipartBody2116059793976726640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946543293,"filename":"image_15012025_08_03_33_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bcddf24f89e41a0ee13574fe52b215ed.jpg","text":"TemporaryFile(/tmp/multipartBody6761613409407231282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946543293,"filename":"image_15012025_08_01_16_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bfe2a105cd5c2537aad9fbd3e1f40a1b.jpg","text":"TemporaryFile(/tmp/multipartBody2279140302204040103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946543293,"filename":"image_15012025_08_03_42_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0b76d5c9ce23ea3f9b40f0f41ff53431.jpg","text":"TemporaryFile(/tmp/multipartBody8468575497689270657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946543293,"filename":"image_15012025_08_03_40_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135245","file1":"1329135241","file0":"1329135238","file4":"1329135256","file5":"1329135349","file3":"1329135251"},"map_files_photo_id_array":[{"photo_id":"1329135349","filename":"file5"},{"photo_id":"1329135245","filename":"file2"},{"photo_id":"1329135256","filename":"file4"},{"photo_id":"1329135241","filename":"file1"},{"photo_id":"1329135238","filename":"file0"},{"photo_id":"1329135251","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135349":["hashtag1","hashtag2"]},{"1329135256":["hashtag1","hashtag2"]},{"1329135241":["hashtag1","hashtag2"]},{"1329135238":["hashtag1","hashtag2"]},{"1329135251":["hashtag1","hashtag2"]},{"1329135245":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135349, 1329135256, 1329135241, 1329135238, 1329135251, 1329135245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.225691080093384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:08:41.892617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_39_3642.jpg', '/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_42_2714.jpg', '/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_45_3508.jpg', '/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_48_2571.jpg', '/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_51_2588.jpg', '/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_54_3778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_39_3642.jpg
/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_42_2714.jpg
/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_45_3508.jpg
/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_48_2571.jpg
/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_51_2588.jpg
/home/pi/Desktop/images/15012025/08/09/image_15012025_08_09_54_3778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135451","1329135442","1329135430","1329135438","1329135426","1329135423"],"photo_ids_order":["1329135423","1329135426","1329135430","1329135438","1329135442","1329135451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7e401bbb6a8bc2a99855ddc7097b3693.jpg","text":"TemporaryFile(/tmp/multipartBody1029209022991686271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946582658,"filename":"image_15012025_08_09_54_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cafb2f67fe27f672897799bab205312e.jpg","text":"TemporaryFile(/tmp/multipartBody211349179100809555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946582658,"filename":"image_15012025_08_09_51_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21510ed82f2718d93ca675b24f14f4b4.jpg","text":"TemporaryFile(/tmp/multipartBody5607603583225194233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946582658,"filename":"image_15012025_08_09_45_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3391bd08c51ebb99478d215c558989d2.jpg","text":"TemporaryFile(/tmp/multipartBody8805474755395208551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946582658,"filename":"image_15012025_08_09_48_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5273055ee4a7f40d9f8b2ce62fc299b4.jpg","text":"TemporaryFile(/tmp/multipartBody9189912520672595458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946582658,"filename":"image_15012025_08_09_42_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/661a5cb9b33b66814fa393a5225dcd7c.jpg","text":"TemporaryFile(/tmp/multipartBody3352391653543776984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946582658,"filename":"image_15012025_08_09_39_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135430","file1":"1329135426","file0":"1329135423","file4":"1329135442","file5":"1329135451","file3":"1329135438"},"map_files_photo_id_array":[{"photo_id":"1329135451","filename":"file5"},{"photo_id":"1329135430","filename":"file2"},{"photo_id":"1329135442","filename":"file4"},{"photo_id":"1329135426","filename":"file1"},{"photo_id":"1329135423","filename":"file0"},{"photo_id":"1329135438","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135451":["hashtag1","hashtag2"]},{"1329135442":["hashtag1","hashtag2"]},{"1329135430":["hashtag1","hashtag2"]},{"1329135438":["hashtag1","hashtag2"]},{"1329135426":["hashtag1","hashtag2"]},{"1329135423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135451, 1329135442, 1329135430, 1329135438, 1329135426, 1329135423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74523591995239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:09:22.757915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/10/image_15012025_08_10_04_3830.jpg', '/home/pi/Desktop/images/15012025/08/10/image_15012025_08_10_42_2969.jpg', '/home/pi/Desktop/images/15012025/08/10/image_15012025_08_10_57_3589.jpg', '/home/pi/Desktop/images/15012025/08/10/image_15012025_08_11_00_2746.jpg', '/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_03_2691.jpg', '/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_06_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/10/image_15012025_08_10_04_3830.jpg
/home/pi/Desktop/images/15012025/08/10/image_15012025_08_10_42_2969.jpg
/home/pi/Desktop/images/15012025/08/10/image_15012025_08_10_57_3589.jpg
/home/pi/Desktop/images/15012025/08/10/image_15012025_08_11_00_2746.jpg
/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_03_2691.jpg
/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_06_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135637","1329135622","1329135610","1329135642","1329135615","1329135600"],"photo_ids_order":["1329135600","1329135610","1329135615","1329135622","1329135637","1329135642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40d27a04aa328f70c63f18afa3d1e408.jpg","text":"TemporaryFile(/tmp/multipartBody3186141927236061273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946623464,"filename":"image_15012025_08_11_03_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6bb20d03e5fe336c3d593e6184c477b6.jpg","text":"TemporaryFile(/tmp/multipartBody4511088569260746277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946623464,"filename":"image_15012025_08_11_00_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d48d9d0bb69b3b12a3e381d295402d78.jpg","text":"TemporaryFile(/tmp/multipartBody2421125229550979540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946623464,"filename":"image_15012025_08_10_42_2969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a7fdee1cfb113853f06352c6ef2c1be7.jpg","text":"TemporaryFile(/tmp/multipartBody3353592457247409402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946623464,"filename":"image_15012025_08_11_06_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/89c6656d3e7f2758bbb0b651e9734b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2094969224686804537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946623464,"filename":"image_15012025_08_10_57_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc237e0b0a034a623a54b2d2a1b85e76.jpg","text":"TemporaryFile(/tmp/multipartBody8034418847731852377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946623464,"filename":"image_15012025_08_10_04_3830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135615","file1":"1329135610","file0":"1329135600","file4":"1329135637","file5":"1329135642","file3":"1329135622"},"map_files_photo_id_array":[{"photo_id":"1329135642","filename":"file5"},{"photo_id":"1329135615","filename":"file2"},{"photo_id":"1329135637","filename":"file4"},{"photo_id":"1329135610","filename":"file1"},{"photo_id":"1329135600","filename":"file0"},{"photo_id":"1329135622","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135637":["hashtag1","hashtag2"]},{"1329135622":["hashtag1","hashtag2"]},{"1329135610":["hashtag1","hashtag2"]},{"1329135642":["hashtag1","hashtag2"]},{"1329135615":["hashtag1","hashtag2"]},{"1329135600":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135637, 1329135622, 1329135610, 1329135642, 1329135615, 1329135600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17864513397217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:10:22.661740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_09_2812.jpg', '/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_12_2765.jpg', '/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_15_2754.jpg', '/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_18_3728.jpg', '/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_21_2714.jpg', '/home/pi/Desktop/images/15012025/08/11/image_15012025_08_12_00_3879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_09_2812.jpg
/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_12_2765.jpg
/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_15_2754.jpg
/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_18_3728.jpg
/home/pi/Desktop/images/15012025/08/11/image_15012025_08_11_21_2714.jpg
/home/pi/Desktop/images/15012025/08/11/image_15012025_08_12_00_3879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135790","1329135664","1329135660","1329135783","1329135705","1329135770"],"photo_ids_order":["1329135660","1329135664","1329135705","1329135770","1329135783","1329135790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a26a642ba630fb2ca0a69a03e07c081c.jpg","text":"TemporaryFile(/tmp/multipartBody1765208692413604748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946683363,"filename":"image_15012025_08_12_00_3879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b12ad8f7340a79fd1aefa8345664fdf5.jpg","text":"TemporaryFile(/tmp/multipartBody6808445089746471991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946683363,"filename":"image_15012025_08_11_12_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f62ad07b96f87f7de31f2b8084b11050.jpg","text":"TemporaryFile(/tmp/multipartBody6173329221613064915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946683363,"filename":"image_15012025_08_11_09_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/37aa3339cc3ad35a9587b9f70a3a18b0.jpg","text":"TemporaryFile(/tmp/multipartBody8013322396912134500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946683363,"filename":"image_15012025_08_11_21_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/afa6e5863a301bcf48970d85d1f93873.jpg","text":"TemporaryFile(/tmp/multipartBody8723302805166123503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946683363,"filename":"image_15012025_08_11_15_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1cc83803ab8694950e7006601c8aa48c.jpg","text":"TemporaryFile(/tmp/multipartBody1730665132948499136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946683363,"filename":"image_15012025_08_11_18_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135705","file1":"1329135664","file0":"1329135660","file4":"1329135783","file5":"1329135790","file3":"1329135770"},"map_files_photo_id_array":[{"photo_id":"1329135790","filename":"file5"},{"photo_id":"1329135705","filename":"file2"},{"photo_id":"1329135783","filename":"file4"},{"photo_id":"1329135664","filename":"file1"},{"photo_id":"1329135660","filename":"file0"},{"photo_id":"1329135770","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135790":["hashtag1","hashtag2"]},{"1329135664":["hashtag1","hashtag2"]},{"1329135660":["hashtag1","hashtag2"]},{"1329135783":["hashtag1","hashtag2"]},{"1329135705":["hashtag1","hashtag2"]},{"1329135770":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135790, 1329135664, 1329135660, 1329135783, 1329135705, 1329135770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50050330162048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:11:21.909098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_17_2706.jpg', '/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_33_3546.jpg', '/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_36_2743.jpg', '/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_38_2783.jpg', '/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_42_3717.jpg', '/home/pi/Desktop/images/15012025/08/18/image_15012025_08_18_53_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_17_2706.jpg
/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_33_3546.jpg
/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_36_2743.jpg
/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_38_2783.jpg
/home/pi/Desktop/images/15012025/08/13/image_15012025_08_13_42_3717.jpg
/home/pi/Desktop/images/15012025/08/18/image_15012025_08_18_53_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135824","1329135805","1329135814","1329135819","1329135810","1329135828"],"photo_ids_order":["1329135805","1329135810","1329135814","1329135819","1329135824","1329135828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/969cda5c775bfbbec2c8d1a38a682305.jpg","text":"TemporaryFile(/tmp/multipartBody7588086553378913199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946742629,"filename":"image_15012025_08_13_42_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99a16dd6d93f39f80c36b5cf88e4f537.jpg","text":"TemporaryFile(/tmp/multipartBody8616468023015942070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946742629,"filename":"image_15012025_08_13_17_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f79f091684764e27b39b6e97c6f65c17.jpg","text":"TemporaryFile(/tmp/multipartBody7259727217067326167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946742629,"filename":"image_15012025_08_13_36_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/048b6c1d25b51f42abddb5083a825580.jpg","text":"TemporaryFile(/tmp/multipartBody8031234867304928075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946742629,"filename":"image_15012025_08_13_38_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88fb3d869e1b22ce89cfe5bc28de9459.jpg","text":"TemporaryFile(/tmp/multipartBody7399442131375818829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946742629,"filename":"image_15012025_08_13_33_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a1b687dfe44b65b604eefd2fa6f4309.jpg","text":"TemporaryFile(/tmp/multipartBody8018663999304878707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946742629,"filename":"image_15012025_08_18_53_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135814","file1":"1329135810","file0":"1329135805","file4":"1329135824","file5":"1329135828","file3":"1329135819"},"map_files_photo_id_array":[{"photo_id":"1329135828","filename":"file5"},{"photo_id":"1329135814","filename":"file2"},{"photo_id":"1329135824","filename":"file4"},{"photo_id":"1329135810","filename":"file1"},{"photo_id":"1329135805","filename":"file0"},{"photo_id":"1329135819","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135824":["hashtag1","hashtag2"]},{"1329135805":["hashtag1","hashtag2"]},{"1329135814":["hashtag1","hashtag2"]},{"1329135819":["hashtag1","hashtag2"]},{"1329135810":["hashtag1","hashtag2"]},{"1329135828":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135824, 1329135805, 1329135814, 1329135819, 1329135810, 1329135828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.895819902420044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:12:03.039688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/18/image_15012025_08_18_57_3656.jpg', '/home/pi/Desktop/images/15012025/08/18/image_15012025_08_18_59_2707.jpg', '/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_38_2646.jpg', '/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_42_3670.jpg', '/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_47_2729.jpg', '/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_50_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/18/image_15012025_08_18_57_3656.jpg
/home/pi/Desktop/images/15012025/08/18/image_15012025_08_18_59_2707.jpg
/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_38_2646.jpg
/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_42_3670.jpg
/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_47_2729.jpg
/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_50_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135883","1329135841","1329135838","1329135849","1329135878","1329135866"],"photo_ids_order":["1329135838","1329135841","1329135849","1329135866","1329135878","1329135883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b48c287d1de7ab1641b68392d7a440ea.jpg","text":"TemporaryFile(/tmp/multipartBody1049615353868555544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946783782,"filename":"image_15012025_08_19_50_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b8bcb167a5dc0e135d8d67172054ee6c.jpg","text":"TemporaryFile(/tmp/multipartBody1720186940415159418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946783782,"filename":"image_15012025_08_18_59_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b9070422b0fbe57134932fd28830f37b.jpg","text":"TemporaryFile(/tmp/multipartBody2758918565519493788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946783782,"filename":"image_15012025_08_18_57_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/024d926709e4918395dbd6e051db0beb.jpg","text":"TemporaryFile(/tmp/multipartBody9135659751335278894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946783782,"filename":"image_15012025_08_19_38_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9bf48ccf9d6656cc26d7e11673bf452c.jpg","text":"TemporaryFile(/tmp/multipartBody6135903052707993001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946783782,"filename":"image_15012025_08_19_47_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d20bbcbbf1629c712c97a3febe1f468a.jpg","text":"TemporaryFile(/tmp/multipartBody3971198250878018066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946783782,"filename":"image_15012025_08_19_42_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135849","file1":"1329135841","file0":"1329135838","file4":"1329135878","file5":"1329135883","file3":"1329135866"},"map_files_photo_id_array":[{"photo_id":"1329135883","filename":"file5"},{"photo_id":"1329135849","filename":"file2"},{"photo_id":"1329135878","filename":"file4"},{"photo_id":"1329135841","filename":"file1"},{"photo_id":"1329135838","filename":"file0"},{"photo_id":"1329135866","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135883":["hashtag1","hashtag2"]},{"1329135841":["hashtag1","hashtag2"]},{"1329135838":["hashtag1","hashtag2"]},{"1329135849":["hashtag1","hashtag2"]},{"1329135878":["hashtag1","hashtag2"]},{"1329135866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135883, 1329135841, 1329135838, 1329135849, 1329135878, 1329135866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54501032829285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:12:42.430624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_56_2643.jpg', '/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_23_3659.jpg', '/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_26_2642.jpg', '/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_29_2853.jpg', '/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_32_3611.jpg', '/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_35_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/19/image_15012025_08_19_56_2643.jpg
/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_23_3659.jpg
/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_26_2642.jpg
/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_29_2853.jpg
/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_32_3611.jpg
/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_35_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329135923","1329135910","1329135927","1329135921","1329135896","1329135900"],"photo_ids_order":["1329135896","1329135900","1329135910","1329135921","1329135923","1329135927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/90ec0ab446977a5843135ca5c134224f.jpg","text":"TemporaryFile(/tmp/multipartBody5272205974023039114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946823132,"filename":"image_15012025_08_20_32_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ece1c451f74f009dbe078251a0d6591b.jpg","text":"TemporaryFile(/tmp/multipartBody3101977246565769876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946823132,"filename":"image_15012025_08_20_26_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3bcac3c5e3cb2be4794c1e97343d8de8.jpg","text":"TemporaryFile(/tmp/multipartBody7783376898630403598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946823132,"filename":"image_15012025_08_20_35_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b654e8001326d8ca10e13fbd2fe26f24.jpg","text":"TemporaryFile(/tmp/multipartBody8420264153254634052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946823132,"filename":"image_15012025_08_20_29_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52be7dc2bb69cd8170438eaabb80ecfe.jpg","text":"TemporaryFile(/tmp/multipartBody729234851988957188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946823132,"filename":"image_15012025_08_19_56_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e2c3c25b6b5144291944803fc7dd0b1.jpg","text":"TemporaryFile(/tmp/multipartBody6320190390331075111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946823132,"filename":"image_15012025_08_20_23_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135910","file1":"1329135900","file0":"1329135896","file4":"1329135923","file5":"1329135927","file3":"1329135921"},"map_files_photo_id_array":[{"photo_id":"1329135927","filename":"file5"},{"photo_id":"1329135910","filename":"file2"},{"photo_id":"1329135923","filename":"file4"},{"photo_id":"1329135900","filename":"file1"},{"photo_id":"1329135896","filename":"file0"},{"photo_id":"1329135921","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329135923":["hashtag1","hashtag2"]},{"1329135910":["hashtag1","hashtag2"]},{"1329135927":["hashtag1","hashtag2"]},{"1329135921":["hashtag1","hashtag2"]},{"1329135896":["hashtag1","hashtag2"]},{"1329135900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329135923, 1329135910, 1329135927, 1329135921, 1329135896, 1329135900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42362999916077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:13:21.923345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_38_2655.jpg', '/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_41_2887.jpg', '/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_44_3690.jpg', '/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_50_3553.jpg', '/home/pi/Desktop/images/15012025/08/21/image_15012025_08_21_05_3571.jpg', '/home/pi/Desktop/images/15012025/08/26/image_15012025_08_26_22_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_38_2655.jpg
/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_41_2887.jpg
/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_44_3690.jpg
/home/pi/Desktop/images/15012025/08/20/image_15012025_08_20_50_3553.jpg
/home/pi/Desktop/images/15012025/08/21/image_15012025_08_21_05_3571.jpg
/home/pi/Desktop/images/15012025/08/26/image_15012025_08_26_22_2558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136033","1329135931","1329135981","1329136029","1329136040","1329135935"],"photo_ids_order":["1329135931","1329135935","1329135981","1329136029","1329136033","1329136040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/963f899c8867e7e1878660dfc04c1da5.jpg","text":"TemporaryFile(/tmp/multipartBody4050567550055957068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946862604,"filename":"image_15012025_08_21_05_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/103d0afc6dbf3e1a71af9ed436afaa55.jpg","text":"TemporaryFile(/tmp/multipartBody8545226956830789445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946862604,"filename":"image_15012025_08_20_38_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab81c17a3a15c57d6d4185e9aa5cc423.jpg","text":"TemporaryFile(/tmp/multipartBody5921254555725144438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946862604,"filename":"image_15012025_08_20_44_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36049d37a2961d0a661bca4c9bc0f0e9.jpg","text":"TemporaryFile(/tmp/multipartBody8035821439786952986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946862604,"filename":"image_15012025_08_20_50_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/953c691129dba04f17d4632dbac62bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6745192066277633948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946862604,"filename":"image_15012025_08_26_22_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92bb5c1d576592a8ce99fa3cb4708407.jpg","text":"TemporaryFile(/tmp/multipartBody4213524632781106347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946862604,"filename":"image_15012025_08_20_41_2887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329135981","file1":"1329135935","file0":"1329135931","file4":"1329136033","file5":"1329136040","file3":"1329136029"},"map_files_photo_id_array":[{"photo_id":"1329136040","filename":"file5"},{"photo_id":"1329135981","filename":"file2"},{"photo_id":"1329136033","filename":"file4"},{"photo_id":"1329135935","filename":"file1"},{"photo_id":"1329135931","filename":"file0"},{"photo_id":"1329136029","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136033":["hashtag1","hashtag2"]},{"1329135931":["hashtag1","hashtag2"]},{"1329135981":["hashtag1","hashtag2"]},{"1329136029":["hashtag1","hashtag2"]},{"1329136040":["hashtag1","hashtag2"]},{"1329135935":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136033, 1329135931, 1329135981, 1329136029, 1329136040, 1329135935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13243794441223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:14:03.073145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/26/image_15012025_08_26_47_2827.jpg', '/home/pi/Desktop/images/15012025/08/27/image_15012025_08_27_47_2717.jpg', '/home/pi/Desktop/images/15012025/08/27/image_15012025_08_27_58_2621.jpg', '/home/pi/Desktop/images/15012025/08/29/image_15012025_08_29_25_2582.jpg', '/home/pi/Desktop/images/15012025/08/29/image_15012025_08_29_28_2654.jpg', '/home/pi/Desktop/images/15012025/08/29/image_15012025_08_29_32_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/26/image_15012025_08_26_47_2827.jpg
/home/pi/Desktop/images/15012025/08/27/image_15012025_08_27_47_2717.jpg
/home/pi/Desktop/images/15012025/08/27/image_15012025_08_27_58_2621.jpg
/home/pi/Desktop/images/15012025/08/29/image_15012025_08_29_25_2582.jpg
/home/pi/Desktop/images/15012025/08/29/image_15012025_08_29_28_2654.jpg
/home/pi/Desktop/images/15012025/08/29/image_15012025_08_29_32_3690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136060","1329136054","1329136063","1329136065","1329136059","1329136056"],"photo_ids_order":["1329136054","1329136056","1329136059","1329136060","1329136063","1329136065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f6d6d7b6e929a79f1a13b7bdda09ef2.jpg","text":"TemporaryFile(/tmp/multipartBody5784923541787243812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946903875,"filename":"image_15012025_08_29_25_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a30274c729bc60dbb3bf9add59dda65.jpg","text":"TemporaryFile(/tmp/multipartBody8266292056010450643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946903875,"filename":"image_15012025_08_26_47_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eaaca0eb0a478ed3610d3a7c9c85e258.jpg","text":"TemporaryFile(/tmp/multipartBody5512375679278020496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946903875,"filename":"image_15012025_08_29_28_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31aa3e481bc808073fda743a653f8885.jpg","text":"TemporaryFile(/tmp/multipartBody6335410732285108638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946903875,"filename":"image_15012025_08_29_32_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a8a0fa206ba0b0cfc027e25932ff8dca.jpg","text":"TemporaryFile(/tmp/multipartBody2462464449667308155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946903875,"filename":"image_15012025_08_27_58_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/93a9c8d614f975d3ed11f9af37fa4876.jpg","text":"TemporaryFile(/tmp/multipartBody5440828383742335974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946903875,"filename":"image_15012025_08_27_47_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329136059","file1":"1329136056","file0":"1329136054","file4":"1329136063","file5":"1329136065","file3":"1329136060"},"map_files_photo_id_array":[{"photo_id":"1329136065","filename":"file5"},{"photo_id":"1329136059","filename":"file2"},{"photo_id":"1329136063","filename":"file4"},{"photo_id":"1329136056","filename":"file1"},{"photo_id":"1329136054","filename":"file0"},{"photo_id":"1329136060","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136060":["hashtag1","hashtag2"]},{"1329136054":["hashtag1","hashtag2"]},{"1329136063":["hashtag1","hashtag2"]},{"1329136065":["hashtag1","hashtag2"]},{"1329136059":["hashtag1","hashtag2"]},{"1329136056":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136060, 1329136054, 1329136063, 1329136065, 1329136059, 1329136056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14534091949463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:14:42.242009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/36/image_15012025_08_36_06_2649.jpg', '/home/pi/Desktop/images/15012025/08/37/image_15012025_08_37_23_2617.jpg', '/home/pi/Desktop/images/15012025/08/40/image_15012025_08_40_08_3546.jpg', '/home/pi/Desktop/images/15012025/08/43/image_15012025_08_43_17_3618.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_04_2934.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_20_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/36/image_15012025_08_36_06_2649.jpg
/home/pi/Desktop/images/15012025/08/37/image_15012025_08_37_23_2617.jpg
/home/pi/Desktop/images/15012025/08/40/image_15012025_08_40_08_3546.jpg
/home/pi/Desktop/images/15012025/08/43/image_15012025_08_43_17_3618.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_04_2934.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_20_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136102","1329136080","1329136107","1329136110","1329136097","1329136093"],"photo_ids_order":["1329136080","1329136093","1329136097","1329136102","1329136107","1329136110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5274b9e1e965ec8250a3ac24c592f5c.jpg","text":"TemporaryFile(/tmp/multipartBody392951653664451890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946943013,"filename":"image_15012025_08_43_17_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a76d9752ddb1259ebed1db2d6ea99173.jpg","text":"TemporaryFile(/tmp/multipartBody1201003218606688092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946943013,"filename":"image_15012025_08_36_06_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8bf5d6006767e0ac785b583b7fc0b2c8.jpg","text":"TemporaryFile(/tmp/multipartBody6689114720872114457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946943013,"filename":"image_15012025_08_45_04_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/04ebe47a1e433c852c9fa7697b4e572e.jpg","text":"TemporaryFile(/tmp/multipartBody8329351093800251594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946943013,"filename":"image_15012025_08_45_20_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33779d15ca1a06da77e42c00c807ebd9.jpg","text":"TemporaryFile(/tmp/multipartBody6941660018048021767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946943013,"filename":"image_15012025_08_40_08_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0bf6acdb127ee6565d3aa60ef8e697a4.jpg","text":"TemporaryFile(/tmp/multipartBody6488921581851926517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946943013,"filename":"image_15012025_08_37_23_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329136097","file1":"1329136093","file0":"1329136080","file4":"1329136107","file5":"1329136110","file3":"1329136102"},"map_files_photo_id_array":[{"photo_id":"1329136110","filename":"file5"},{"photo_id":"1329136097","filename":"file2"},{"photo_id":"1329136107","filename":"file4"},{"photo_id":"1329136093","filename":"file1"},{"photo_id":"1329136080","filename":"file0"},{"photo_id":"1329136102","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136102":["hashtag1","hashtag2"]},{"1329136080":["hashtag1","hashtag2"]},{"1329136107":["hashtag1","hashtag2"]},{"1329136110":["hashtag1","hashtag2"]},{"1329136097":["hashtag1","hashtag2"]},{"1329136093":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136102, 1329136080, 1329136107, 1329136110, 1329136097, 1329136093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69656562805176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:15:22.222266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_23_3264.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_26_2661.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_28_2518.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_32_3603.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_34_2528.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_38_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_23_3264.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_26_2661.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_28_2518.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_32_3603.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_34_2528.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_38_3639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136129","1329136120","1329136137","1329136142","1329136118","1329136115"],"photo_ids_order":["1329136115","1329136118","1329136120","1329136129","1329136137","1329136142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4271a47503c7166c4902135f0279833.jpg","text":"TemporaryFile(/tmp/multipartBody7681725129917606964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946982924,"filename":"image_15012025_08_45_32_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16ccc539b180c79f701d8fbffd40b48b.jpg","text":"TemporaryFile(/tmp/multipartBody6001234008115692091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946982924,"filename":"image_15012025_08_45_28_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3aa06b695b67810b6ba8e4b1863bb1ea.jpg","text":"TemporaryFile(/tmp/multipartBody6018242491539575845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946982924,"filename":"image_15012025_08_45_34_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0b9a59a1fbc3d7762202f2af06a4ec29.jpg","text":"TemporaryFile(/tmp/multipartBody5534370414712462028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946982924,"filename":"image_15012025_08_45_38_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10db83656d6f98d6bb8e40c518bd8e90.jpg","text":"TemporaryFile(/tmp/multipartBody8186866642409540390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946982924,"filename":"image_15012025_08_45_26_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64390f69f653440079a5feeaa3e4e68c.jpg","text":"TemporaryFile(/tmp/multipartBody508599379384518479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736946982924,"filename":"image_15012025_08_45_23_3264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329136120","file1":"1329136118","file0":"1329136115","file4":"1329136137","file5":"1329136142","file3":"1329136129"},"map_files_photo_id_array":[{"photo_id":"1329136142","filename":"file5"},{"photo_id":"1329136120","filename":"file2"},{"photo_id":"1329136137","filename":"file4"},{"photo_id":"1329136118","filename":"file1"},{"photo_id":"1329136115","filename":"file0"},{"photo_id":"1329136129","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136129":["hashtag1","hashtag2"]},{"1329136120":["hashtag1","hashtag2"]},{"1329136137":["hashtag1","hashtag2"]},{"1329136142":["hashtag1","hashtag2"]},{"1329136118":["hashtag1","hashtag2"]},{"1329136115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136129, 1329136120, 1329136137, 1329136142, 1329136118, 1329136115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85627269744873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:16:03.194706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_41_2576.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_43_2763.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_52_2880.jpg', '/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_59_3622.jpg', '/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_02_2775.jpg', '/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_04_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_41_2576.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_43_2763.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_52_2880.jpg
/home/pi/Desktop/images/15012025/08/45/image_15012025_08_45_59_3622.jpg
/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_02_2775.jpg
/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_04_2545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136162","1329136176","1329136155","1329136187","1329136169","1329136171"],"photo_ids_order":["1329136155","1329136162","1329136169","1329136171","1329136176","1329136187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c5a6717f86a1ebb512486ac8fd51a61b.jpg","text":"TemporaryFile(/tmp/multipartBody2259162691367578169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947023959,"filename":"image_15012025_08_45_43_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/75f33d7c4cfab8d331a3f8becf7f8b04.jpg","text":"TemporaryFile(/tmp/multipartBody8672131450675225502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947023959,"filename":"image_15012025_08_46_02_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de03d8497f046ad55cbd5809fadb67ba.jpg","text":"TemporaryFile(/tmp/multipartBody1535353042774521730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947023959,"filename":"image_15012025_08_45_41_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7c45b4f6cd1d3ed9639807dfcf648ed.jpg","text":"TemporaryFile(/tmp/multipartBody1649187959115247506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947023959,"filename":"image_15012025_08_46_04_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c627aaccbe22c42c9d9d74cf0da0e54.jpg","text":"TemporaryFile(/tmp/multipartBody1169311358536778066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947023959,"filename":"image_15012025_08_45_52_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/abdae2641d174242adde0466e5d070f3.jpg","text":"TemporaryFile(/tmp/multipartBody3569241775279682240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947023959,"filename":"image_15012025_08_45_59_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329136169","file1":"1329136162","file0":"1329136155","file4":"1329136176","file5":"1329136187","file3":"1329136171"},"map_files_photo_id_array":[{"photo_id":"1329136187","filename":"file5"},{"photo_id":"1329136169","filename":"file2"},{"photo_id":"1329136176","filename":"file4"},{"photo_id":"1329136162","filename":"file1"},{"photo_id":"1329136155","filename":"file0"},{"photo_id":"1329136171","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136162":["hashtag1","hashtag2"]},{"1329136176":["hashtag1","hashtag2"]},{"1329136155":["hashtag1","hashtag2"]},{"1329136187":["hashtag1","hashtag2"]},{"1329136169":["hashtag1","hashtag2"]},{"1329136171":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136162, 1329136176, 1329136155, 1329136187, 1329136169, 1329136171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.068923234939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:16:42.711573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_28_2715.jpg', '/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_37_2704.jpg', '/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_47_3625.jpg', '/home/pi/Desktop/images/15012025/08/47/image_15012025_08_47_23_3730.jpg', '/home/pi/Desktop/images/15012025/08/47/image_15012025_08_47_55_2558.jpg', '/home/pi/Desktop/images/15012025/08/47/image_15012025_08_47_58_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_28_2715.jpg
/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_37_2704.jpg
/home/pi/Desktop/images/15012025/08/46/image_15012025_08_46_47_3625.jpg
/home/pi/Desktop/images/15012025/08/47/image_15012025_08_47_23_3730.jpg
/home/pi/Desktop/images/15012025/08/47/image_15012025_08_47_55_2558.jpg
/home/pi/Desktop/images/15012025/08/47/image_15012025_08_47_58_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136222","1329136201","1329136219","1329136210","1329136206","1329136214"],"photo_ids_order":["1329136201","1329136206","1329136210","1329136214","1329136219","1329136222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4478f55f018c1ed32e5adbe4a3d5b504.jpg","text":"TemporaryFile(/tmp/multipartBody8454075549881697888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947063577,"filename":"image_15012025_08_47_58_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88d1c68f8bcaf0fe3e8bed87a5761be5.jpg","text":"TemporaryFile(/tmp/multipartBody8992631896678870824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947063577,"filename":"image_15012025_08_46_28_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/01d9b6d68886df3d449f71b51dd061b3.jpg","text":"TemporaryFile(/tmp/multipartBody7008210415255840995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947063577,"filename":"image_15012025_08_47_55_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3805f5a0aa611b7e936d6b6200028482.jpg","text":"TemporaryFile(/tmp/multipartBody4734059483271510794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947063577,"filename":"image_15012025_08_46_47_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d340d6f57adc943f4abc700844f5cb9.jpg","text":"TemporaryFile(/tmp/multipartBody4373081049219659244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947063577,"filename":"image_15012025_08_46_37_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2ed5d1e1b3ae468eee02abbafcc625f.jpg","text":"TemporaryFile(/tmp/multipartBody2892668896833110592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947063577,"filename":"image_15012025_08_47_23_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329136210","file1":"1329136206","file0":"1329136201","file4":"1329136219","file5":"1329136222","file3":"1329136214"},"map_files_photo_id_array":[{"photo_id":"1329136222","filename":"file5"},{"photo_id":"1329136210","filename":"file2"},{"photo_id":"1329136219","filename":"file4"},{"photo_id":"1329136206","filename":"file1"},{"photo_id":"1329136201","filename":"file0"},{"photo_id":"1329136214","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136222":["hashtag1","hashtag2"]},{"1329136201":["hashtag1","hashtag2"]},{"1329136219":["hashtag1","hashtag2"]},{"1329136210":["hashtag1","hashtag2"]},{"1329136206":["hashtag1","hashtag2"]},{"1329136214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136222, 1329136201, 1329136219, 1329136210, 1329136206, 1329136214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.046098470687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:17:22.087773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_01_2573.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_05_3769.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_10_2694.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_13_2890.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_17_3690.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_19_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_01_2573.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_05_3769.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_10_2694.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_13_2890.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_17_3690.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_19_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136309","1329136296","1329136268","1329136325","1329136304","1329136301"],"photo_ids_order":["1329136268","1329136296","1329136301","1329136304","1329136309","1329136325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8af07912eb5923d7e080191a19086294.jpg","text":"TemporaryFile(/tmp/multipartBody263543523504823466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947102762,"filename":"image_15012025_08_48_17_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1f7ecfc6a0a94f7138aff32a75c351f5.jpg","text":"TemporaryFile(/tmp/multipartBody2536538161402423648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947102762,"filename":"image_15012025_08_48_05_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ed8608032064436e9e74a3d5a95eb1de.jpg","text":"TemporaryFile(/tmp/multipartBody867983579555504282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947102762,"filename":"image_15012025_08_48_01_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f1398bc915a4bb73f4da0870f6863a79.jpg","text":"TemporaryFile(/tmp/multipartBody6404801500636708650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947102762,"filename":"image_15012025_08_48_19_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ae1e439d87b2ab2cf3c1c7a2b65e753d.jpg","text":"TemporaryFile(/tmp/multipartBody7955059919236553282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947102762,"filename":"image_15012025_08_48_13_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/439514e1e409ef931479a4921b59f6d7.jpg","text":"TemporaryFile(/tmp/multipartBody6286794948005474105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947102762,"filename":"image_15012025_08_48_10_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329136301","file1":"1329136296","file0":"1329136268","file4":"1329136309","file5":"1329136325","file3":"1329136304"},"map_files_photo_id_array":[{"photo_id":"1329136325","filename":"file5"},{"photo_id":"1329136301","filename":"file2"},{"photo_id":"1329136309","filename":"file4"},{"photo_id":"1329136296","filename":"file1"},{"photo_id":"1329136268","filename":"file0"},{"photo_id":"1329136304","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136309":["hashtag1","hashtag2"]},{"1329136296":["hashtag1","hashtag2"]},{"1329136268":["hashtag1","hashtag2"]},{"1329136325":["hashtag1","hashtag2"]},{"1329136304":["hashtag1","hashtag2"]},{"1329136301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136309, 1329136296, 1329136268, 1329136325, 1329136304, 1329136301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1029417514801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:18:03.166166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_22_2636.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_26_3689.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_28_2724.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_31_2691.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_35_3719.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_37_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_22_2636.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_26_3689.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_28_2724.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_31_2691.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_35_3719.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_37_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136389","1329136370","1329136373","1329136403","1329136381","1329136384"],"photo_ids_order":["1329136370","1329136373","1329136381","1329136384","1329136389","1329136403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2af28bcb8421dd0291970d0675fa9085.jpg","text":"TemporaryFile(/tmp/multipartBody2068782054421730322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947143910,"filename":"image_15012025_08_48_35_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bdb653d38d61cad41598a10a783cfb2c.jpg","text":"TemporaryFile(/tmp/multipartBody4759189618264154019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947143910,"filename":"image_15012025_08_48_22_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7be0c8f730f851f1f3fb00657b74714a.jpg","text":"TemporaryFile(/tmp/multipartBody8437438580669217711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947143910,"filename":"image_15012025_08_48_26_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7605957f3d10dd41dd7a524d2beb1062.jpg","text":"TemporaryFile(/tmp/multipartBody7191502071747123471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947143910,"filename":"image_15012025_08_48_37_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1a4dc36ad46cf92b4ec56dd3ce41152b.jpg","text":"TemporaryFile(/tmp/multipartBody538160132395341550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947143910,"filename":"image_15012025_08_48_28_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16678f66397fde8d95397d01d1b2f1c7.jpg","text":"TemporaryFile(/tmp/multipartBody2434182640720784481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947143910,"filename":"image_15012025_08_48_31_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329136381","file1":"1329136373","file0":"1329136370","file4":"1329136389","file5":"1329136403","file3":"1329136384"},"map_files_photo_id_array":[{"photo_id":"1329136403","filename":"file5"},{"photo_id":"1329136381","filename":"file2"},{"photo_id":"1329136389","filename":"file4"},{"photo_id":"1329136373","filename":"file1"},{"photo_id":"1329136370","filename":"file0"},{"photo_id":"1329136384","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136389":["hashtag1","hashtag2"]},{"1329136370":["hashtag1","hashtag2"]},{"1329136373":["hashtag1","hashtag2"]},{"1329136403":["hashtag1","hashtag2"]},{"1329136381":["hashtag1","hashtag2"]},{"1329136384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136389, 1329136370, 1329136373, 1329136403, 1329136381, 1329136384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42731428146362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:18:42.649708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_40_2668.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_44_3671.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_46_2600.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_52_3636.jpg', '/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_58_2695.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_02_3754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_40_2668.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_44_3671.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_46_2600.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_52_3636.jpg
/home/pi/Desktop/images/15012025/08/48/image_15012025_08_48_58_2695.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_02_3754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136446","1329136431","1329136434","1329136427","1329136436","1329136424"],"photo_ids_order":["1329136424","1329136427","1329136431","1329136434","1329136436","1329136446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c381b729975ffa02f5c66da6a2d57a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5050564641812495429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947183321,"filename":"image_15012025_08_49_02_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/32a13cd0dae0bfdd0c4f8b383ebb5b88.jpg","text":"TemporaryFile(/tmp/multipartBody1465490046856426488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947183321,"filename":"image_15012025_08_48_46_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/438173c578bd71ea9a47940697c9f11d.jpg","text":"TemporaryFile(/tmp/multipartBody3855548554490540506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947183321,"filename":"image_15012025_08_48_52_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/958ba289c2530dbb7ab9664774f3bf7f.jpg","text":"TemporaryFile(/tmp/multipartBody2505420428807357099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947183321,"filename":"image_15012025_08_48_44_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a3dfc6959208d1158bfe656aebd77e87.jpg","text":"TemporaryFile(/tmp/multipartBody895175102889812792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947183321,"filename":"image_15012025_08_48_58_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c26ef11c3c0ffca6580ef4c82769c1c2.jpg","text":"TemporaryFile(/tmp/multipartBody6604034395630017658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947183321,"filename":"image_15012025_08_48_40_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329136431","file1":"1329136427","file0":"1329136424","file4":"1329136436","file5":"1329136446","file3":"1329136434"},"map_files_photo_id_array":[{"photo_id":"1329136446","filename":"file5"},{"photo_id":"1329136431","filename":"file2"},{"photo_id":"1329136436","filename":"file4"},{"photo_id":"1329136427","filename":"file1"},{"photo_id":"1329136424","filename":"file0"},{"photo_id":"1329136434","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136446":["hashtag1","hashtag2"]},{"1329136431":["hashtag1","hashtag2"]},{"1329136434":["hashtag1","hashtag2"]},{"1329136427":["hashtag1","hashtag2"]},{"1329136436":["hashtag1","hashtag2"]},{"1329136424":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136446, 1329136431, 1329136434, 1329136427, 1329136436, 1329136424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13696599006653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:19:22.075504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_04_2655.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_07_2609.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_10_3651.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_13_2566.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_16_2696.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_19_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_04_2655.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_07_2609.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_10_3651.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_13_2566.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_16_2696.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_19_3536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329136837","1329137112","1329136911","1329136748","1329137575","1329137410"],"photo_ids_order":["1329136748","1329136837","1329136911","1329137112","1329137410","1329137575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/409307b447388d0a6b662331a8beba04.jpg","text":"TemporaryFile(/tmp/multipartBody4378561509765992473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947222748,"filename":"image_15012025_08_49_07_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5eb798a001799d1f59f406ef2aea4934.jpg","text":"TemporaryFile(/tmp/multipartBody7022950835657280290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947222748,"filename":"image_15012025_08_49_13_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ce1d8fa746a75ea41e7c16ed21b0e65.jpg","text":"TemporaryFile(/tmp/multipartBody1143493764113867259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947222748,"filename":"image_15012025_08_49_10_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad91aa165b70e5d3162ec0e8953e8201.jpg","text":"TemporaryFile(/tmp/multipartBody779934980182647226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947222748,"filename":"image_15012025_08_49_04_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1df6dd154c415d3eb041a8e0ac604553.jpg","text":"TemporaryFile(/tmp/multipartBody4611260841440149831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947222748,"filename":"image_15012025_08_49_19_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ed270f747a3133cb221c2f849629931.jpg","text":"TemporaryFile(/tmp/multipartBody4642249526865758661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947222748,"filename":"image_15012025_08_49_16_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329136911","file1":"1329136837","file0":"1329136748","file4":"1329137410","file5":"1329137575","file3":"1329137112"},"map_files_photo_id_array":[{"photo_id":"1329137575","filename":"file5"},{"photo_id":"1329136911","filename":"file2"},{"photo_id":"1329137410","filename":"file4"},{"photo_id":"1329136837","filename":"file1"},{"photo_id":"1329136748","filename":"file0"},{"photo_id":"1329137112","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329136837":["hashtag1","hashtag2"]},{"1329137112":["hashtag1","hashtag2"]},{"1329136911":["hashtag1","hashtag2"]},{"1329136748":["hashtag1","hashtag2"]},{"1329137575":["hashtag1","hashtag2"]},{"1329137410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329136837, 1329137112, 1329136911, 1329136748, 1329137575, 1329137410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00654649734497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:20:02.906868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_22_2534.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_25_3637.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_28_2725.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_31_2748.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_35_3604.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_38_3004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_22_2534.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_25_3637.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_28_2725.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_31_2748.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_35_3604.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_38_3004.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329137803","1329137817","1329137826","1329137811","1329137807","1329137821"],"photo_ids_order":["1329137803","1329137807","1329137811","1329137817","1329137821","1329137826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c193a7c08f78ae087605bc3b8d348fe.jpg","text":"TemporaryFile(/tmp/multipartBody3081382820196267601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947263671,"filename":"image_15012025_08_49_22_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e7dd4185287069f1b603f1a7ee22925.jpg","text":"TemporaryFile(/tmp/multipartBody4899867665475674297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947263671,"filename":"image_15012025_08_49_31_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7d76df75910d27cbec39c5e80af5bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1090321843763362438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947263671,"filename":"image_15012025_08_49_38_3004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ab677d9a82230544eb49839d5f74133.jpg","text":"TemporaryFile(/tmp/multipartBody1587831995281823559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947263671,"filename":"image_15012025_08_49_28_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d57be43dced2f51107cc319df0ef1a7.jpg","text":"TemporaryFile(/tmp/multipartBody2567432584431171022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947263671,"filename":"image_15012025_08_49_25_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/95fdffa933594b0a0aec54972d22d798.jpg","text":"TemporaryFile(/tmp/multipartBody166160657064704420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947263671,"filename":"image_15012025_08_49_35_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329137811","file1":"1329137807","file0":"1329137803","file4":"1329137821","file5":"1329137826","file3":"1329137817"},"map_files_photo_id_array":[{"photo_id":"1329137826","filename":"file5"},{"photo_id":"1329137811","filename":"file2"},{"photo_id":"1329137821","filename":"file4"},{"photo_id":"1329137807","filename":"file1"},{"photo_id":"1329137803","filename":"file0"},{"photo_id":"1329137817","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329137803":["hashtag1","hashtag2"]},{"1329137817":["hashtag1","hashtag2"]},{"1329137826":["hashtag1","hashtag2"]},{"1329137811":["hashtag1","hashtag2"]},{"1329137807":["hashtag1","hashtag2"]},{"1329137821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329137803, 1329137817, 1329137826, 1329137811, 1329137807, 1329137821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4987006187439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:20:42.262127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_40_2641.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_43_2746.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_46_3555.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_52_2884.jpg', '/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_55_2744.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_01_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_40_2641.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_43_2746.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_46_3555.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_52_2884.jpg
/home/pi/Desktop/images/15012025/08/49/image_15012025_08_49_55_2744.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_01_2792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329138275","1329138248","1329138206","1329138292","1329138203","1329138217"],"photo_ids_order":["1329138203","1329138206","1329138217","1329138248","1329138275","1329138292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d0defd5fd925afc3a050a0c1c199478.jpg","text":"TemporaryFile(/tmp/multipartBody5852793830608511666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947302941,"filename":"image_15012025_08_49_55_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5b16cd7185c64e6f2bcd1beda3d92b3.jpg","text":"TemporaryFile(/tmp/multipartBody881596758456231977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947302941,"filename":"image_15012025_08_49_52_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5fe1d6b880bfe384c175d5cb7a1c59a.jpg","text":"TemporaryFile(/tmp/multipartBody6974643861518579486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947302941,"filename":"image_15012025_08_49_43_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/94b3e9af1c2047b4b2d903c9ab4660b4.jpg","text":"TemporaryFile(/tmp/multipartBody4634449724437508125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947302941,"filename":"image_15012025_08_50_01_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0220a05ae8c1c48fa126ba91ffb2e09b.jpg","text":"TemporaryFile(/tmp/multipartBody97185584072612977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947302941,"filename":"image_15012025_08_49_40_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05ec40f0f30890ff3eba089bd1c2e5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1178785624599352601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947302941,"filename":"image_15012025_08_49_46_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329138217","file1":"1329138206","file0":"1329138203","file4":"1329138275","file5":"1329138292","file3":"1329138248"},"map_files_photo_id_array":[{"photo_id":"1329138292","filename":"file5"},{"photo_id":"1329138217","filename":"file2"},{"photo_id":"1329138275","filename":"file4"},{"photo_id":"1329138206","filename":"file1"},{"photo_id":"1329138203","filename":"file0"},{"photo_id":"1329138248","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329138275":["hashtag1","hashtag2"]},{"1329138248":["hashtag1","hashtag2"]},{"1329138206":["hashtag1","hashtag2"]},{"1329138292":["hashtag1","hashtag2"]},{"1329138203":["hashtag1","hashtag2"]},{"1329138217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329138275, 1329138248, 1329138206, 1329138292, 1329138203, 1329138217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78672003746033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:21:22.691688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_04_2786.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_08_3621.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_10_2608.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_13_2721.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_17_3722.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_22_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_04_2786.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_08_3621.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_10_2608.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_13_2721.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_17_3722.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_22_2523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329138471","1329138452","1329138461","1329138443","1329138448","1329138456"],"photo_ids_order":["1329138443","1329138448","1329138452","1329138456","1329138461","1329138471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f1355752af71c8bb99c67e8fba1978cd.jpg","text":"TemporaryFile(/tmp/multipartBody2307955146950952676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947343374,"filename":"image_15012025_08_50_22_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f0b80156beace2acd947ebb5e1f36ea4.jpg","text":"TemporaryFile(/tmp/multipartBody3146702107734164715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947343374,"filename":"image_15012025_08_50_10_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5fb98b6d7f97cf652d9072516cf90424.jpg","text":"TemporaryFile(/tmp/multipartBody2468838705264106922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947343374,"filename":"image_15012025_08_50_17_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cba8f24bbea9b03fbc4d37381a04846.jpg","text":"TemporaryFile(/tmp/multipartBody8453431026623037691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947343374,"filename":"image_15012025_08_50_04_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c3b38ea81c1e1b603de467693c1d524.jpg","text":"TemporaryFile(/tmp/multipartBody6500192756770188490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947343374,"filename":"image_15012025_08_50_08_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4f9a80b5e276eba51d413d3643910b0.jpg","text":"TemporaryFile(/tmp/multipartBody899887244418255947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947343374,"filename":"image_15012025_08_50_13_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329138452","file1":"1329138448","file0":"1329138443","file4":"1329138461","file5":"1329138471","file3":"1329138456"},"map_files_photo_id_array":[{"photo_id":"1329138471","filename":"file5"},{"photo_id":"1329138452","filename":"file2"},{"photo_id":"1329138461","filename":"file4"},{"photo_id":"1329138448","filename":"file1"},{"photo_id":"1329138443","filename":"file0"},{"photo_id":"1329138456","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329138471":["hashtag1","hashtag2"]},{"1329138452":["hashtag1","hashtag2"]},{"1329138461":["hashtag1","hashtag2"]},{"1329138443":["hashtag1","hashtag2"]},{"1329138448":["hashtag1","hashtag2"]},{"1329138456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329138471, 1329138452, 1329138461, 1329138443, 1329138448, 1329138456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.992887020111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:22:03.039938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_31_2588.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_34_3696.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_37_2671.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_40_2674.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_43_3538.jpg', '/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_49_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_31_2588.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_34_3696.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_37_2671.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_40_2674.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_43_3538.jpg
/home/pi/Desktop/images/15012025/08/50/image_15012025_08_50_49_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329138639","1329138710","1329138611","1329138512","1329138478","1329138561"],"photo_ids_order":["1329138478","1329138512","1329138561","1329138611","1329138639","1329138710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7389c600307d6babbb4a40e94076ee38.jpg","text":"TemporaryFile(/tmp/multipartBody2733091375487184058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947383807,"filename":"image_15012025_08_50_43_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6a3cbed324393b17741432e26103c3a7.jpg","text":"TemporaryFile(/tmp/multipartBody4011314909622709476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947383807,"filename":"image_15012025_08_50_49_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d2b5daeb2655f909ffab43d8ffd7d7f.jpg","text":"TemporaryFile(/tmp/multipartBody1038938232264464968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947383807,"filename":"image_15012025_08_50_40_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/db3ec47f9d36b9200587a10a0ed29e1e.jpg","text":"TemporaryFile(/tmp/multipartBody8194295610984992557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947383807,"filename":"image_15012025_08_50_34_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/79e3724f1a09f0258444dcafef0a94e0.jpg","text":"TemporaryFile(/tmp/multipartBody5104468689744701888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947383807,"filename":"image_15012025_08_50_31_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/53cb74b0000b2c2211e7705498c96c26.jpg","text":"TemporaryFile(/tmp/multipartBody5726233974093741202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947383807,"filename":"image_15012025_08_50_37_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329138561","file1":"1329138512","file0":"1329138478","file4":"1329138639","file5":"1329138710","file3":"1329138611"},"map_files_photo_id_array":[{"photo_id":"1329138710","filename":"file5"},{"photo_id":"1329138561","filename":"file2"},{"photo_id":"1329138639","filename":"file4"},{"photo_id":"1329138512","filename":"file1"},{"photo_id":"1329138478","filename":"file0"},{"photo_id":"1329138611","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329138639":["hashtag1","hashtag2"]},{"1329138710":["hashtag1","hashtag2"]},{"1329138611":["hashtag1","hashtag2"]},{"1329138512":["hashtag1","hashtag2"]},{"1329138478":["hashtag1","hashtag2"]},{"1329138561":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329138639, 1329138710, 1329138611, 1329138512, 1329138478, 1329138561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59562945365906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:22:42.567281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_10_3687.jpg', '/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_13_2677.jpg', '/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_16_2617.jpg', '/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_19_3681.jpg', '/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_22_2647.jpg', '/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_28_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_10_3687.jpg
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_13_2677.jpg
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_16_2617.jpg
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_19_3681.jpg
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_22_2647.jpg
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_28_3716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329138777","1329138779","1329138749","1329138763","1329138783","1329138774"],"photo_ids_order":["1329138749","1329138763","1329138774","1329138777","1329138779","1329138783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/91bbd00f59adc6c415e9ca43a11bba7c.jpg","text":"TemporaryFile(/tmp/multipartBody5892794575056324881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947423265,"filename":"image_15012025_08_51_19_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d073cd6f11d115894ca36a1c24454c88.jpg","text":"TemporaryFile(/tmp/multipartBody9004074446441981098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947423265,"filename":"image_15012025_08_51_22_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02367aeaa258f36ca49dfc454e683a06.jpg","text":"TemporaryFile(/tmp/multipartBody343182740380995789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947423265,"filename":"image_15012025_08_51_10_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6739947661e9bd06bad7cf29188a6951.jpg","text":"TemporaryFile(/tmp/multipartBody5114106450995493615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947423265,"filename":"image_15012025_08_51_13_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dfd18a33566ffe7b81297447122b2b97.jpg","text":"TemporaryFile(/tmp/multipartBody4473487765101607544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947423265,"filename":"image_15012025_08_51_28_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/237d95960322b1f1b67f54083b3a3186.jpg","text":"TemporaryFile(/tmp/multipartBody8034823212613673491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947423265,"filename":"image_15012025_08_51_16_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329138774","file1":"1329138763","file0":"1329138749","file4":"1329138779","file5":"1329138783","file3":"1329138777"},"map_files_photo_id_array":[{"photo_id":"1329138783","filename":"file5"},{"photo_id":"1329138774","filename":"file2"},{"photo_id":"1329138779","filename":"file4"},{"photo_id":"1329138763","filename":"file1"},{"photo_id":"1329138749","filename":"file0"},{"photo_id":"1329138777","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329138777":["hashtag1","hashtag2"]},{"1329138779":["hashtag1","hashtag2"]},{"1329138749":["hashtag1","hashtag2"]},{"1329138763":["hashtag1","hashtag2"]},{"1329138783":["hashtag1","hashtag2"]},{"1329138774":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329138777, 1329138779, 1329138749, 1329138763, 1329138783, 1329138774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87634229660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:23:21.968693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_31_2616.jpg', '/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_34_2817.jpg', '/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_37_2791.jpg', '/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_46_3558.jpg', '/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_55_3566.jpg', '/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_13_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_31_2616.jpg
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_34_2817.jpg
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_37_2791.jpg
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_46_3558.jpg
/home/pi/Desktop/images/15012025/08/51/image_15012025_08_51_55_3566.jpg
/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_13_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329138992","1329138839","1329139186","1329138923","1329139095","1329139161"],"photo_ids_order":["1329138839","1329138923","1329138992","1329139095","1329139161","1329139186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c0a5985759f4b9e0a8b0837a3a975cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2368421975616282203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947462637,"filename":"image_15012025_08_51_37_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/95c720f98348e688759f2ae140bdea6f.jpg","text":"TemporaryFile(/tmp/multipartBody5311276318843964711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947462637,"filename":"image_15012025_08_51_31_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73c2b775c8aa8bf9233b5ec513781453.jpg","text":"TemporaryFile(/tmp/multipartBody1239924737955633713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947462637,"filename":"image_15012025_08_52_13_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c83c1f75038e31a073421e7881093f09.jpg","text":"TemporaryFile(/tmp/multipartBody5695734156530052076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947462637,"filename":"image_15012025_08_51_34_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ae99b35d09febfe6109e30eb7fa2e4c2.jpg","text":"TemporaryFile(/tmp/multipartBody7735872726646779961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947462637,"filename":"image_15012025_08_51_46_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d2ef91658253fcc746b46a372973037.jpg","text":"TemporaryFile(/tmp/multipartBody6996926061068681475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947462637,"filename":"image_15012025_08_51_55_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329138992","file1":"1329138923","file0":"1329138839","file4":"1329139161","file5":"1329139186","file3":"1329139095"},"map_files_photo_id_array":[{"photo_id":"1329139186","filename":"file5"},{"photo_id":"1329138992","filename":"file2"},{"photo_id":"1329139161","filename":"file4"},{"photo_id":"1329138923","filename":"file1"},{"photo_id":"1329138839","filename":"file0"},{"photo_id":"1329139095","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329138992":["hashtag1","hashtag2"]},{"1329138839":["hashtag1","hashtag2"]},{"1329139186":["hashtag1","hashtag2"]},{"1329138923":["hashtag1","hashtag2"]},{"1329139095":["hashtag1","hashtag2"]},{"1329139161":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329138992, 1329138839, 1329139186, 1329138923, 1329139095, 1329139161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33078980445862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:24:03.210764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_18_2753.jpg', '/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_31_2547.jpg', '/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_37_2676.jpg', '/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_46_2719.jpg', '/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_49_2590.jpg', '/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_10_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_18_2753.jpg
/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_31_2547.jpg
/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_37_2676.jpg
/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_46_2719.jpg
/home/pi/Desktop/images/15012025/08/52/image_15012025_08_52_49_2590.jpg
/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_10_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329139369","1329139360","1329139354","1329139398","1329139356","1329139350"],"photo_ids_order":["1329139350","1329139354","1329139356","1329139360","1329139369","1329139398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38c6bb64acb099b604516ba302568c44.jpg","text":"TemporaryFile(/tmp/multipartBody6325717565885843144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947503999,"filename":"image_15012025_08_52_49_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/926a319d9bd098911d0897049fd1574b.jpg","text":"TemporaryFile(/tmp/multipartBody6457733126522410560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947503999,"filename":"image_15012025_08_52_46_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/46751f54078e67157d29c5d4873d545e.jpg","text":"TemporaryFile(/tmp/multipartBody2823927882137284411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947503999,"filename":"image_15012025_08_52_31_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0563b1d0a8ad8d06600707a1e8e141d8.jpg","text":"TemporaryFile(/tmp/multipartBody6067891528941879257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947503999,"filename":"image_15012025_08_53_10_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3551de424c147695a60ab10b5472f48.jpg","text":"TemporaryFile(/tmp/multipartBody1113343228758964657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947503999,"filename":"image_15012025_08_52_37_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/68e18de54ef259fc7f0e9912c2b4c6c8.jpg","text":"TemporaryFile(/tmp/multipartBody2098006865544077444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947503999,"filename":"image_15012025_08_52_18_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329139356","file1":"1329139354","file0":"1329139350","file4":"1329139369","file5":"1329139398","file3":"1329139360"},"map_files_photo_id_array":[{"photo_id":"1329139398","filename":"file5"},{"photo_id":"1329139356","filename":"file2"},{"photo_id":"1329139369","filename":"file4"},{"photo_id":"1329139354","filename":"file1"},{"photo_id":"1329139350","filename":"file0"},{"photo_id":"1329139360","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329139369":["hashtag1","hashtag2"]},{"1329139360":["hashtag1","hashtag2"]},{"1329139354":["hashtag1","hashtag2"]},{"1329139398":["hashtag1","hashtag2"]},{"1329139356":["hashtag1","hashtag2"]},{"1329139350":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329139369, 1329139360, 1329139354, 1329139398, 1329139356, 1329139350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09342336654663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:25:02.952626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_19_2769.jpg', '/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_21_2607.jpg', '/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_40_2644.jpg', '/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_57_2652.jpg', '/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_07_3560.jpg', '/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_16_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_19_2769.jpg
/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_21_2607.jpg
/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_40_2644.jpg
/home/pi/Desktop/images/15012025/08/53/image_15012025_08_53_57_2652.jpg
/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_07_3560.jpg
/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_16_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329139658","1329139643","1329139654","1329139576","1329139647","1329139641"],"photo_ids_order":["1329139576","1329139641","1329139643","1329139647","1329139654","1329139658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/333c69eb2eed408c9279dd3b3a5dcc1d.jpg","text":"TemporaryFile(/tmp/multipartBody5661990650389295334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947563720,"filename":"image_15012025_08_54_16_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b15dc20d372add49101801425ef12f82.jpg","text":"TemporaryFile(/tmp/multipartBody4425713719968397614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947563720,"filename":"image_15012025_08_53_40_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cfc5e5040bf21ca6be2a2f7e13947f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3567270738782665784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947563720,"filename":"image_15012025_08_54_07_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/338647ca98ce72fa3797cc4893359eb5.jpg","text":"TemporaryFile(/tmp/multipartBody1473814761297436900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947563720,"filename":"image_15012025_08_53_19_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9760ec000e63c91e5c8f10c7bbe8d0d6.jpg","text":"TemporaryFile(/tmp/multipartBody3170238916443710920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947563720,"filename":"image_15012025_08_53_57_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b99d0e3e58a03bc185b5a5116de73daf.jpg","text":"TemporaryFile(/tmp/multipartBody4585810430161416239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947563720,"filename":"image_15012025_08_53_21_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329139643","file1":"1329139641","file0":"1329139576","file4":"1329139654","file5":"1329139658","file3":"1329139647"},"map_files_photo_id_array":[{"photo_id":"1329139658","filename":"file5"},{"photo_id":"1329139643","filename":"file2"},{"photo_id":"1329139654","filename":"file4"},{"photo_id":"1329139641","filename":"file1"},{"photo_id":"1329139576","filename":"file0"},{"photo_id":"1329139647","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329139658":["hashtag1","hashtag2"]},{"1329139643":["hashtag1","hashtag2"]},{"1329139654":["hashtag1","hashtag2"]},{"1329139576":["hashtag1","hashtag2"]},{"1329139647":["hashtag1","hashtag2"]},{"1329139641":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329139658, 1329139643, 1329139654, 1329139576, 1329139647, 1329139641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.728694915771484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:26:02.447728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_25_2566.jpg', '/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_27_2612.jpg', '/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_31_3607.jpg', '/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_37_3598.jpg', '/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_54_2663.jpg', '/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_58_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_25_2566.jpg
/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_27_2612.jpg
/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_31_3607.jpg
/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_37_3598.jpg
/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_54_2663.jpg
/home/pi/Desktop/images/15012025/08/54/image_15012025_08_54_58_3767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329139858","1329139846","1329139855","1329139849","1329139842","1329139851"],"photo_ids_order":["1329139842","1329139846","1329139849","1329139851","1329139855","1329139858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/94e1bce9e4c517e91c898c8d253f1a0a.jpg","text":"TemporaryFile(/tmp/multipartBody5555991673409862145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947623179,"filename":"image_15012025_08_54_58_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec9371d55dff814d946de7ccf913da28.jpg","text":"TemporaryFile(/tmp/multipartBody3034698372089679620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947623179,"filename":"image_15012025_08_54_27_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be22304d9248c6eca21b9ab4a098537d.jpg","text":"TemporaryFile(/tmp/multipartBody4099854334041329124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947623179,"filename":"image_15012025_08_54_54_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d413ca289553c4f12aba57461221468.jpg","text":"TemporaryFile(/tmp/multipartBody5861310613696661063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947623179,"filename":"image_15012025_08_54_31_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21bc4e90125b1c1c9db2b76c0e4544ea.jpg","text":"TemporaryFile(/tmp/multipartBody5677273139597046235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947623179,"filename":"image_15012025_08_54_25_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44c09b1292f467f72586b1697e57556a.jpg","text":"TemporaryFile(/tmp/multipartBody8503202692826705384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947623179,"filename":"image_15012025_08_54_37_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329139849","file1":"1329139846","file0":"1329139842","file4":"1329139855","file5":"1329139858","file3":"1329139851"},"map_files_photo_id_array":[{"photo_id":"1329139858","filename":"file5"},{"photo_id":"1329139849","filename":"file2"},{"photo_id":"1329139855","filename":"file4"},{"photo_id":"1329139846","filename":"file1"},{"photo_id":"1329139842","filename":"file0"},{"photo_id":"1329139851","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329139858":["hashtag1","hashtag2"]},{"1329139846":["hashtag1","hashtag2"]},{"1329139855":["hashtag1","hashtag2"]},{"1329139849":["hashtag1","hashtag2"]},{"1329139842":["hashtag1","hashtag2"]},{"1329139851":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329139858, 1329139846, 1329139855, 1329139849, 1329139842, 1329139851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20830750465393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:27:03.121888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_01_2674.jpg', '/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_03_2616.jpg', '/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_10_2723.jpg', '/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_12_2705.jpg', '/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_15_2891.jpg', '/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_22_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_01_2674.jpg
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_03_2616.jpg
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_10_2723.jpg
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_12_2705.jpg
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_15_2891.jpg
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_22_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329139902","1329139904","1329139891","1329139900","1329139912","1329139898"],"photo_ids_order":["1329139891","1329139898","1329139900","1329139902","1329139904","1329139912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff94684fa07bd890d81a950ba0e777db.jpg","text":"TemporaryFile(/tmp/multipartBody2086206836838501884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947683904,"filename":"image_15012025_08_55_12_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2155411edc1464d64123f25e479a07e6.jpg","text":"TemporaryFile(/tmp/multipartBody8259329927334150269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947683904,"filename":"image_15012025_08_55_15_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c05a91c9871d1be44691b86a06e6513d.jpg","text":"TemporaryFile(/tmp/multipartBody7512472319544394456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947683904,"filename":"image_15012025_08_55_01_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33357fc31e30b7dcfa6cddc4831c4586.jpg","text":"TemporaryFile(/tmp/multipartBody631046077279899871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947683904,"filename":"image_15012025_08_55_10_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7483cd4202bc9f2b6303e127d05813eb.jpg","text":"TemporaryFile(/tmp/multipartBody1502109200832279829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947683904,"filename":"image_15012025_08_55_22_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/71d4b02bc270bd5a35e6af3e381c2f83.jpg","text":"TemporaryFile(/tmp/multipartBody1335472555210780203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947683904,"filename":"image_15012025_08_55_03_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329139900","file1":"1329139898","file0":"1329139891","file4":"1329139904","file5":"1329139912","file3":"1329139902"},"map_files_photo_id_array":[{"photo_id":"1329139912","filename":"file5"},{"photo_id":"1329139900","filename":"file2"},{"photo_id":"1329139904","filename":"file4"},{"photo_id":"1329139898","filename":"file1"},{"photo_id":"1329139891","filename":"file0"},{"photo_id":"1329139902","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329139902":["hashtag1","hashtag2"]},{"1329139904":["hashtag1","hashtag2"]},{"1329139891":["hashtag1","hashtag2"]},{"1329139900":["hashtag1","hashtag2"]},{"1329139912":["hashtag1","hashtag2"]},{"1329139898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329139902, 1329139904, 1329139891, 1329139900, 1329139912, 1329139898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7544310092926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:27:42.452232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_24_2554.jpg', '/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_28_3677.jpg', '/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_55_3838.jpg', '/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_58_2802.jpg', '/home/pi/Desktop/images/15012025/08/55/image_15012025_08_56_00_2597.jpg', '/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_04_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_24_2554.jpg
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_28_3677.jpg
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_55_3838.jpg
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_55_58_2802.jpg
/home/pi/Desktop/images/15012025/08/55/image_15012025_08_56_00_2597.jpg
/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_04_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329139943","1329139960","1329139968","1329139941","1329139953","1329139932"],"photo_ids_order":["1329139932","1329139941","1329139943","1329139953","1329139960","1329139968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8e9d741e3d33f143dd11bfbaa20e0b98.jpg","text":"TemporaryFile(/tmp/multipartBody5483510696730879337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947723154,"filename":"image_15012025_08_55_55_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e792597d0c607e34f6cbbf861fc03973.jpg","text":"TemporaryFile(/tmp/multipartBody5016429666035031750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947723154,"filename":"image_15012025_08_56_00_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/991c38f380f4424499053cc9171c7af5.jpg","text":"TemporaryFile(/tmp/multipartBody2246536487836327951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947723154,"filename":"image_15012025_08_56_04_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/846364da084e6b1c44c70fadeb3a704a.jpg","text":"TemporaryFile(/tmp/multipartBody1838447442695652121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947723154,"filename":"image_15012025_08_55_28_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bd612d04956407662908c2549049a8a8.jpg","text":"TemporaryFile(/tmp/multipartBody189397943470175621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947723154,"filename":"image_15012025_08_55_58_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00e540b01c3abcd9594522ec7b2a6f83.jpg","text":"TemporaryFile(/tmp/multipartBody474761077476247849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947723154,"filename":"image_15012025_08_55_24_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329139943","file1":"1329139941","file0":"1329139932","file4":"1329139960","file5":"1329139968","file3":"1329139953"},"map_files_photo_id_array":[{"photo_id":"1329139968","filename":"file5"},{"photo_id":"1329139943","filename":"file2"},{"photo_id":"1329139960","filename":"file4"},{"photo_id":"1329139941","filename":"file1"},{"photo_id":"1329139932","filename":"file0"},{"photo_id":"1329139953","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329139943":["hashtag1","hashtag2"]},{"1329139960":["hashtag1","hashtag2"]},{"1329139968":["hashtag1","hashtag2"]},{"1329139941":["hashtag1","hashtag2"]},{"1329139953":["hashtag1","hashtag2"]},{"1329139932":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329139943, 1329139960, 1329139968, 1329139941, 1329139953, 1329139932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.292094230651855 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:28:42.487584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_09_2627.jpg', '/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_22_3674.jpg', '/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_24_2615.jpg', '/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_40_3584.jpg', '/home/pi/Desktop/images/15012025/08/57/image_15012025_08_57_52_3714.jpg', '/home/pi/Desktop/images/15012025/08/57/image_15012025_08_57_54_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_09_2627.jpg
/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_22_3674.jpg
/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_24_2615.jpg
/home/pi/Desktop/images/15012025/08/56/image_15012025_08_56_40_3584.jpg
/home/pi/Desktop/images/15012025/08/57/image_15012025_08_57_52_3714.jpg
/home/pi/Desktop/images/15012025/08/57/image_15012025_08_57_54_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329140028","1329140024","1329140035","1329140020","1329140014","1329140005"],"photo_ids_order":["1329140005","1329140014","1329140020","1329140024","1329140028","1329140035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33b891e277c49e247807f5238cdb5646.jpg","text":"TemporaryFile(/tmp/multipartBody3584495472870934431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947783172,"filename":"image_15012025_08_57_52_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/828c97edc8b5149f3e3a3d45a6e4c08f.jpg","text":"TemporaryFile(/tmp/multipartBody5148587592429322532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947783172,"filename":"image_15012025_08_56_40_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a2519254300c7acb7d072b6e7ff089f4.jpg","text":"TemporaryFile(/tmp/multipartBody1065477608462945247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947783172,"filename":"image_15012025_08_57_54_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/876b07c2793c35b52dbd2f25868b9c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3292642432689227842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947783172,"filename":"image_15012025_08_56_24_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf434ed77985944f35473fb050cd49c5.jpg","text":"TemporaryFile(/tmp/multipartBody9028506745447795000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947783172,"filename":"image_15012025_08_56_22_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f308ad23e9e9141a909208b9c94b192e.jpg","text":"TemporaryFile(/tmp/multipartBody4252902895794326240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947783172,"filename":"image_15012025_08_56_09_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329140020","file1":"1329140014","file0":"1329140005","file4":"1329140028","file5":"1329140035","file3":"1329140024"},"map_files_photo_id_array":[{"photo_id":"1329140035","filename":"file5"},{"photo_id":"1329140020","filename":"file2"},{"photo_id":"1329140028","filename":"file4"},{"photo_id":"1329140014","filename":"file1"},{"photo_id":"1329140005","filename":"file0"},{"photo_id":"1329140024","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329140028":["hashtag1","hashtag2"]},{"1329140024":["hashtag1","hashtag2"]},{"1329140035":["hashtag1","hashtag2"]},{"1329140020":["hashtag1","hashtag2"]},{"1329140014":["hashtag1","hashtag2"]},{"1329140005":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329140028, 1329140024, 1329140035, 1329140020, 1329140014, 1329140005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8210723400116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:29:21.875337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_06_2701.jpg', '/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_12_2631.jpg', '/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_22_2811.jpg', '/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_37_3592.jpg', '/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_42_2712.jpg', '/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_46_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_06_2701.jpg
/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_12_2631.jpg
/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_22_2811.jpg
/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_37_3592.jpg
/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_42_2712.jpg
/home/pi/Desktop/images/15012025/08/58/image_15012025_08_58_46_3547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329140049","1329140066","1329140077","1329140071","1329140059","1329140082"],"photo_ids_order":["1329140049","1329140059","1329140066","1329140071","1329140077","1329140082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d0630cfa67416071c9944b5a8e324bc.jpg","text":"TemporaryFile(/tmp/multipartBody6591109414242557336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947822548,"filename":"image_15012025_08_58_06_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/71acb318c4076d8be36b46d15bf407c2.jpg","text":"TemporaryFile(/tmp/multipartBody3921776482002953491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947822548,"filename":"image_15012025_08_58_22_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aff40ca43e1750cfa782ed950cbadd76.jpg","text":"TemporaryFile(/tmp/multipartBody5149262935419196981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947822548,"filename":"image_15012025_08_58_42_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f1c0c51a9b124e87ed10f0bacc0c49f.jpg","text":"TemporaryFile(/tmp/multipartBody18674783438592834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947822548,"filename":"image_15012025_08_58_37_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/954333999d714e0003a00c74cd4dca02.jpg","text":"TemporaryFile(/tmp/multipartBody8077562646932398224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947822548,"filename":"image_15012025_08_58_12_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/003ab740fe4744083f0a1cb325d5413f.jpg","text":"TemporaryFile(/tmp/multipartBody4578561173169863924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947822548,"filename":"image_15012025_08_58_46_3547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329140066","file1":"1329140059","file0":"1329140049","file4":"1329140077","file5":"1329140082","file3":"1329140071"},"map_files_photo_id_array":[{"photo_id":"1329140082","filename":"file5"},{"photo_id":"1329140066","filename":"file2"},{"photo_id":"1329140077","filename":"file4"},{"photo_id":"1329140059","filename":"file1"},{"photo_id":"1329140049","filename":"file0"},{"photo_id":"1329140071","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329140049":["hashtag1","hashtag2"]},{"1329140066":["hashtag1","hashtag2"]},{"1329140077":["hashtag1","hashtag2"]},{"1329140071":["hashtag1","hashtag2"]},{"1329140059":["hashtag1","hashtag2"]},{"1329140082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329140049, 1329140066, 1329140077, 1329140071, 1329140059, 1329140082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54919242858887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:30:02.788743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_10_3694.jpg', '/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_13_2882.jpg', '/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_21_2898.jpg', '/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_24_2838.jpg', '/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_30_2916.jpg', '/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_43_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_10_3694.jpg
/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_13_2882.jpg
/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_21_2898.jpg
/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_24_2838.jpg
/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_30_2916.jpg
/home/pi/Desktop/images/15012025/08/59/image_15012025_08_59_43_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329140109","1329140100","1329140089","1329140114","1329140092","1329140104"],"photo_ids_order":["1329140089","1329140092","1329140100","1329140104","1329140109","1329140114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dbc540ec897a37d18cff75c36b4803b5.jpg","text":"TemporaryFile(/tmp/multipartBody1265568110105183271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947863526,"filename":"image_15012025_08_59_30_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5e277e4b407af54cb76bc63e8082aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5123118484624784352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947863526,"filename":"image_15012025_08_59_21_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/91ead9be7c6d01836f5ae3450b64ea8b.jpg","text":"TemporaryFile(/tmp/multipartBody4838223831864304559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947863526,"filename":"image_15012025_08_59_10_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6fe7f8e885e559f14f4c0bfc5fb18512.jpg","text":"TemporaryFile(/tmp/multipartBody3872522064083125549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947863526,"filename":"image_15012025_08_59_43_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2897eb46428dce42dd07d9865b36e900.jpg","text":"TemporaryFile(/tmp/multipartBody179597864185502868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947863526,"filename":"image_15012025_08_59_13_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2b883d241fbc40b3b4d68567f5c8a6ad.jpg","text":"TemporaryFile(/tmp/multipartBody8129954786668349611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947863526,"filename":"image_15012025_08_59_24_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329140100","file1":"1329140092","file0":"1329140089","file4":"1329140109","file5":"1329140114","file3":"1329140104"},"map_files_photo_id_array":[{"photo_id":"1329140114","filename":"file5"},{"photo_id":"1329140100","filename":"file2"},{"photo_id":"1329140109","filename":"file4"},{"photo_id":"1329140092","filename":"file1"},{"photo_id":"1329140089","filename":"file0"},{"photo_id":"1329140104","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329140109":["hashtag1","hashtag2"]},{"1329140100":["hashtag1","hashtag2"]},{"1329140089":["hashtag1","hashtag2"]},{"1329140114":["hashtag1","hashtag2"]},{"1329140092":["hashtag1","hashtag2"]},{"1329140104":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329140109, 1329140100, 1329140089, 1329140114, 1329140092, 1329140104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42445611953735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:31:03.070803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/00/image_15012025_09_00_16_2687.jpg', '/home/pi/Desktop/images/15012025/09/00/image_15012025_09_00_20_3643.jpg', '/home/pi/Desktop/images/15012025/09/00/image_15012025_09_00_22_2644.jpg', '/home/pi/Desktop/images/15012025/09/01/image_15012025_09_01_13_2704.jpg', '/home/pi/Desktop/images/15012025/09/01/image_15012025_09_01_53_2685.jpg', '/home/pi/Desktop/images/15012025/09/01/image_15012025_09_01_55_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/00/image_15012025_09_00_16_2687.jpg
/home/pi/Desktop/images/15012025/09/00/image_15012025_09_00_20_3643.jpg
/home/pi/Desktop/images/15012025/09/00/image_15012025_09_00_22_2644.jpg
/home/pi/Desktop/images/15012025/09/01/image_15012025_09_01_13_2704.jpg
/home/pi/Desktop/images/15012025/09/01/image_15012025_09_01_53_2685.jpg
/home/pi/Desktop/images/15012025/09/01/image_15012025_09_01_55_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329140907","1329141150","1329141081","1329140824","1329140710","1329140988"],"photo_ids_order":["1329140710","1329140824","1329140907","1329140988","1329141081","1329141150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c74e95898b1aa439bbe4d0a802fcab5a.jpg","text":"TemporaryFile(/tmp/multipartBody5538294746878389892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947923872,"filename":"image_15012025_09_00_22_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2b367bea2b8717943830fb4e4228fd17.jpg","text":"TemporaryFile(/tmp/multipartBody5376608956772234992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947923872,"filename":"image_15012025_09_01_55_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d6b56e1f5a82303295f2d49562e72ae.jpg","text":"TemporaryFile(/tmp/multipartBody1301126971776112223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947923872,"filename":"image_15012025_09_01_53_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c111888d962c9be36924ac31436a9cda.jpg","text":"TemporaryFile(/tmp/multipartBody1706904379953667130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947923872,"filename":"image_15012025_09_00_20_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2999e3e7109a2c939fb26e19c39dcff.jpg","text":"TemporaryFile(/tmp/multipartBody5180652310240209575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947923872,"filename":"image_15012025_09_00_16_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/622c22a450b4a68b3215ce84cfc64109.jpg","text":"TemporaryFile(/tmp/multipartBody4450604895997832227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947923872,"filename":"image_15012025_09_01_13_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329140907","file1":"1329140824","file0":"1329140710","file4":"1329141081","file5":"1329141150","file3":"1329140988"},"map_files_photo_id_array":[{"photo_id":"1329141150","filename":"file5"},{"photo_id":"1329140907","filename":"file2"},{"photo_id":"1329141081","filename":"file4"},{"photo_id":"1329140824","filename":"file1"},{"photo_id":"1329140710","filename":"file0"},{"photo_id":"1329140988","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329140907":["hashtag1","hashtag2"]},{"1329141150":["hashtag1","hashtag2"]},{"1329141081":["hashtag1","hashtag2"]},{"1329140824":["hashtag1","hashtag2"]},{"1329140710":["hashtag1","hashtag2"]},{"1329140988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329140907, 1329141150, 1329141081, 1329140824, 1329140710, 1329140988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.723864793777466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:31:42.448149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/02/image_15012025_09_02_20_2841.jpg', '/home/pi/Desktop/images/15012025/09/02/image_15012025_09_02_40_2622.jpg', '/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_08_3634.jpg', '/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_28_2576.jpg', '/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_35_2914.jpg', '/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_41_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/02/image_15012025_09_02_20_2841.jpg
/home/pi/Desktop/images/15012025/09/02/image_15012025_09_02_40_2622.jpg
/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_08_3634.jpg
/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_28_2576.jpg
/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_35_2914.jpg
/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_41_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329141176","1329141170","1329141160","1329141177","1329141165","1329141180"],"photo_ids_order":["1329141160","1329141165","1329141170","1329141176","1329141177","1329141180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a6f5758afc4072de7b8a768c0a9dcf70.jpg","text":"TemporaryFile(/tmp/multipartBody3967807632547908280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947963129,"filename":"image_15012025_09_03_28_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd5f1c3f60b6195bb7204f3bf2512468.jpg","text":"TemporaryFile(/tmp/multipartBody4002847310532065470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947963129,"filename":"image_15012025_09_03_08_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3ad1587a07bf203fe674b0f70c86c96.jpg","text":"TemporaryFile(/tmp/multipartBody3235956044493099318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947963129,"filename":"image_15012025_09_02_20_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7203479be7c8ab26abe848eec39a4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5772688946531130714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947963129,"filename":"image_15012025_09_03_35_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dba54a87a0d262ec1e72dd4239dedf82.jpg","text":"TemporaryFile(/tmp/multipartBody1477335168834958616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947963129,"filename":"image_15012025_09_02_40_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77ef2e839ad4a24490e7d1b1f96fec32.jpg","text":"TemporaryFile(/tmp/multipartBody7228812798901317715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736947963129,"filename":"image_15012025_09_03_41_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329141170","file1":"1329141165","file0":"1329141160","file4":"1329141177","file5":"1329141180","file3":"1329141176"},"map_files_photo_id_array":[{"photo_id":"1329141180","filename":"file5"},{"photo_id":"1329141170","filename":"file2"},{"photo_id":"1329141177","filename":"file4"},{"photo_id":"1329141165","filename":"file1"},{"photo_id":"1329141160","filename":"file0"},{"photo_id":"1329141176","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329141176":["hashtag1","hashtag2"]},{"1329141170":["hashtag1","hashtag2"]},{"1329141160":["hashtag1","hashtag2"]},{"1329141177":["hashtag1","hashtag2"]},{"1329141165":["hashtag1","hashtag2"]},{"1329141180":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329141176, 1329141170, 1329141160, 1329141177, 1329141165, 1329141180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24864435195923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:32:21.822359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_43_2705.jpg', '/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_58_3633.jpg', '/home/pi/Desktop/images/15012025/09/04/image_15012025_09_04_28_3012.jpg', '/home/pi/Desktop/images/15012025/09/05/image_15012025_09_05_37_3535.jpg', '/home/pi/Desktop/images/15012025/09/05/image_15012025_09_05_49_2619.jpg', '/home/pi/Desktop/images/15012025/09/05/image_15012025_09_05_56_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_43_2705.jpg
/home/pi/Desktop/images/15012025/09/03/image_15012025_09_03_58_3633.jpg
/home/pi/Desktop/images/15012025/09/04/image_15012025_09_04_28_3012.jpg
/home/pi/Desktop/images/15012025/09/05/image_15012025_09_05_37_3535.jpg
/home/pi/Desktop/images/15012025/09/05/image_15012025_09_05_49_2619.jpg
/home/pi/Desktop/images/15012025/09/05/image_15012025_09_05_56_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329141452","1329141335","1329141457","1329141442","1329141447","1329141408"],"photo_ids_order":["1329141335","1329141408","1329141442","1329141447","1329141452","1329141457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c45f2b094134e04248d8d19c222e6939.jpg","text":"TemporaryFile(/tmp/multipartBody4980383826084758655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948002513,"filename":"image_15012025_09_05_49_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/177818184dbe68de8108eed48a694093.jpg","text":"TemporaryFile(/tmp/multipartBody6369308545684732148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948002513,"filename":"image_15012025_09_03_43_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80a363dcabe1d829c3874648643aba91.jpg","text":"TemporaryFile(/tmp/multipartBody3602427910378904368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948002513,"filename":"image_15012025_09_05_56_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e9564ecf325500f06b2ccdf601cc8d10.jpg","text":"TemporaryFile(/tmp/multipartBody2580794717334045166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948002513,"filename":"image_15012025_09_04_28_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22f55ed6995fe332f1ad9fd5a053af62.jpg","text":"TemporaryFile(/tmp/multipartBody5649398680509864309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948002513,"filename":"image_15012025_09_05_37_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97a0a339d1057c1f70797139ad4e8aca.jpg","text":"TemporaryFile(/tmp/multipartBody6490626580716724583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948002513,"filename":"image_15012025_09_03_58_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329141442","file1":"1329141408","file0":"1329141335","file4":"1329141452","file5":"1329141457","file3":"1329141447"},"map_files_photo_id_array":[{"photo_id":"1329141457","filename":"file5"},{"photo_id":"1329141442","filename":"file2"},{"photo_id":"1329141452","filename":"file4"},{"photo_id":"1329141408","filename":"file1"},{"photo_id":"1329141335","filename":"file0"},{"photo_id":"1329141447","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329141452":["hashtag1","hashtag2"]},{"1329141335":["hashtag1","hashtag2"]},{"1329141457":["hashtag1","hashtag2"]},{"1329141442":["hashtag1","hashtag2"]},{"1329141447":["hashtag1","hashtag2"]},{"1329141408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329141452, 1329141335, 1329141457, 1329141442, 1329141447, 1329141408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.345155239105225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:33:02.877921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/06/image_15012025_09_06_07_2749.jpg', '/home/pi/Desktop/images/15012025/09/06/image_15012025_09_06_10_2761.jpg', '/home/pi/Desktop/images/15012025/09/06/image_15012025_09_06_58_2685.jpg', '/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_04_2780.jpg', '/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_07_2616.jpg', '/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_13_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/06/image_15012025_09_06_07_2749.jpg
/home/pi/Desktop/images/15012025/09/06/image_15012025_09_06_10_2761.jpg
/home/pi/Desktop/images/15012025/09/06/image_15012025_09_06_58_2685.jpg
/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_04_2780.jpg
/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_07_2616.jpg
/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_13_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329141609","1329141595","1329141574","1329141634","1329141637","1329141601"],"photo_ids_order":["1329141574","1329141595","1329141601","1329141609","1329141634","1329141637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cd97505b54d3fc71043ea811174348c2.jpg","text":"TemporaryFile(/tmp/multipartBody4286569013873185846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948043713,"filename":"image_15012025_09_07_04_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f8a7aaf9c46074eec66f87f433dc412a.jpg","text":"TemporaryFile(/tmp/multipartBody4594171856124555416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948043713,"filename":"image_15012025_09_06_10_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bc81631b01481da2769f82ade3c39983.jpg","text":"TemporaryFile(/tmp/multipartBody2284978642639532084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948043713,"filename":"image_15012025_09_06_07_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf442291d2878535c2696875d2381c9d.jpg","text":"TemporaryFile(/tmp/multipartBody8169984761851945165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948043713,"filename":"image_15012025_09_07_07_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ab8cce2b72720271aedc7e711224ea5.jpg","text":"TemporaryFile(/tmp/multipartBody3523853995934749795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948043713,"filename":"image_15012025_09_07_13_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7416d6abd3acc475b265f73285db0ed.jpg","text":"TemporaryFile(/tmp/multipartBody5745089383102227012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948043713,"filename":"image_15012025_09_06_58_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329141601","file1":"1329141595","file0":"1329141574","file4":"1329141634","file5":"1329141637","file3":"1329141609"},"map_files_photo_id_array":[{"photo_id":"1329141637","filename":"file5"},{"photo_id":"1329141601","filename":"file2"},{"photo_id":"1329141634","filename":"file4"},{"photo_id":"1329141595","filename":"file1"},{"photo_id":"1329141574","filename":"file0"},{"photo_id":"1329141609","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329141609":["hashtag1","hashtag2"]},{"1329141595":["hashtag1","hashtag2"]},{"1329141574":["hashtag1","hashtag2"]},{"1329141634":["hashtag1","hashtag2"]},{"1329141637":["hashtag1","hashtag2"]},{"1329141601":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329141609, 1329141595, 1329141574, 1329141634, 1329141637, 1329141601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.393230676651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:34:02.900145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_37_3803.jpg', '/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_40_2662.jpg', '/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_46_2879.jpg', '/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_49_3601.jpg', '/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_34_2691.jpg', '/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_40_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_37_3803.jpg
/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_40_2662.jpg
/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_46_2879.jpg
/home/pi/Desktop/images/15012025/09/07/image_15012025_09_07_49_3601.jpg
/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_34_2691.jpg
/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_40_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329141746","1329141947","1329141892","1329141818","1329141963","1329141696"],"photo_ids_order":["1329141696","1329141746","1329141818","1329141892","1329141947","1329141963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5522905d6f03683ff6c2a5188b16223f.jpg","text":"TemporaryFile(/tmp/multipartBody537800813429870842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948103730,"filename":"image_15012025_09_07_40_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d28ec3301c97140e1f546ecfcbb28bc.jpg","text":"TemporaryFile(/tmp/multipartBody3492299677001455745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948103730,"filename":"image_15012025_09_08_34_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ba9ae7762923edbadbcdf61239529c79.jpg","text":"TemporaryFile(/tmp/multipartBody1715712562705143485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948103730,"filename":"image_15012025_09_07_49_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/03de89061ed218f17cbe7975e695101d.jpg","text":"TemporaryFile(/tmp/multipartBody2819988584757028167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948103730,"filename":"image_15012025_09_07_46_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd98956a15e27c5369edba166f33b6d6.jpg","text":"TemporaryFile(/tmp/multipartBody8895037437213503557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948103730,"filename":"image_15012025_09_08_40_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/976b9869c50f8bb4a7f6494865585b8a.jpg","text":"TemporaryFile(/tmp/multipartBody6527295691890437424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948103730,"filename":"image_15012025_09_07_37_3803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329141818","file1":"1329141746","file0":"1329141696","file4":"1329141947","file5":"1329141963","file3":"1329141892"},"map_files_photo_id_array":[{"photo_id":"1329141963","filename":"file5"},{"photo_id":"1329141818","filename":"file2"},{"photo_id":"1329141947","filename":"file4"},{"photo_id":"1329141746","filename":"file1"},{"photo_id":"1329141696","filename":"file0"},{"photo_id":"1329141892","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329141746":["hashtag1","hashtag2"]},{"1329141947":["hashtag1","hashtag2"]},{"1329141892":["hashtag1","hashtag2"]},{"1329141818":["hashtag1","hashtag2"]},{"1329141963":["hashtag1","hashtag2"]},{"1329141696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329141746, 1329141947, 1329141892, 1329141818, 1329141963, 1329141696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.42740869522095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:35:02.939034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_43_2828.jpg', '/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_46_2577.jpg', '/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_48_2853.jpg', '/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_22_2608.jpg', '/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_34_3562.jpg', '/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_37_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_43_2828.jpg
/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_46_2577.jpg
/home/pi/Desktop/images/15012025/09/08/image_15012025_09_08_48_2853.jpg
/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_22_2608.jpg
/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_34_3562.jpg
/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_37_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329142121","1329142390","1329141997","1329142299","1329141999","1329141992"],"photo_ids_order":["1329141992","1329141997","1329141999","1329142121","1329142299","1329142390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7f00d9084ec95a1b8712e8863e0ad19b.jpg","text":"TemporaryFile(/tmp/multipartBody1384964390753706705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948163775,"filename":"image_15012025_09_09_22_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac8c0d7b6f7cd57ca2ac9481cb8b30b2.jpg","text":"TemporaryFile(/tmp/multipartBody343625348753289148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948163775,"filename":"image_15012025_09_09_37_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d7f619a0d719d847258a70ee085c90d.jpg","text":"TemporaryFile(/tmp/multipartBody5145827710101176364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948163775,"filename":"image_15012025_09_08_46_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14823acf9ce5c97ca18d2a9859b07daa.jpg","text":"TemporaryFile(/tmp/multipartBody6158786492753495521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948163775,"filename":"image_15012025_09_09_34_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92c068e2bb466f17015bd541d03a8377.jpg","text":"TemporaryFile(/tmp/multipartBody8919052064140670481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948163775,"filename":"image_15012025_09_08_48_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4595d4643af7964420858e3bc2eda9e0.jpg","text":"TemporaryFile(/tmp/multipartBody4129299083221280292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948163775,"filename":"image_15012025_09_08_43_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329141999","file1":"1329141997","file0":"1329141992","file4":"1329142299","file5":"1329142390","file3":"1329142121"},"map_files_photo_id_array":[{"photo_id":"1329142390","filename":"file5"},{"photo_id":"1329141999","filename":"file2"},{"photo_id":"1329142299","filename":"file4"},{"photo_id":"1329141997","filename":"file1"},{"photo_id":"1329141992","filename":"file0"},{"photo_id":"1329142121","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329142121":["hashtag1","hashtag2"]},{"1329142390":["hashtag1","hashtag2"]},{"1329141997":["hashtag1","hashtag2"]},{"1329142299":["hashtag1","hashtag2"]},{"1329141999":["hashtag1","hashtag2"]},{"1329141992":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329142121, 1329142390, 1329141997, 1329142299, 1329141999, 1329141992)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.57430124282837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:36:02.867403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_40_2891.jpg', '/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_42_2556.jpg', '/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_46_3707.jpg', '/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_49_2651.jpg', '/home/pi/Desktop/images/15012025/09/10/image_15012025_09_10_27_2659.jpg', '/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_01_2919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_40_2891.jpg
/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_42_2556.jpg
/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_46_3707.jpg
/home/pi/Desktop/images/15012025/09/09/image_15012025_09_09_49_2651.jpg
/home/pi/Desktop/images/15012025/09/10/image_15012025_09_10_27_2659.jpg
/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_01_2919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329142916","1329142927","1329142918","1329142912","1329142923","1329142920"],"photo_ids_order":["1329142912","1329142916","1329142918","1329142920","1329142923","1329142927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/149155c9a230677b20384bcddeac6c98.jpg","text":"TemporaryFile(/tmp/multipartBody7191055412722386971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948223658,"filename":"image_15012025_09_09_42_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/07964b1fc9ccdcde2536e89d2be0a66b.jpg","text":"TemporaryFile(/tmp/multipartBody239469954309098032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948223658,"filename":"image_15012025_09_11_01_2919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38ec59557ddc97ceec3b5e476776a7e6.jpg","text":"TemporaryFile(/tmp/multipartBody351845311864303580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948223658,"filename":"image_15012025_09_09_46_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e9097cf275c45becbfed6b2b20c076b.jpg","text":"TemporaryFile(/tmp/multipartBody2122934679999652035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948223658,"filename":"image_15012025_09_09_40_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5258b891ae9309608f1c5da59134b96a.jpg","text":"TemporaryFile(/tmp/multipartBody616248984709613115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948223658,"filename":"image_15012025_09_10_27_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b1dbcf24a4ba89ad2c8d320fec7800c.jpg","text":"TemporaryFile(/tmp/multipartBody4633683961907813567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948223658,"filename":"image_15012025_09_09_49_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329142918","file1":"1329142916","file0":"1329142912","file4":"1329142923","file5":"1329142927","file3":"1329142920"},"map_files_photo_id_array":[{"photo_id":"1329142927","filename":"file5"},{"photo_id":"1329142918","filename":"file2"},{"photo_id":"1329142923","filename":"file4"},{"photo_id":"1329142916","filename":"file1"},{"photo_id":"1329142912","filename":"file0"},{"photo_id":"1329142920","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329142916":["hashtag1","hashtag2"]},{"1329142927":["hashtag1","hashtag2"]},{"1329142918":["hashtag1","hashtag2"]},{"1329142912":["hashtag1","hashtag2"]},{"1329142923":["hashtag1","hashtag2"]},{"1329142920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329142916, 1329142927, 1329142918, 1329142912, 1329142923, 1329142920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03610277175903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:36:42.264842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_06_2801.jpg', '/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_18_2829.jpg', '/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_22_3737.jpg', '/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_25_2899.jpg', '/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_30_2569.jpg', '/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_37_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_06_2801.jpg
/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_18_2829.jpg
/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_22_3737.jpg
/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_25_2899.jpg
/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_30_2569.jpg
/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_37_2696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329143143","1329142942","1329143214","1329142947","1329143021","1329142952"],"photo_ids_order":["1329142942","1329142947","1329142952","1329143021","1329143143","1329143214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/11aebb56379050b9dfd2a84626d8c495.jpg","text":"TemporaryFile(/tmp/multipartBody485509083348451382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948262982,"filename":"image_15012025_09_11_30_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0e0ad72b58a58158493fb9ea74fbb742.jpg","text":"TemporaryFile(/tmp/multipartBody1014168346189140802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948262982,"filename":"image_15012025_09_11_06_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f8b6d623814186b62005d6f0885161f9.jpg","text":"TemporaryFile(/tmp/multipartBody5820877683128324253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948262982,"filename":"image_15012025_09_11_37_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6e3ed9994fc10b76f902088ace7f9c47.jpg","text":"TemporaryFile(/tmp/multipartBody1164085928779202759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948262982,"filename":"image_15012025_09_11_18_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ed2134866bbd8ba68f606a69b68d2e98.jpg","text":"TemporaryFile(/tmp/multipartBody8206430920651995873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948262982,"filename":"image_15012025_09_11_25_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c101e3dca1fdcea19406c843de6abd8.jpg","text":"TemporaryFile(/tmp/multipartBody4617811640785499786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948262982,"filename":"image_15012025_09_11_22_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329142952","file1":"1329142947","file0":"1329142942","file4":"1329143143","file5":"1329143214","file3":"1329143021"},"map_files_photo_id_array":[{"photo_id":"1329143214","filename":"file5"},{"photo_id":"1329142952","filename":"file2"},{"photo_id":"1329143143","filename":"file4"},{"photo_id":"1329142947","filename":"file1"},{"photo_id":"1329142942","filename":"file0"},{"photo_id":"1329143021","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329143143":["hashtag1","hashtag2"]},{"1329142942":["hashtag1","hashtag2"]},{"1329143214":["hashtag1","hashtag2"]},{"1329142947":["hashtag1","hashtag2"]},{"1329143021":["hashtag1","hashtag2"]},{"1329142952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329143143, 1329142942, 1329143214, 1329142947, 1329143021, 1329142952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03207993507385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:37:22.604743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_51_2673.jpg', '/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_15_2683.jpg', '/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_18_2571.jpg', '/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_24_2645.jpg', '/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_27_2703.jpg', '/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_46_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/11/image_15012025_09_11_51_2673.jpg
/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_15_2683.jpg
/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_18_2571.jpg
/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_24_2645.jpg
/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_27_2703.jpg
/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_46_3605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329143259","1329143331","1329143325","1329143297","1329143336","1329143321"],"photo_ids_order":["1329143259","1329143297","1329143321","1329143325","1329143331","1329143336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2b3af05086ea5efa8bac81e1f400354.jpg","text":"TemporaryFile(/tmp/multipartBody3622085240220273588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948303272,"filename":"image_15012025_09_11_51_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/91e706d4b0bf5335ecfb53ddd605cadb.jpg","text":"TemporaryFile(/tmp/multipartBody5723553068234511206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948303272,"filename":"image_15012025_09_12_27_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1564f9c2b739aea53bfab759dbf58a29.jpg","text":"TemporaryFile(/tmp/multipartBody432961220895434123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948303272,"filename":"image_15012025_09_12_24_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4a61a4df8a2562abb4779805b59dce05.jpg","text":"TemporaryFile(/tmp/multipartBody3845549347000045476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948303272,"filename":"image_15012025_09_12_15_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c4780ad5efa0c43243be0e457c4dad23.jpg","text":"TemporaryFile(/tmp/multipartBody6573617253853847948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948303272,"filename":"image_15012025_09_12_46_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a377874226ee1ccb2f42d0eb5be9e464.jpg","text":"TemporaryFile(/tmp/multipartBody6307775993174312986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948303272,"filename":"image_15012025_09_12_18_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329143321","file1":"1329143297","file0":"1329143259","file4":"1329143331","file5":"1329143336","file3":"1329143325"},"map_files_photo_id_array":[{"photo_id":"1329143336","filename":"file5"},{"photo_id":"1329143321","filename":"file2"},{"photo_id":"1329143331","filename":"file4"},{"photo_id":"1329143297","filename":"file1"},{"photo_id":"1329143259","filename":"file0"},{"photo_id":"1329143325","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329143259":["hashtag1","hashtag2"]},{"1329143331":["hashtag1","hashtag2"]},{"1329143325":["hashtag1","hashtag2"]},{"1329143297":["hashtag1","hashtag2"]},{"1329143336":["hashtag1","hashtag2"]},{"1329143321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329143259, 1329143331, 1329143325, 1329143297, 1329143336, 1329143321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09134268760681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:38:02.569964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_48_2564.jpg', '/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_03_2637.jpg', '/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_12_2747.jpg', '/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_15_2516.jpg', '/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_24_2779.jpg', '/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_49_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/12/image_15012025_09_12_48_2564.jpg
/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_03_2637.jpg
/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_12_2747.jpg
/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_15_2516.jpg
/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_24_2779.jpg
/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_49_3741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329143410","1329143413","1329143403","1329143406","1329143348","1329143408"],"photo_ids_order":["1329143348","1329143403","1329143406","1329143408","1329143410","1329143413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a91bb2eb2b5422d64289d7915794b33.jpg","text":"TemporaryFile(/tmp/multipartBody533378671095462514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948343307,"filename":"image_15012025_09_13_24_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0303eaacd9f7ba5d5feba7d0a95e43e7.jpg","text":"TemporaryFile(/tmp/multipartBody3865404228695420232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948343307,"filename":"image_15012025_09_13_49_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cbeff1419dc85f9dad281886fe682e2f.jpg","text":"TemporaryFile(/tmp/multipartBody3732621629295481030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948343307,"filename":"image_15012025_09_13_03_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7dd489d6cc097db2b9c616c12f49199a.jpg","text":"TemporaryFile(/tmp/multipartBody6931525524993502868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948343307,"filename":"image_15012025_09_13_12_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22d05484a925b6393f0e8cae83bb78ad.jpg","text":"TemporaryFile(/tmp/multipartBody4667895375024070799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948343307,"filename":"image_15012025_09_12_48_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5fff4f9dab1871dd0d41ed43afd2271.jpg","text":"TemporaryFile(/tmp/multipartBody7372590363846683365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948343307,"filename":"image_15012025_09_13_15_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329143406","file1":"1329143403","file0":"1329143348","file4":"1329143410","file5":"1329143413","file3":"1329143408"},"map_files_photo_id_array":[{"photo_id":"1329143413","filename":"file5"},{"photo_id":"1329143406","filename":"file2"},{"photo_id":"1329143410","filename":"file4"},{"photo_id":"1329143403","filename":"file1"},{"photo_id":"1329143348","filename":"file0"},{"photo_id":"1329143408","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329143410":["hashtag1","hashtag2"]},{"1329143413":["hashtag1","hashtag2"]},{"1329143403":["hashtag1","hashtag2"]},{"1329143406":["hashtag1","hashtag2"]},{"1329143348":["hashtag1","hashtag2"]},{"1329143408":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329143410, 1329143413, 1329143403, 1329143406, 1329143348, 1329143408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74847674369812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:38:41.953121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_51_2611.jpg', '/home/pi/Desktop/images/15012025/09/14/image_15012025_09_14_25_3673.jpg', '/home/pi/Desktop/images/15012025/09/14/image_15012025_09_14_39_2571.jpg', '/home/pi/Desktop/images/15012025/09/17/image_15012025_09_17_14_2614.jpg', '/home/pi/Desktop/images/15012025/09/17/image_15012025_09_17_18_3598.jpg', '/home/pi/Desktop/images/15012025/09/17/image_15012025_09_17_24_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/13/image_15012025_09_13_51_2611.jpg
/home/pi/Desktop/images/15012025/09/14/image_15012025_09_14_25_3673.jpg
/home/pi/Desktop/images/15012025/09/14/image_15012025_09_14_39_2571.jpg
/home/pi/Desktop/images/15012025/09/17/image_15012025_09_17_14_2614.jpg
/home/pi/Desktop/images/15012025/09/17/image_15012025_09_17_18_3598.jpg
/home/pi/Desktop/images/15012025/09/17/image_15012025_09_17_24_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329143461","1329143472","1329143477","1329143453","1329143435","1329143429"],"photo_ids_order":["1329143429","1329143435","1329143453","1329143461","1329143472","1329143477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe8818ec2a6b3f0dfb43dd48a4981776.jpg","text":"TemporaryFile(/tmp/multipartBody5754354375789695971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948382634,"filename":"image_15012025_09_17_14_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5a6e407fa30a96e2f07d860250cf376.jpg","text":"TemporaryFile(/tmp/multipartBody1331526289757440520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948382634,"filename":"image_15012025_09_17_18_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c0405e1ed6eccdc961556fe3466e4d9.jpg","text":"TemporaryFile(/tmp/multipartBody7219201945735438810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948382634,"filename":"image_15012025_09_17_24_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7291531fb2868419efc9f76c6c892736.jpg","text":"TemporaryFile(/tmp/multipartBody9089584514142996721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948382634,"filename":"image_15012025_09_14_39_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/55f90018aa882814da72e73dd7621580.jpg","text":"TemporaryFile(/tmp/multipartBody1707522153215635717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948382634,"filename":"image_15012025_09_14_25_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f28c1ee892a5c75f81e723402ab553b.jpg","text":"TemporaryFile(/tmp/multipartBody3040040260024165073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948382634,"filename":"image_15012025_09_13_51_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329143453","file1":"1329143435","file0":"1329143429","file4":"1329143472","file5":"1329143477","file3":"1329143461"},"map_files_photo_id_array":[{"photo_id":"1329143477","filename":"file5"},{"photo_id":"1329143453","filename":"file2"},{"photo_id":"1329143472","filename":"file4"},{"photo_id":"1329143435","filename":"file1"},{"photo_id":"1329143429","filename":"file0"},{"photo_id":"1329143461","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329143461":["hashtag1","hashtag2"]},{"1329143472":["hashtag1","hashtag2"]},{"1329143477":["hashtag1","hashtag2"]},{"1329143453":["hashtag1","hashtag2"]},{"1329143435":["hashtag1","hashtag2"]},{"1329143429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329143461, 1329143472, 1329143477, 1329143453, 1329143435, 1329143429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.369871377944946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:39:22.445341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/18/image_15012025_09_18_18_3628.jpg', '/home/pi/Desktop/images/15012025/09/19/image_15012025_09_19_42_2864.jpg', '/home/pi/Desktop/images/15012025/09/19/image_15012025_09_19_53_2617.jpg', '/home/pi/Desktop/images/15012025/09/20/image_15012025_09_20_57_2723.jpg', '/home/pi/Desktop/images/15012025/09/23/image_15012025_09_23_24_3614.jpg', '/home/pi/Desktop/images/15012025/09/25/image_15012025_09_25_47_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/18/image_15012025_09_18_18_3628.jpg
/home/pi/Desktop/images/15012025/09/19/image_15012025_09_19_42_2864.jpg
/home/pi/Desktop/images/15012025/09/19/image_15012025_09_19_53_2617.jpg
/home/pi/Desktop/images/15012025/09/20/image_15012025_09_20_57_2723.jpg
/home/pi/Desktop/images/15012025/09/23/image_15012025_09_23_24_3614.jpg
/home/pi/Desktop/images/15012025/09/25/image_15012025_09_25_47_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329143516","1329143521","1329143527","1329143523","1329143511","1329143513"],"photo_ids_order":["1329143511","1329143513","1329143516","1329143521","1329143523","1329143527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/899b574e6b26b741336afc7ac3ab3d3b.jpg","text":"TemporaryFile(/tmp/multipartBody3798826475046341823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948423133,"filename":"image_15012025_09_19_53_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9956ba438bceae5810503448772a8e80.jpg","text":"TemporaryFile(/tmp/multipartBody7451783404684344535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948423133,"filename":"image_15012025_09_20_57_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6e48fb2d44c7505e588b7099ed4158b4.jpg","text":"TemporaryFile(/tmp/multipartBody2295225391399042480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948423133,"filename":"image_15012025_09_25_47_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d9d8b9726d3c870e3bafa52a4af31a6c.jpg","text":"TemporaryFile(/tmp/multipartBody8080938518390214808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948423133,"filename":"image_15012025_09_23_24_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99d193c11f2a00025d58a3fcca2976d7.jpg","text":"TemporaryFile(/tmp/multipartBody462202097835138307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948423133,"filename":"image_15012025_09_18_18_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/896bb7479cd6c804ec54f5a4f2dc064e.jpg","text":"TemporaryFile(/tmp/multipartBody1446471272362847672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948423133,"filename":"image_15012025_09_19_42_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329143516","file1":"1329143513","file0":"1329143511","file4":"1329143523","file5":"1329143527","file3":"1329143521"},"map_files_photo_id_array":[{"photo_id":"1329143527","filename":"file5"},{"photo_id":"1329143516","filename":"file2"},{"photo_id":"1329143523","filename":"file4"},{"photo_id":"1329143513","filename":"file1"},{"photo_id":"1329143511","filename":"file0"},{"photo_id":"1329143521","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329143516":["hashtag1","hashtag2"]},{"1329143521":["hashtag1","hashtag2"]},{"1329143527":["hashtag1","hashtag2"]},{"1329143523":["hashtag1","hashtag2"]},{"1329143511":["hashtag1","hashtag2"]},{"1329143513":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329143516, 1329143521, 1329143527, 1329143523, 1329143511, 1329143513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73118710517883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:40:02.847354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/26/image_15012025_09_26_23_2885.jpg', '/home/pi/Desktop/images/15012025/09/27/image_15012025_09_27_29_3566.jpg', '/home/pi/Desktop/images/15012025/09/28/image_15012025_09_28_07_2578.jpg', '/home/pi/Desktop/images/15012025/09/29/image_15012025_09_29_13_2541.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_07_3011.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_10_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/26/image_15012025_09_26_23_2885.jpg
/home/pi/Desktop/images/15012025/09/27/image_15012025_09_27_29_3566.jpg
/home/pi/Desktop/images/15012025/09/28/image_15012025_09_28_07_2578.jpg
/home/pi/Desktop/images/15012025/09/29/image_15012025_09_29_13_2541.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_07_3011.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_10_3578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329143578","1329143575","1329143806","1329143580","1329143717","1329143624"],"photo_ids_order":["1329143575","1329143578","1329143580","1329143624","1329143717","1329143806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/96c90f81978bc8075e4693e9ac542819.jpg","text":"TemporaryFile(/tmp/multipartBody4684758802834232298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948463635,"filename":"image_15012025_09_27_29_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dafa8a4d7b4320a33ac30ac6a63ffdcf.jpg","text":"TemporaryFile(/tmp/multipartBody1829082943243502414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948463635,"filename":"image_15012025_09_26_23_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/248ccfdc8158477580b3e9b80479eedb.jpg","text":"TemporaryFile(/tmp/multipartBody7674459281389852924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948463635,"filename":"image_15012025_09_31_10_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aeb624707eb7d81780700c031086febd.jpg","text":"TemporaryFile(/tmp/multipartBody7049382033915842242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948463635,"filename":"image_15012025_09_28_07_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cada18729beef9cd5134dbce79521908.jpg","text":"TemporaryFile(/tmp/multipartBody6711670836277692075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948463635,"filename":"image_15012025_09_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6b7e57becb2fc02eed6b7d68ca18be1b.jpg","text":"TemporaryFile(/tmp/multipartBody8535801991607481236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948463635,"filename":"image_15012025_09_29_13_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329143580","file1":"1329143578","file0":"1329143575","file4":"1329143717","file5":"1329143806","file3":"1329143624"},"map_files_photo_id_array":[{"photo_id":"1329143806","filename":"file5"},{"photo_id":"1329143580","filename":"file2"},{"photo_id":"1329143717","filename":"file4"},{"photo_id":"1329143578","filename":"file1"},{"photo_id":"1329143575","filename":"file0"},{"photo_id":"1329143624","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329143578":["hashtag1","hashtag2"]},{"1329143575":["hashtag1","hashtag2"]},{"1329143806":["hashtag1","hashtag2"]},{"1329143580":["hashtag1","hashtag2"]},{"1329143717":["hashtag1","hashtag2"]},{"1329143624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329143578, 1329143575, 1329143806, 1329143580, 1329143717, 1329143624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24707341194153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:40:42.276798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_13_2646.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_17_3664.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_19_2678.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_22_2705.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_34_2865.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_40_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_13_2646.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_17_3664.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_19_2678.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_22_2705.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_34_2865.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_40_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329144360","1329144357","1329144354","1329144265","1329144166","1329144061"],"photo_ids_order":["1329144061","1329144166","1329144265","1329144354","1329144357","1329144360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97d44fae044e0bc6d976f9aa169a87f3.jpg","text":"TemporaryFile(/tmp/multipartBody8840185603555566232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948502974,"filename":"image_15012025_09_31_40_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70040ab3f6fdedd0bc0d3d3d77825e73.jpg","text":"TemporaryFile(/tmp/multipartBody8711422883441816095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948502974,"filename":"image_15012025_09_31_34_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2cb53724498eadc1e4e806ebab0a93f.jpg","text":"TemporaryFile(/tmp/multipartBody7790873480678183326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948502974,"filename":"image_15012025_09_31_22_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58d0fe71b1116dc6586e3a743e458264.jpg","text":"TemporaryFile(/tmp/multipartBody2218744862621585790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948502974,"filename":"image_15012025_09_31_19_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3d4a94e6ab257b2c4f99f5f8d629fcb.jpg","text":"TemporaryFile(/tmp/multipartBody2138319802969183184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948502974,"filename":"image_15012025_09_31_17_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9317d758010d908a8c8a2f7096d87a8f.jpg","text":"TemporaryFile(/tmp/multipartBody2298052791211535358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948502974,"filename":"image_15012025_09_31_13_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329144265","file1":"1329144166","file0":"1329144061","file4":"1329144357","file5":"1329144360","file3":"1329144354"},"map_files_photo_id_array":[{"photo_id":"1329144360","filename":"file5"},{"photo_id":"1329144265","filename":"file2"},{"photo_id":"1329144357","filename":"file4"},{"photo_id":"1329144166","filename":"file1"},{"photo_id":"1329144061","filename":"file0"},{"photo_id":"1329144354","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329144360":["hashtag1","hashtag2"]},{"1329144357":["hashtag1","hashtag2"]},{"1329144354":["hashtag1","hashtag2"]},{"1329144265":["hashtag1","hashtag2"]},{"1329144166":["hashtag1","hashtag2"]},{"1329144061":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329144360, 1329144357, 1329144354, 1329144265, 1329144166, 1329144061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54274797439575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:41:22.129313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_44_3556.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_46_2654.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_49_2667.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_52_3606.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_55_2725.jpg', '/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_58_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_44_3556.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_46_2654.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_49_2667.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_52_3606.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_55_2725.jpg
/home/pi/Desktop/images/15012025/09/31/image_15012025_09_31_58_2839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329144399","1329144392","1329144386","1329144371","1329144404","1329144376"],"photo_ids_order":["1329144371","1329144376","1329144386","1329144392","1329144399","1329144404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/78901b88c9a372babd522e01f4c18f98.jpg","text":"TemporaryFile(/tmp/multipartBody1636407944155595591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948542836,"filename":"image_15012025_09_31_55_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f7fbfb4880ca294dde48bccdab0bf3a2.jpg","text":"TemporaryFile(/tmp/multipartBody8707489390692749745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948542836,"filename":"image_15012025_09_31_52_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1db12fe0b8e557bd6a1dcf4ef8d3677e.jpg","text":"TemporaryFile(/tmp/multipartBody5375319228501766182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948542836,"filename":"image_15012025_09_31_49_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cfdeda0bb1fb3760f2eb29fbdf6c9835.jpg","text":"TemporaryFile(/tmp/multipartBody6503940163130486168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948542836,"filename":"image_15012025_09_31_44_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3d74ee8d40577b2cf893b6851d5fede.jpg","text":"TemporaryFile(/tmp/multipartBody1396956699507783943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948542836,"filename":"image_15012025_09_31_58_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2796fb83c1c203c8a53d16feb2b18c17.jpg","text":"TemporaryFile(/tmp/multipartBody979734165639458142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948542836,"filename":"image_15012025_09_31_46_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329144386","file1":"1329144376","file0":"1329144371","file4":"1329144399","file5":"1329144404","file3":"1329144392"},"map_files_photo_id_array":[{"photo_id":"1329144404","filename":"file5"},{"photo_id":"1329144386","filename":"file2"},{"photo_id":"1329144399","filename":"file4"},{"photo_id":"1329144376","filename":"file1"},{"photo_id":"1329144371","filename":"file0"},{"photo_id":"1329144392","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329144399":["hashtag1","hashtag2"]},{"1329144392":["hashtag1","hashtag2"]},{"1329144386":["hashtag1","hashtag2"]},{"1329144371":["hashtag1","hashtag2"]},{"1329144404":["hashtag1","hashtag2"]},{"1329144376":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329144399, 1329144392, 1329144386, 1329144371, 1329144404, 1329144376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.005375623703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:42:03.173421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_01_2728.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_04_2812.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_07_3594.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_10_2871.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_13_2809.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_16_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_01_2728.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_04_2812.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_07_3594.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_10_2871.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_13_2809.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_16_2690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7132823467254639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:42:22.738716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_01_2728.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_04_2812.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_07_3594.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_10_2871.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_13_2809.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_16_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_01_2728.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_04_2812.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_07_3594.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_10_2871.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_13_2809.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_16_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329144766","1329144894","1329144762","1329144807","1329144889","1329144769"],"photo_ids_order":["1329144762","1329144766","1329144769","1329144807","1329144889","1329144894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/135d5e308d04472ba8ea457678e7f6d1.jpg","text":"TemporaryFile(/tmp/multipartBody4692609752529058125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948603442,"filename":"image_15012025_09_32_04_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f9ab0152e0d39011b62c061868c640bb.jpg","text":"TemporaryFile(/tmp/multipartBody8840635867507739098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948603442,"filename":"image_15012025_09_32_16_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10da2c77466a565b54c73d99c6e846a6.jpg","text":"TemporaryFile(/tmp/multipartBody6586835943794171776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948603442,"filename":"image_15012025_09_32_01_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/996f203abf722b5154134c2926f766f6.jpg","text":"TemporaryFile(/tmp/multipartBody8629086362606711387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948603442,"filename":"image_15012025_09_32_10_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77bdbcca8478cc57e4718ae06f2f2499.jpg","text":"TemporaryFile(/tmp/multipartBody3812494006947741127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948603442,"filename":"image_15012025_09_32_13_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3c51da2109706814a903d316e302ac8.jpg","text":"TemporaryFile(/tmp/multipartBody9178425912176268357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948603442,"filename":"image_15012025_09_32_07_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329144769","file1":"1329144766","file0":"1329144762","file4":"1329144889","file5":"1329144894","file3":"1329144807"},"map_files_photo_id_array":[{"photo_id":"1329144894","filename":"file5"},{"photo_id":"1329144769","filename":"file2"},{"photo_id":"1329144889","filename":"file4"},{"photo_id":"1329144766","filename":"file1"},{"photo_id":"1329144762","filename":"file0"},{"photo_id":"1329144807","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329144766":["hashtag1","hashtag2"]},{"1329144894":["hashtag1","hashtag2"]},{"1329144762":["hashtag1","hashtag2"]},{"1329144807":["hashtag1","hashtag2"]},{"1329144889":["hashtag1","hashtag2"]},{"1329144769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329144766, 1329144894, 1329144762, 1329144807, 1329144889, 1329144769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94245147705078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:43:02.567231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_19_3640.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_25_2676.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_28_3731.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_31_2655.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_34_2668.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_37_3875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_19_3640.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_25_2676.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_28_3731.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_31_2655.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_34_2668.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_37_3875.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329144922","1329144931","1329144904","1329144913","1329144907","1329144900"],"photo_ids_order":["1329144900","1329144904","1329144907","1329144913","1329144922","1329144931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa57c7bae9e39540b303780b85175238.jpg","text":"TemporaryFile(/tmp/multipartBody7026334226386718487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948643440,"filename":"image_15012025_09_32_34_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1924e303a43c2b431be94b75cc30c12.jpg","text":"TemporaryFile(/tmp/multipartBody525317305686614921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948643440,"filename":"image_15012025_09_32_37_3875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9960ba5d20ae9e97dcabf1b01f0aa943.jpg","text":"TemporaryFile(/tmp/multipartBody5482554922277359114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948643440,"filename":"image_15012025_09_32_25_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/37381e6732531d373133faf4b858c9af.jpg","text":"TemporaryFile(/tmp/multipartBody8766377786352088873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948643440,"filename":"image_15012025_09_32_31_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c4998c417a950c9fe82defa2925ff960.jpg","text":"TemporaryFile(/tmp/multipartBody2115717263817262997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948643440,"filename":"image_15012025_09_32_28_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d5184df66ff9000d8e23d1369a12979.jpg","text":"TemporaryFile(/tmp/multipartBody3379466029176174699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948643440,"filename":"image_15012025_09_32_19_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329144907","file1":"1329144904","file0":"1329144900","file4":"1329144922","file5":"1329144931","file3":"1329144913"},"map_files_photo_id_array":[{"photo_id":"1329144931","filename":"file5"},{"photo_id":"1329144907","filename":"file2"},{"photo_id":"1329144922","filename":"file4"},{"photo_id":"1329144904","filename":"file1"},{"photo_id":"1329144900","filename":"file0"},{"photo_id":"1329144913","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329144922":["hashtag1","hashtag2"]},{"1329144931":["hashtag1","hashtag2"]},{"1329144904":["hashtag1","hashtag2"]},{"1329144913":["hashtag1","hashtag2"]},{"1329144907":["hashtag1","hashtag2"]},{"1329144900":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329144922, 1329144931, 1329144904, 1329144913, 1329144907, 1329144900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72628331184387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:43:41.925363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_40_2789.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_43_2668.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_46_2869.jpg', '/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_52_3645.jpg', '/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_10_3870.jpg', '/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_25_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_40_2789.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_43_2668.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_46_2869.jpg
/home/pi/Desktop/images/15012025/09/32/image_15012025_09_32_52_3645.jpg
/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_10_3870.jpg
/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_25_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329145044","1329144945","1329144939","1329145241","1329145142","1329144959"],"photo_ids_order":["1329144939","1329144945","1329144959","1329145044","1329145142","1329145241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dae061f75b94ed83a2bf69e85eafbed1.jpg","text":"TemporaryFile(/tmp/multipartBody794654181022350682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948682685,"filename":"image_15012025_09_32_52_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c98b09de199d685f2cbd1211c2cae1af.jpg","text":"TemporaryFile(/tmp/multipartBody5406447415300563357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948682685,"filename":"image_15012025_09_32_43_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e674055a21d4940e771f36d7549fe57.jpg","text":"TemporaryFile(/tmp/multipartBody467777314139216315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948682685,"filename":"image_15012025_09_32_40_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d18b604e0d5a670583215e78730f0983.jpg","text":"TemporaryFile(/tmp/multipartBody4394591231232864923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948682685,"filename":"image_15012025_09_33_25_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/07b98973a93fb7aced20de915cc0e6e4.jpg","text":"TemporaryFile(/tmp/multipartBody4591423626271434173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948682685,"filename":"image_15012025_09_33_10_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f4e8dba9a3070ec52aa251dfd4f0023.jpg","text":"TemporaryFile(/tmp/multipartBody6280101371084200392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948682685,"filename":"image_15012025_09_32_46_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329144959","file1":"1329144945","file0":"1329144939","file4":"1329145142","file5":"1329145241","file3":"1329145044"},"map_files_photo_id_array":[{"photo_id":"1329145241","filename":"file5"},{"photo_id":"1329144959","filename":"file2"},{"photo_id":"1329145142","filename":"file4"},{"photo_id":"1329144945","filename":"file1"},{"photo_id":"1329144939","filename":"file0"},{"photo_id":"1329145044","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329145044":["hashtag1","hashtag2"]},{"1329144945":["hashtag1","hashtag2"]},{"1329144939":["hashtag1","hashtag2"]},{"1329145241":["hashtag1","hashtag2"]},{"1329145142":["hashtag1","hashtag2"]},{"1329144959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329145044, 1329144945, 1329144939, 1329145241, 1329145142, 1329144959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35297417640686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:44:21.738020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_52_3601.jpg', '/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_55_2680.jpg', '/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_57_2785.jpg', '/home/pi/Desktop/images/15012025/09/33/image_15012025_09_34_01_3780.jpg', '/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_04_2729.jpg', '/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_07_2903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_52_3601.jpg
/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_55_2680.jpg
/home/pi/Desktop/images/15012025/09/33/image_15012025_09_33_57_2785.jpg
/home/pi/Desktop/images/15012025/09/33/image_15012025_09_34_01_3780.jpg
/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_04_2729.jpg
/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_07_2903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329145464","1329145292","1329145451","1329145508","1329145441","1329145459"],"photo_ids_order":["1329145292","1329145441","1329145451","1329145459","1329145464","1329145508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/82fbfb5e0033bfeb029b2bb3b32e7314.jpg","text":"TemporaryFile(/tmp/multipartBody3502943265943098761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948722492,"filename":"image_15012025_09_34_04_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ae579fe2ef4ef2772fdbb222f6cdc32d.jpg","text":"TemporaryFile(/tmp/multipartBody4305063328147384086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948722492,"filename":"image_15012025_09_33_52_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c5e1884583f7bfc56ac5c9e5c69d7d12.jpg","text":"TemporaryFile(/tmp/multipartBody3885472447766538290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948722492,"filename":"image_15012025_09_33_57_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/35157e949fe696a206d2a9c9165d71f6.jpg","text":"TemporaryFile(/tmp/multipartBody2243106622034336660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948722492,"filename":"image_15012025_09_34_07_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10f1bf2832696a0b0fc7fdafc3fcfe53.jpg","text":"TemporaryFile(/tmp/multipartBody8238988813419046019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948722492,"filename":"image_15012025_09_33_55_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d9c9d9057783d956cd3646ebb55e4bf6.jpg","text":"TemporaryFile(/tmp/multipartBody4814352577656206703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948722492,"filename":"image_15012025_09_34_01_3780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329145451","file1":"1329145441","file0":"1329145292","file4":"1329145464","file5":"1329145508","file3":"1329145459"},"map_files_photo_id_array":[{"photo_id":"1329145508","filename":"file5"},{"photo_id":"1329145451","filename":"file2"},{"photo_id":"1329145464","filename":"file4"},{"photo_id":"1329145441","filename":"file1"},{"photo_id":"1329145292","filename":"file0"},{"photo_id":"1329145459","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329145464":["hashtag1","hashtag2"]},{"1329145292":["hashtag1","hashtag2"]},{"1329145451":["hashtag1","hashtag2"]},{"1329145508":["hashtag1","hashtag2"]},{"1329145441":["hashtag1","hashtag2"]},{"1329145459":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329145464, 1329145292, 1329145451, 1329145508, 1329145441, 1329145459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21704030036926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:45:02.786984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_16_3657.jpg', '/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_21_2645.jpg', '/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_25_3635.jpg', '/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_37_2710.jpg', '/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_51_2699.jpg', '/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_58_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_16_3657.jpg
/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_21_2645.jpg
/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_25_3635.jpg
/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_37_2710.jpg
/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_51_2699.jpg
/home/pi/Desktop/images/15012025/09/34/image_15012025_09_34_58_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329145539","1329145562","1329145541","1329145523","1329145543","1329145534"],"photo_ids_order":["1329145523","1329145534","1329145539","1329145541","1329145543","1329145562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/103023f529545177d5cc1031d1285645.jpg","text":"TemporaryFile(/tmp/multipartBody3422431126004325916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948763664,"filename":"image_15012025_09_34_25_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a432d6353b5684b8baff839216cd69f.jpg","text":"TemporaryFile(/tmp/multipartBody7030245470736428719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948763664,"filename":"image_15012025_09_34_58_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a291888fe045a9b31cf01fba34ab0241.jpg","text":"TemporaryFile(/tmp/multipartBody7523047273375724889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948763664,"filename":"image_15012025_09_34_37_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/98368076d2cb407d01a4d0234964b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1357907563092969085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948763664,"filename":"image_15012025_09_34_16_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28d7b3d0ff2536563cc0fac8f4945366.jpg","text":"TemporaryFile(/tmp/multipartBody5245687213037362887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948763664,"filename":"image_15012025_09_34_51_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffce236cff556ec8d263474fd607837f.jpg","text":"TemporaryFile(/tmp/multipartBody8719793951645233314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948763664,"filename":"image_15012025_09_34_21_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329145539","file1":"1329145534","file0":"1329145523","file4":"1329145543","file5":"1329145562","file3":"1329145541"},"map_files_photo_id_array":[{"photo_id":"1329145562","filename":"file5"},{"photo_id":"1329145539","filename":"file2"},{"photo_id":"1329145543","filename":"file4"},{"photo_id":"1329145534","filename":"file1"},{"photo_id":"1329145523","filename":"file0"},{"photo_id":"1329145541","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329145539":["hashtag1","hashtag2"]},{"1329145562":["hashtag1","hashtag2"]},{"1329145541":["hashtag1","hashtag2"]},{"1329145523":["hashtag1","hashtag2"]},{"1329145543":["hashtag1","hashtag2"]},{"1329145534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329145539, 1329145562, 1329145541, 1329145523, 1329145543, 1329145534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99902844429016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:45:42.126296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_09_2678.jpg', '/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_25_3749.jpg', '/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_40_2672.jpg', '/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_48_2620.jpg', '/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_55_3783.jpg', '/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_16_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_09_2678.jpg
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_25_3749.jpg
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_40_2672.jpg
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_48_2620.jpg
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_55_3783.jpg
/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_16_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329145776","1329145779","1329145743","1329145773","1329145709","1329145735"],"photo_ids_order":["1329145709","1329145735","1329145743","1329145773","1329145776","1329145779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5f2fc5eaf4605bf3de2cb6faa83eddff.jpg","text":"TemporaryFile(/tmp/multipartBody1398060355742647121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948802909,"filename":"image_15012025_09_35_55_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33835676ed01bfd571eeffee43cb3cdd.jpg","text":"TemporaryFile(/tmp/multipartBody3483994315427320981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948802909,"filename":"image_15012025_09_36_16_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0183959e346b169d792881764b08873.jpg","text":"TemporaryFile(/tmp/multipartBody5037436980823779891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948802909,"filename":"image_15012025_09_35_40_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/db2dd6ca66722e917b33dd65e7435cf0.jpg","text":"TemporaryFile(/tmp/multipartBody8782149093231279454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948802909,"filename":"image_15012025_09_35_48_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/42e666b7814ff7c26a146ac3bf2d4c6c.jpg","text":"TemporaryFile(/tmp/multipartBody1920225301774439214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948802909,"filename":"image_15012025_09_35_09_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/683164e8491d5bf7a8bc3d8b56cce50c.jpg","text":"TemporaryFile(/tmp/multipartBody7511873807580727756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736948802909,"filename":"image_15012025_09_35_25_3749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329145743","file1":"1329145735","file0":"1329145709","file4":"1329145776","file5":"1329145779","file3":"1329145773"},"map_files_photo_id_array":[{"photo_id":"1329145779","filename":"file5"},{"photo_id":"1329145743","filename":"file2"},{"photo_id":"1329145776","filename":"file4"},{"photo_id":"1329145735","filename":"file1"},{"photo_id":"1329145709","filename":"file0"},{"photo_id":"1329145773","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329145776":["hashtag1","hashtag2"]},{"1329145779":["hashtag1","hashtag2"]},{"1329145743":["hashtag1","hashtag2"]},{"1329145773":["hashtag1","hashtag2"]},{"1329145709":["hashtag1","hashtag2"]},{"1329145735":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329145776, 1329145779, 1329145743, 1329145773, 1329145709, 1329145735)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1329145743 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_40_2672.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1329145743 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_40_2672.jpg";
uploaded 6 photos
time to upload: 62.83974528312683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:47:03.530188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:47:32.008366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:48:02.337169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:49:03.375829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:49:26.571644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:49:42.541553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_09_2678.jpg', '/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_25_3749.jpg', '/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_40_2672.jpg', '/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_48_2620.jpg', '/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_55_3783.jpg', '/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_16_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_09_2678.jpg
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_25_3749.jpg
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_40_2672.jpg
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_48_2620.jpg
/home/pi/Desktop/images/15012025/09/35/image_15012025_09_35_55_3783.jpg
/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_16_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146058","1329146077","1329146079","1329146073","1329146067","1329146082"],"photo_ids_order":["1329146058","1329146067","1329146073","1329146077","1329146079","1329146082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb8beae0c2af7d7db9e8a12995b50066.jpg","text":"TemporaryFile(/tmp/multipartBody7414715482116712016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949043271,"filename":"image_15012025_09_35_09_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4b7d5dcd4fb98d7a97fa4f7fa122b5c2.jpg","text":"TemporaryFile(/tmp/multipartBody1950264648605434643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949043271,"filename":"image_15012025_09_35_48_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97b28968b58d35abcb0363d85c40798b.jpg","text":"TemporaryFile(/tmp/multipartBody2441522505668416966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949043271,"filename":"image_15012025_09_35_55_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87e55009ac630b656a5f6964fa737fca.jpg","text":"TemporaryFile(/tmp/multipartBody7481834280866424512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949043271,"filename":"image_15012025_09_35_40_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2581a72c519b2ffc482f82dbe821d08e.jpg","text":"TemporaryFile(/tmp/multipartBody3605741738919233060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949043271,"filename":"image_15012025_09_35_25_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c2e7a917b8f0df171329313af842e622.jpg","text":"TemporaryFile(/tmp/multipartBody9073557686967566784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949043271,"filename":"image_15012025_09_36_16_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146073","file1":"1329146067","file0":"1329146058","file4":"1329146079","file5":"1329146082","file3":"1329146077"},"map_files_photo_id_array":[{"photo_id":"1329146082","filename":"file5"},{"photo_id":"1329146073","filename":"file2"},{"photo_id":"1329146079","filename":"file4"},{"photo_id":"1329146067","filename":"file1"},{"photo_id":"1329146058","filename":"file0"},{"photo_id":"1329146077","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146058":["hashtag1","hashtag2"]},{"1329146077":["hashtag1","hashtag2"]},{"1329146079":["hashtag1","hashtag2"]},{"1329146073":["hashtag1","hashtag2"]},{"1329146067":["hashtag1","hashtag2"]},{"1329146082":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146058, 1329146077, 1329146079, 1329146073, 1329146067, 1329146082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50500273704529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:50:22.776977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_19_2643.jpg', '/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_24_2807.jpg', '/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_31_3711.jpg', '/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_40_3566.jpg', '/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_57_2712.jpg', '/home/pi/Desktop/images/15012025/09/37/image_15012025_09_37_21_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_19_2643.jpg
/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_24_2807.jpg
/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_31_3711.jpg
/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_40_3566.jpg
/home/pi/Desktop/images/15012025/09/36/image_15012025_09_36_57_2712.jpg
/home/pi/Desktop/images/15012025/09/37/image_15012025_09_37_21_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146121","1329146093","1329146087","1329146105","1329146113","1329146091"],"photo_ids_order":["1329146087","1329146091","1329146093","1329146105","1329146113","1329146121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2b8471982cb6bb3c95dab1f89be6a51e.jpg","text":"TemporaryFile(/tmp/multipartBody7936403037767282519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949083515,"filename":"image_15012025_09_37_21_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/558555914874ab64ef97001e4573e329.jpg","text":"TemporaryFile(/tmp/multipartBody7150328674391593611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949083515,"filename":"image_15012025_09_36_31_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8512ecbafe6586ee4868e3ddda08a04f.jpg","text":"TemporaryFile(/tmp/multipartBody3766819947520832631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949083515,"filename":"image_15012025_09_36_19_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d03ee28d29d4da2f5ae650418525a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3127033607278944326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949083515,"filename":"image_15012025_09_36_40_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f06d9910ed0f1f7d586e2cf21b216c90.jpg","text":"TemporaryFile(/tmp/multipartBody3373412488537868242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949083515,"filename":"image_15012025_09_36_57_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4cedcfe2e750435aad9225988f68f35f.jpg","text":"TemporaryFile(/tmp/multipartBody254049640664591311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949083515,"filename":"image_15012025_09_36_24_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146093","file1":"1329146091","file0":"1329146087","file4":"1329146113","file5":"1329146121","file3":"1329146105"},"map_files_photo_id_array":[{"photo_id":"1329146121","filename":"file5"},{"photo_id":"1329146093","filename":"file2"},{"photo_id":"1329146113","filename":"file4"},{"photo_id":"1329146091","filename":"file1"},{"photo_id":"1329146087","filename":"file0"},{"photo_id":"1329146105","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146121":["hashtag1","hashtag2"]},{"1329146093":["hashtag1","hashtag2"]},{"1329146087":["hashtag1","hashtag2"]},{"1329146105":["hashtag1","hashtag2"]},{"1329146113":["hashtag1","hashtag2"]},{"1329146091":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146121, 1329146093, 1329146087, 1329146105, 1329146113, 1329146091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17218208312988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:51:03.262596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/38/image_15012025_09_38_12_2633.jpg', '/home/pi/Desktop/images/15012025/09/40/image_15012025_09_40_51_2774.jpg', '/home/pi/Desktop/images/15012025/09/41/image_15012025_09_41_36_2786.jpg', '/home/pi/Desktop/images/15012025/09/41/image_15012025_09_41_40_3841.jpg', '/home/pi/Desktop/images/15012025/09/41/image_15012025_09_41_42_2735.jpg', '/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_12_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/38/image_15012025_09_38_12_2633.jpg
/home/pi/Desktop/images/15012025/09/40/image_15012025_09_40_51_2774.jpg
/home/pi/Desktop/images/15012025/09/41/image_15012025_09_41_36_2786.jpg
/home/pi/Desktop/images/15012025/09/41/image_15012025_09_41_40_3841.jpg
/home/pi/Desktop/images/15012025/09/41/image_15012025_09_41_42_2735.jpg
/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_12_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146157","1329146142","1329146136","1329146145","1329146139","1329146149"],"photo_ids_order":["1329146136","1329146139","1329146142","1329146145","1329146149","1329146157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e73db94d3b8701f88f90911c8046e584.jpg","text":"TemporaryFile(/tmp/multipartBody4744540764138927897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949124238,"filename":"image_15012025_09_43_12_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/08cfb1aecc028653b984daeb91835a39.jpg","text":"TemporaryFile(/tmp/multipartBody3400795890537436655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949124238,"filename":"image_15012025_09_41_36_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2d99b9e2da77c5b875958e8cf50fe95.jpg","text":"TemporaryFile(/tmp/multipartBody1660718508544628498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949124238,"filename":"image_15012025_09_38_12_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d27f02b8426e2b789d5648bb60a89ca2.jpg","text":"TemporaryFile(/tmp/multipartBody7879035099100301186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949124238,"filename":"image_15012025_09_41_40_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f17355a2f3f8ba78c76714a844f73fe.jpg","text":"TemporaryFile(/tmp/multipartBody2910297112281282192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949124238,"filename":"image_15012025_09_40_51_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b9a2748ff9d7b571d6ff597f4d5a2c73.jpg","text":"TemporaryFile(/tmp/multipartBody8983139733250618522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949124238,"filename":"image_15012025_09_41_42_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146142","file1":"1329146139","file0":"1329146136","file4":"1329146149","file5":"1329146157","file3":"1329146145"},"map_files_photo_id_array":[{"photo_id":"1329146157","filename":"file5"},{"photo_id":"1329146142","filename":"file2"},{"photo_id":"1329146149","filename":"file4"},{"photo_id":"1329146139","filename":"file1"},{"photo_id":"1329146136","filename":"file0"},{"photo_id":"1329146145","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146157":["hashtag1","hashtag2"]},{"1329146142":["hashtag1","hashtag2"]},{"1329146136":["hashtag1","hashtag2"]},{"1329146145":["hashtag1","hashtag2"]},{"1329146139":["hashtag1","hashtag2"]},{"1329146149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146157, 1329146142, 1329146136, 1329146145, 1329146139, 1329146149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93178033828735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:51:42.641498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_15_3742.jpg', '/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_24_2605.jpg', '/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_30_3695.jpg', '/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_33_2704.jpg', '/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_36_2670.jpg', '/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_39_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_15_3742.jpg
/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_24_2605.jpg
/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_30_3695.jpg
/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_33_2704.jpg
/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_36_2670.jpg
/home/pi/Desktop/images/15012025/09/43/image_15012025_09_43_39_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146180","1329146191","1329146188","1329146185","1329146206","1329146172"],"photo_ids_order":["1329146172","1329146180","1329146185","1329146188","1329146191","1329146206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/914bc9f291fa85a49ebec36340d69b02.jpg","text":"TemporaryFile(/tmp/multipartBody8313098032359986981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949163441,"filename":"image_15012025_09_43_24_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d181db2458a8d98c446e12b0c24ae4ad.jpg","text":"TemporaryFile(/tmp/multipartBody395894615006100173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949163441,"filename":"image_15012025_09_43_36_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1588e20e7a8435ef3b80691a1703a41.jpg","text":"TemporaryFile(/tmp/multipartBody6309468453726684516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949163441,"filename":"image_15012025_09_43_33_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f682442b44529145a41963f3f9b0187e.jpg","text":"TemporaryFile(/tmp/multipartBody2778774089848518243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949163441,"filename":"image_15012025_09_43_30_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0c47230a25c19101ea72999ee7bd0df4.jpg","text":"TemporaryFile(/tmp/multipartBody9083167392051891763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949163441,"filename":"image_15012025_09_43_39_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f14aca61bfdbd6056961080c2fbf1cff.jpg","text":"TemporaryFile(/tmp/multipartBody590617860813871205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949163441,"filename":"image_15012025_09_43_15_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146185","file1":"1329146180","file0":"1329146172","file4":"1329146191","file5":"1329146206","file3":"1329146188"},"map_files_photo_id_array":[{"photo_id":"1329146206","filename":"file5"},{"photo_id":"1329146185","filename":"file2"},{"photo_id":"1329146191","filename":"file4"},{"photo_id":"1329146180","filename":"file1"},{"photo_id":"1329146172","filename":"file0"},{"photo_id":"1329146188","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146180":["hashtag1","hashtag2"]},{"1329146191":["hashtag1","hashtag2"]},{"1329146188":["hashtag1","hashtag2"]},{"1329146185":["hashtag1","hashtag2"]},{"1329146206":["hashtag1","hashtag2"]},{"1329146172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146180, 1329146191, 1329146188, 1329146185, 1329146206, 1329146172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09814238548279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:52:22.258813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/44/image_15012025_09_44_17_2856.jpg', '/home/pi/Desktop/images/15012025/09/44/image_15012025_09_44_42_3652.jpg', '/home/pi/Desktop/images/15012025/09/46/image_15012025_09_46_14_2802.jpg', '/home/pi/Desktop/images/15012025/09/47/image_15012025_09_47_50_2609.jpg', '/home/pi/Desktop/images/15012025/09/50/image_15012025_09_50_26_2737.jpg', '/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_02_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/44/image_15012025_09_44_17_2856.jpg
/home/pi/Desktop/images/15012025/09/44/image_15012025_09_44_42_3652.jpg
/home/pi/Desktop/images/15012025/09/46/image_15012025_09_46_14_2802.jpg
/home/pi/Desktop/images/15012025/09/47/image_15012025_09_47_50_2609.jpg
/home/pi/Desktop/images/15012025/09/50/image_15012025_09_50_26_2737.jpg
/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_02_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146243","1329146267","1329146272","1329146281","1329146248","1329146289"],"photo_ids_order":["1329146243","1329146248","1329146267","1329146272","1329146281","1329146289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e857795e952e64c5d6b2287e7d01928b.jpg","text":"TemporaryFile(/tmp/multipartBody8112311170822658421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949203025,"filename":"image_15012025_09_44_17_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/627012ff5ef178eca02dbe4372ee59ff.jpg","text":"TemporaryFile(/tmp/multipartBody4214206036495217795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949203025,"filename":"image_15012025_09_46_14_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/47213596fd805aae9173af27189fd22c.jpg","text":"TemporaryFile(/tmp/multipartBody8914874042837107177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949203025,"filename":"image_15012025_09_47_50_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22afc2fd85d6462f77ea87388d46b67d.jpg","text":"TemporaryFile(/tmp/multipartBody9058998168464476002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949203025,"filename":"image_15012025_09_50_26_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c307b1d7142519f40fedf3ca7f6f9da6.jpg","text":"TemporaryFile(/tmp/multipartBody5874744889773103281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949203025,"filename":"image_15012025_09_44_42_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/392123d88e37e911f93c8f478fb807a5.jpg","text":"TemporaryFile(/tmp/multipartBody3824067940587876362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949203025,"filename":"image_15012025_09_53_02_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146267","file1":"1329146248","file0":"1329146243","file4":"1329146281","file5":"1329146289","file3":"1329146272"},"map_files_photo_id_array":[{"photo_id":"1329146289","filename":"file5"},{"photo_id":"1329146267","filename":"file2"},{"photo_id":"1329146281","filename":"file4"},{"photo_id":"1329146248","filename":"file1"},{"photo_id":"1329146243","filename":"file0"},{"photo_id":"1329146272","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146243":["hashtag1","hashtag2"]},{"1329146267":["hashtag1","hashtag2"]},{"1329146272":["hashtag1","hashtag2"]},{"1329146281":["hashtag1","hashtag2"]},{"1329146248":["hashtag1","hashtag2"]},{"1329146289":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146243, 1329146267, 1329146272, 1329146281, 1329146248, 1329146289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21611452102661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:53:02.829046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_23_2930.jpg', '/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_25_2708.jpg', '/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_29_3712.jpg', '/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_32_2756.jpg', '/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_35_2679.jpg', '/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_38_3049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_23_2930.jpg
/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_25_2708.jpg
/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_29_3712.jpg
/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_32_2756.jpg
/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_35_2679.jpg
/home/pi/Desktop/images/15012025/09/53/image_15012025_09_53_38_3049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146316","1329146319","1329146321","1329146318","1329146317","1329146326"],"photo_ids_order":["1329146316","1329146317","1329146318","1329146319","1329146321","1329146326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/343a98cf30bb06414e59ee03d2b7e3fc.jpg","text":"TemporaryFile(/tmp/multipartBody1246608254637012840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949243667,"filename":"image_15012025_09_53_23_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fa6f23210c848566612f2be3b919bff9.jpg","text":"TemporaryFile(/tmp/multipartBody5460008741697632394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949243667,"filename":"image_15012025_09_53_32_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab257f4f86a10a9e83ccb37b11c372f1.jpg","text":"TemporaryFile(/tmp/multipartBody697623953150618171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949243667,"filename":"image_15012025_09_53_35_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fae650d4cf2c380befe8c47904afe7a1.jpg","text":"TemporaryFile(/tmp/multipartBody1946023474319108795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949243667,"filename":"image_15012025_09_53_29_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/51e2ea8b80ab454e81178531c3ee90f2.jpg","text":"TemporaryFile(/tmp/multipartBody897771189563762367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949243667,"filename":"image_15012025_09_53_25_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40f35e89cce73d08aaceed534b7fe442.jpg","text":"TemporaryFile(/tmp/multipartBody4857715970091185166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949243667,"filename":"image_15012025_09_53_38_3049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146318","file1":"1329146317","file0":"1329146316","file4":"1329146321","file5":"1329146326","file3":"1329146319"},"map_files_photo_id_array":[{"photo_id":"1329146326","filename":"file5"},{"photo_id":"1329146318","filename":"file2"},{"photo_id":"1329146321","filename":"file4"},{"photo_id":"1329146317","filename":"file1"},{"photo_id":"1329146316","filename":"file0"},{"photo_id":"1329146319","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146316":["hashtag1","hashtag2"]},{"1329146319":["hashtag1","hashtag2"]},{"1329146321":["hashtag1","hashtag2"]},{"1329146318":["hashtag1","hashtag2"]},{"1329146317":["hashtag1","hashtag2"]},{"1329146326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146316, 1329146319, 1329146321, 1329146318, 1329146317, 1329146326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51616454124451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:53:42.087521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/09/56/image_15012025_09_56_08_2662.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_08_3757.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_13_2594.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_26_3658.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_29_2696.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_31_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/09/56/image_15012025_09_56_08_2662.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_08_3757.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_13_2594.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_26_3658.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_29_2696.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_31_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146343","1329146363","1329146357","1329146351","1329146380","1329146368"],"photo_ids_order":["1329146343","1329146351","1329146357","1329146363","1329146368","1329146380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/128a1d77431dacadeeccc5998b096fb1.jpg","text":"TemporaryFile(/tmp/multipartBody858326291293803595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949282884,"filename":"image_15012025_09_56_08_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e706e8b5c5a492a79e9737d8fcc3ca28.jpg","text":"TemporaryFile(/tmp/multipartBody6057668297910996519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949282884,"filename":"image_15012025_10_04_26_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67cc1fb97b93583e8f5925db77d2ba13.jpg","text":"TemporaryFile(/tmp/multipartBody1522748913477658673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949282884,"filename":"image_15012025_10_04_13_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02ba6f6070300adf3096ec6162e1ac45.jpg","text":"TemporaryFile(/tmp/multipartBody7319465752064160395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949282884,"filename":"image_15012025_10_04_08_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4121a012c4797f8bcc661309b5582a74.jpg","text":"TemporaryFile(/tmp/multipartBody8183525851142189715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949282884,"filename":"image_15012025_10_04_31_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8c73b5d51db57fca53afe602c3c64ada.jpg","text":"TemporaryFile(/tmp/multipartBody847952947046962428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949282884,"filename":"image_15012025_10_04_29_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146357","file1":"1329146351","file0":"1329146343","file4":"1329146368","file5":"1329146380","file3":"1329146363"},"map_files_photo_id_array":[{"photo_id":"1329146380","filename":"file5"},{"photo_id":"1329146357","filename":"file2"},{"photo_id":"1329146368","filename":"file4"},{"photo_id":"1329146351","filename":"file1"},{"photo_id":"1329146343","filename":"file0"},{"photo_id":"1329146363","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146343":["hashtag1","hashtag2"]},{"1329146363":["hashtag1","hashtag2"]},{"1329146357":["hashtag1","hashtag2"]},{"1329146351":["hashtag1","hashtag2"]},{"1329146380":["hashtag1","hashtag2"]},{"1329146368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146343, 1329146363, 1329146357, 1329146351, 1329146380, 1329146368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69832468032837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:54:22.365733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_34_2755.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_38_3619.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_40_2596.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_43_2731.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_50_2739.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_52_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_34_2755.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_38_3619.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_40_2596.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_43_2731.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_50_2739.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_52_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146412","1329146403","1329146386","1329146395","1329146389","1329146385"],"photo_ids_order":["1329146385","1329146386","1329146389","1329146395","1329146403","1329146412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b8260d31aeb785c3a9735eee0add1da1.jpg","text":"TemporaryFile(/tmp/multipartBody4886667770548110117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949323090,"filename":"image_15012025_10_04_52_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/db83a5b8924d7ce2a02c0a795b158aff.jpg","text":"TemporaryFile(/tmp/multipartBody3071243956081463974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949323090,"filename":"image_15012025_10_04_50_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8fe0e06fb88bea5007a56b00ffc872b0.jpg","text":"TemporaryFile(/tmp/multipartBody3484110853865632386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949323090,"filename":"image_15012025_10_04_38_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16d9740e0716ab5ac2fe811a4940b517.jpg","text":"TemporaryFile(/tmp/multipartBody798562235873216354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949323090,"filename":"image_15012025_10_04_43_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0901f2c0b613cbe64cabc149ab13040d.jpg","text":"TemporaryFile(/tmp/multipartBody425812193644405541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949323090,"filename":"image_15012025_10_04_40_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0660631620d06f39a5ee0cd0ec7276b.jpg","text":"TemporaryFile(/tmp/multipartBody6799319490981414337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949323090,"filename":"image_15012025_10_04_34_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146389","file1":"1329146386","file0":"1329146385","file4":"1329146403","file5":"1329146412","file3":"1329146395"},"map_files_photo_id_array":[{"photo_id":"1329146412","filename":"file5"},{"photo_id":"1329146389","filename":"file2"},{"photo_id":"1329146403","filename":"file4"},{"photo_id":"1329146386","filename":"file1"},{"photo_id":"1329146385","filename":"file0"},{"photo_id":"1329146395","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146412":["hashtag1","hashtag2"]},{"1329146403":["hashtag1","hashtag2"]},{"1329146386":["hashtag1","hashtag2"]},{"1329146395":["hashtag1","hashtag2"]},{"1329146389":["hashtag1","hashtag2"]},{"1329146385":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146412, 1329146403, 1329146386, 1329146395, 1329146389, 1329146385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73488926887512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:55:03.293972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_56_3610.jpg', '/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_59_2622.jpg', '/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_07_3014.jpg', '/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_10_3551.jpg', '/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_19_2845.jpg', '/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_25_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_56_3610.jpg
/home/pi/Desktop/images/15012025/10/04/image_15012025_10_04_59_2622.jpg
/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_07_3014.jpg
/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_10_3551.jpg
/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_19_2845.jpg
/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_25_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146442","1329146436","1329146441","1329146446","1329146457","1329146439"],"photo_ids_order":["1329146436","1329146439","1329146441","1329146442","1329146446","1329146457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/56ba997981f53db6ef3d11b196adc283.jpg","text":"TemporaryFile(/tmp/multipartBody1903140063067473834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949364080,"filename":"image_15012025_10_05_10_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14a7673d2d62f6f8b6a0335fb7c2cbfd.jpg","text":"TemporaryFile(/tmp/multipartBody6513547600752458073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949364080,"filename":"image_15012025_10_04_56_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/12d7e3716d55d23fdce189df04d7941a.jpg","text":"TemporaryFile(/tmp/multipartBody5034098926721864727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949364080,"filename":"image_15012025_10_05_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/904bfdc0461db160bf6f57a2d7ced8f3.jpg","text":"TemporaryFile(/tmp/multipartBody1686714901828123377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949364080,"filename":"image_15012025_10_05_19_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c8ae91d43e0dbe9c2073b4dd862cf7d.jpg","text":"TemporaryFile(/tmp/multipartBody8882549217305754655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949364080,"filename":"image_15012025_10_05_25_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1a5faf29cfe95e1e76f123f4288a14f3.jpg","text":"TemporaryFile(/tmp/multipartBody2191324027951393699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949364080,"filename":"image_15012025_10_04_59_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146441","file1":"1329146439","file0":"1329146436","file4":"1329146446","file5":"1329146457","file3":"1329146442"},"map_files_photo_id_array":[{"photo_id":"1329146457","filename":"file5"},{"photo_id":"1329146441","filename":"file2"},{"photo_id":"1329146446","filename":"file4"},{"photo_id":"1329146439","filename":"file1"},{"photo_id":"1329146436","filename":"file0"},{"photo_id":"1329146442","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146442":["hashtag1","hashtag2"]},{"1329146436":["hashtag1","hashtag2"]},{"1329146441":["hashtag1","hashtag2"]},{"1329146446":["hashtag1","hashtag2"]},{"1329146457":["hashtag1","hashtag2"]},{"1329146439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146442, 1329146436, 1329146441, 1329146446, 1329146457, 1329146439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.716498374938965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:55:42.492687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_28_3702.jpg', '/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_34_2632.jpg', '/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_43_2709.jpg', '/home/pi/Desktop/images/15012025/10/07/image_15012025_10_07_07_2813.jpg', '/home/pi/Desktop/images/15012025/10/07/image_15012025_10_07_57_2731.jpg', '/home/pi/Desktop/images/15012025/10/12/image_15012025_10_12_08_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_28_3702.jpg
/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_34_2632.jpg
/home/pi/Desktop/images/15012025/10/05/image_15012025_10_05_43_2709.jpg
/home/pi/Desktop/images/15012025/10/07/image_15012025_10_07_07_2813.jpg
/home/pi/Desktop/images/15012025/10/07/image_15012025_10_07_57_2731.jpg
/home/pi/Desktop/images/15012025/10/12/image_15012025_10_12_08_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146511","1329146514","1329146498","1329146517","1329146505","1329146490"],"photo_ids_order":["1329146490","1329146498","1329146505","1329146511","1329146514","1329146517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/42c1b782f6621aa5a18552c7c67fcde4.jpg","text":"TemporaryFile(/tmp/multipartBody7813647536388988799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949403245,"filename":"image_15012025_10_07_07_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0507efee32fd7a6342828a6ec66a1fcc.jpg","text":"TemporaryFile(/tmp/multipartBody6146581160798406666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949403245,"filename":"image_15012025_10_07_57_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/27938856db7986667fd9dd9b51855918.jpg","text":"TemporaryFile(/tmp/multipartBody5132605731757732134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949403245,"filename":"image_15012025_10_05_34_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c3b45577fc4089e2727e219bcffa6311.jpg","text":"TemporaryFile(/tmp/multipartBody1901754704541049842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949403245,"filename":"image_15012025_10_12_08_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d6fd8e359d08bfa34a82a6605ea0a3c6.jpg","text":"TemporaryFile(/tmp/multipartBody4852762592381407878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949403245,"filename":"image_15012025_10_05_43_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84a1033cf10aefc158807dde964e9d6b.jpg","text":"TemporaryFile(/tmp/multipartBody1629077374939782356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949403245,"filename":"image_15012025_10_05_28_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146505","file1":"1329146498","file0":"1329146490","file4":"1329146514","file5":"1329146517","file3":"1329146511"},"map_files_photo_id_array":[{"photo_id":"1329146517","filename":"file5"},{"photo_id":"1329146505","filename":"file2"},{"photo_id":"1329146514","filename":"file4"},{"photo_id":"1329146498","filename":"file1"},{"photo_id":"1329146490","filename":"file0"},{"photo_id":"1329146511","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146511":["hashtag1","hashtag2"]},{"1329146514":["hashtag1","hashtag2"]},{"1329146498":["hashtag1","hashtag2"]},{"1329146517":["hashtag1","hashtag2"]},{"1329146505":["hashtag1","hashtag2"]},{"1329146490":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146511, 1329146514, 1329146498, 1329146517, 1329146505, 1329146490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.216838359832764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 14:56:22.266101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/14/image_15012025_10_14_23_3631.jpg', '/home/pi/Desktop/images/15012025/10/16/image_15012025_10_16_40_2877.jpg', '/home/pi/Desktop/images/15012025/10/17/image_15012025_10_17_50_3669.jpg', '/home/pi/Desktop/images/15012025/10/19/image_15012025_10_19_13_3670.jpg', '/home/pi/Desktop/images/15012025/10/19/image_15012025_10_19_49_2565.jpg', '/home/pi/Desktop/images/15012025/10/19/image_15012025_10_19_52_3844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/14/image_15012025_10_14_23_3631.jpg
/home/pi/Desktop/images/15012025/10/16/image_15012025_10_16_40_2877.jpg
/home/pi/Desktop/images/15012025/10/17/image_15012025_10_17_50_3669.jpg
/home/pi/Desktop/images/15012025/10/19/image_15012025_10_19_13_3670.jpg
/home/pi/Desktop/images/15012025/10/19/image_15012025_10_19_49_2565.jpg
/home/pi/Desktop/images/15012025/10/19/image_15012025_10_19_52_3844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146520","1329146549","1329146534","1329146522","1329146542","1329146556"],"photo_ids_order":["1329146520","1329146522","1329146534","1329146542","1329146549","1329146556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/57544c7169d6f507fa60846aba300b74.jpg","text":"TemporaryFile(/tmp/multipartBody7241839860087945784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949443008,"filename":"image_15012025_10_14_23_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f7f6b6ab49c579d5d8bd0f5093ba4ed8.jpg","text":"TemporaryFile(/tmp/multipartBody3550686008712199765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949443008,"filename":"image_15012025_10_19_49_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4584c777b69781340130c3514c8b9521.jpg","text":"TemporaryFile(/tmp/multipartBody951288174643159941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949443008,"filename":"image_15012025_10_17_50_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c3a94fadf52b3f0baed527904a4ec9c.jpg","text":"TemporaryFile(/tmp/multipartBody2578275360096684006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949443008,"filename":"image_15012025_10_16_40_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3756f6bde7806987eadf7da798fa6a08.jpg","text":"TemporaryFile(/tmp/multipartBody8282940505131611537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949443008,"filename":"image_15012025_10_19_13_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/23de153e861a11a0a1f8eae0140292d2.jpg","text":"TemporaryFile(/tmp/multipartBody745002363391494284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949443008,"filename":"image_15012025_10_19_52_3844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146534","file1":"1329146522","file0":"1329146520","file4":"1329146549","file5":"1329146556","file3":"1329146542"},"map_files_photo_id_array":[{"photo_id":"1329146556","filename":"file5"},{"photo_id":"1329146534","filename":"file2"},{"photo_id":"1329146549","filename":"file4"},{"photo_id":"1329146522","filename":"file1"},{"photo_id":"1329146520","filename":"file0"},{"photo_id":"1329146542","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146520":["hashtag1","hashtag2"]},{"1329146549":["hashtag1","hashtag2"]},{"1329146534":["hashtag1","hashtag2"]},{"1329146522":["hashtag1","hashtag2"]},{"1329146542":["hashtag1","hashtag2"]},{"1329146556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146520, 1329146549, 1329146534, 1329146522, 1329146542, 1329146556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36485028266907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:57:03.305195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_20_2581.jpg', '/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_22_2701.jpg', '/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_26_3717.jpg', '/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_29_2811.jpg', '/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_32_2680.jpg', '/home/pi/Desktop/images/15012025/10/22/image_15012025_10_22_50_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_20_2581.jpg
/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_22_2701.jpg
/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_26_3717.jpg
/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_29_2811.jpg
/home/pi/Desktop/images/15012025/10/21/image_15012025_10_21_32_2680.jpg
/home/pi/Desktop/images/15012025/10/22/image_15012025_10_22_50_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146631","1329146625","1329146628","1329146627","1329146590","1329146629"],"photo_ids_order":["1329146590","1329146625","1329146627","1329146628","1329146629","1329146631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/300aadd50065504578c4d0a1098283cd.jpg","text":"TemporaryFile(/tmp/multipartBody8738081056314883922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949484075,"filename":"image_15012025_10_22_50_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c91c30fda6ffdd9f7b791db8b92eb0f6.jpg","text":"TemporaryFile(/tmp/multipartBody960117295344779589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949484075,"filename":"image_15012025_10_21_22_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05080dfd82c505059efbc4e7ae5db2bc.jpg","text":"TemporaryFile(/tmp/multipartBody3213513017102928386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949484075,"filename":"image_15012025_10_21_29_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9863a9aba7d1d7e73ac71ebebdcb42bf.jpg","text":"TemporaryFile(/tmp/multipartBody8325276617313097380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949484075,"filename":"image_15012025_10_21_26_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/732a159e97b986b9d286422593ca348f.jpg","text":"TemporaryFile(/tmp/multipartBody4757419571902861169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949484075,"filename":"image_15012025_10_21_20_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/39daf72deffc6db37db46086077b8301.jpg","text":"TemporaryFile(/tmp/multipartBody8846110637135314048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949484075,"filename":"image_15012025_10_21_32_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146627","file1":"1329146625","file0":"1329146590","file4":"1329146629","file5":"1329146631","file3":"1329146628"},"map_files_photo_id_array":[{"photo_id":"1329146631","filename":"file5"},{"photo_id":"1329146627","filename":"file2"},{"photo_id":"1329146629","filename":"file4"},{"photo_id":"1329146625","filename":"file1"},{"photo_id":"1329146590","filename":"file0"},{"photo_id":"1329146628","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146631":["hashtag1","hashtag2"]},{"1329146625":["hashtag1","hashtag2"]},{"1329146628":["hashtag1","hashtag2"]},{"1329146627":["hashtag1","hashtag2"]},{"1329146590":["hashtag1","hashtag2"]},{"1329146629":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146631, 1329146625, 1329146628, 1329146627, 1329146590, 1329146629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08806562423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:57:42.618238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/24/image_15012025_10_24_31_2587.jpg', '/home/pi/Desktop/images/15012025/10/25/image_15012025_10_25_20_3586.jpg', '/home/pi/Desktop/images/15012025/10/26/image_15012025_10_26_35_3682.jpg', '/home/pi/Desktop/images/15012025/10/27/image_15012025_10_27_34_2641.jpg', '/home/pi/Desktop/images/15012025/10/27/image_15012025_10_27_59_3715.jpg', '/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_02_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/24/image_15012025_10_24_31_2587.jpg
/home/pi/Desktop/images/15012025/10/25/image_15012025_10_25_20_3586.jpg
/home/pi/Desktop/images/15012025/10/26/image_15012025_10_26_35_3682.jpg
/home/pi/Desktop/images/15012025/10/27/image_15012025_10_27_34_2641.jpg
/home/pi/Desktop/images/15012025/10/27/image_15012025_10_27_59_3715.jpg
/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_02_2733.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146675","1329146648","1329146662","1329146668","1329146673","1329146655"],"photo_ids_order":["1329146648","1329146655","1329146662","1329146668","1329146673","1329146675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4712d16c27985dccaaa60f654a43e43.jpg","text":"TemporaryFile(/tmp/multipartBody5693299992776828005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949523373,"filename":"image_15012025_10_28_02_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/536353d7066a3a98e9b137f2da1d618e.jpg","text":"TemporaryFile(/tmp/multipartBody6037058174548919108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949523373,"filename":"image_15012025_10_24_31_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/23bd5fdba6afb845add3286fd69f8cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8996565861120205179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949523373,"filename":"image_15012025_10_26_35_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8e70b95ea1810d8c04b3aee6f9f32cf6.jpg","text":"TemporaryFile(/tmp/multipartBody4436838213727839410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949523373,"filename":"image_15012025_10_27_34_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee04bb6867807471b1653ea44ac8622c.jpg","text":"TemporaryFile(/tmp/multipartBody7237466002426016744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949523373,"filename":"image_15012025_10_27_59_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7ed7c1c8b8499590c2b66ab714aa1fff.jpg","text":"TemporaryFile(/tmp/multipartBody2651420016885028637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949523373,"filename":"image_15012025_10_25_20_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146662","file1":"1329146655","file0":"1329146648","file4":"1329146673","file5":"1329146675","file3":"1329146668"},"map_files_photo_id_array":[{"photo_id":"1329146675","filename":"file5"},{"photo_id":"1329146662","filename":"file2"},{"photo_id":"1329146673","filename":"file4"},{"photo_id":"1329146655","filename":"file1"},{"photo_id":"1329146648","filename":"file0"},{"photo_id":"1329146668","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146675":["hashtag1","hashtag2"]},{"1329146648":["hashtag1","hashtag2"]},{"1329146662":["hashtag1","hashtag2"]},{"1329146668":["hashtag1","hashtag2"]},{"1329146673":["hashtag1","hashtag2"]},{"1329146655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146675, 1329146648, 1329146662, 1329146668, 1329146673, 1329146655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48522710800171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 14:59:03.243234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_04_2624.jpg', '/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_08_3567.jpg', '/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_10_2718.jpg', '/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_13_2569.jpg', '/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_16_2876.jpg', '/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_20_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_04_2624.jpg
/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_08_3567.jpg
/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_10_2718.jpg
/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_13_2569.jpg
/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_16_2876.jpg
/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_20_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146718","1329146733","1329146727","1329146741","1329146722","1329146748"],"photo_ids_order":["1329146718","1329146722","1329146727","1329146733","1329146741","1329146748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84ba0c0381ec9429e3adb3d660c503cb.jpg","text":"TemporaryFile(/tmp/multipartBody1905690848448293877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949604057,"filename":"image_15012025_10_28_04_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/60e49f28989a166ad54d33efe5aeab2c.jpg","text":"TemporaryFile(/tmp/multipartBody2569711988724789666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949604057,"filename":"image_15012025_10_28_13_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffb7314c78f6f7833f641d346fba7d55.jpg","text":"TemporaryFile(/tmp/multipartBody2382146907865665266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949604057,"filename":"image_15012025_10_28_10_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7ba1da642b8bc542c324b7b14d9a3a59.jpg","text":"TemporaryFile(/tmp/multipartBody2089586472708281425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949604057,"filename":"image_15012025_10_28_16_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff8ee38f4feca98cba1cbd2d7cf06423.jpg","text":"TemporaryFile(/tmp/multipartBody4371330980845146527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949604057,"filename":"image_15012025_10_28_08_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/69067f90478c979761c942cdd5ad4b63.jpg","text":"TemporaryFile(/tmp/multipartBody4417595445490214500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949604057,"filename":"image_15012025_10_28_20_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146727","file1":"1329146722","file0":"1329146718","file4":"1329146741","file5":"1329146748","file3":"1329146733"},"map_files_photo_id_array":[{"photo_id":"1329146748","filename":"file5"},{"photo_id":"1329146727","filename":"file2"},{"photo_id":"1329146741","filename":"file4"},{"photo_id":"1329146722","filename":"file1"},{"photo_id":"1329146718","filename":"file0"},{"photo_id":"1329146733","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146718":["hashtag1","hashtag2"]},{"1329146733":["hashtag1","hashtag2"]},{"1329146727":["hashtag1","hashtag2"]},{"1329146741":["hashtag1","hashtag2"]},{"1329146722":["hashtag1","hashtag2"]},{"1329146748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146718, 1329146733, 1329146727, 1329146741, 1329146722, 1329146748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58615326881409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 14:59:42.436144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_25_2722.jpg', '/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_43_2824.jpg', '/home/pi/Desktop/images/15012025/10/29/image_15012025_10_29_35_3746.jpg', '/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_07_3011.jpg', '/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_43_3685.jpg', '/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_46_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_25_2722.jpg
/home/pi/Desktop/images/15012025/10/28/image_15012025_10_28_43_2824.jpg
/home/pi/Desktop/images/15012025/10/29/image_15012025_10_29_35_3746.jpg
/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_07_3011.jpg
/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_43_3685.jpg
/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_46_2549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146789","1329146780","1329146774","1329146768","1329146797","1329146793"],"photo_ids_order":["1329146768","1329146774","1329146780","1329146789","1329146793","1329146797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee457af5b72ff2174f3aa86ce0c2f660.jpg","text":"TemporaryFile(/tmp/multipartBody3243853665364418359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949643163,"filename":"image_15012025_10_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64cfa05a71497fb4ef2cb95c2d390c59.jpg","text":"TemporaryFile(/tmp/multipartBody4111441459426458561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949643163,"filename":"image_15012025_10_29_35_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29a8e70a81a50cd8882c0769876e487a.jpg","text":"TemporaryFile(/tmp/multipartBody920672200877691844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949643163,"filename":"image_15012025_10_28_43_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/66cecf2e5aa10bf9a844285e0917a0b4.jpg","text":"TemporaryFile(/tmp/multipartBody2423486495880529043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949643163,"filename":"image_15012025_10_28_25_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b8c2ceb9347d00f7b38c34810648ac9f.jpg","text":"TemporaryFile(/tmp/multipartBody8553152076133313673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949643163,"filename":"image_15012025_10_31_46_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a70ea5f414bb28c631b4004dfa659273.jpg","text":"TemporaryFile(/tmp/multipartBody6086613260487938009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949643163,"filename":"image_15012025_10_31_43_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146780","file1":"1329146774","file0":"1329146768","file4":"1329146793","file5":"1329146797","file3":"1329146789"},"map_files_photo_id_array":[{"photo_id":"1329146797","filename":"file5"},{"photo_id":"1329146780","filename":"file2"},{"photo_id":"1329146793","filename":"file4"},{"photo_id":"1329146774","filename":"file1"},{"photo_id":"1329146768","filename":"file0"},{"photo_id":"1329146789","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146789":["hashtag1","hashtag2"]},{"1329146780":["hashtag1","hashtag2"]},{"1329146774":["hashtag1","hashtag2"]},{"1329146768":["hashtag1","hashtag2"]},{"1329146797":["hashtag1","hashtag2"]},{"1329146793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146789, 1329146780, 1329146774, 1329146768, 1329146797, 1329146793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.718916177749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:00:42.136670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_48_2714.jpg', '/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_52_3621.jpg', '/home/pi/Desktop/images/15012025/10/32/image_15012025_10_32_15_2687.jpg', '/home/pi/Desktop/images/15012025/10/33/image_15012025_10_33_37_3738.jpg', '/home/pi/Desktop/images/15012025/10/35/image_15012025_10_35_28_2660.jpg', '/home/pi/Desktop/images/15012025/10/36/image_15012025_10_36_34_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_48_2714.jpg
/home/pi/Desktop/images/15012025/10/31/image_15012025_10_31_52_3621.jpg
/home/pi/Desktop/images/15012025/10/32/image_15012025_10_32_15_2687.jpg
/home/pi/Desktop/images/15012025/10/33/image_15012025_10_33_37_3738.jpg
/home/pi/Desktop/images/15012025/10/35/image_15012025_10_35_28_2660.jpg
/home/pi/Desktop/images/15012025/10/36/image_15012025_10_36_34_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146808","1329146846","1329146834","1329146825","1329146839","1329146818"],"photo_ids_order":["1329146808","1329146818","1329146825","1329146834","1329146839","1329146846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/85557ac821cd6cf1dc38015f5bd9abeb.jpg","text":"TemporaryFile(/tmp/multipartBody5733599906825567960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949702879,"filename":"image_15012025_10_31_48_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e432d313c1365deba8b3e497e65a217b.jpg","text":"TemporaryFile(/tmp/multipartBody4679971099500996927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949702879,"filename":"image_15012025_10_36_34_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/edb384d62cd1a6bfb1fc1a7a90f92e9c.jpg","text":"TemporaryFile(/tmp/multipartBody8624210019170804330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949702879,"filename":"image_15012025_10_33_37_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cbf562bd0425e47ceeb2d628b973bdcc.jpg","text":"TemporaryFile(/tmp/multipartBody3088001204140590118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949702879,"filename":"image_15012025_10_32_15_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5c498659358f5db5e95057f7770a191.jpg","text":"TemporaryFile(/tmp/multipartBody3592912168514832614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949702879,"filename":"image_15012025_10_35_28_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3b0b1badf5fe7321ecf13b13737b117.jpg","text":"TemporaryFile(/tmp/multipartBody393488413990254666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949702879,"filename":"image_15012025_10_31_52_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146825","file1":"1329146818","file0":"1329146808","file4":"1329146839","file5":"1329146846","file3":"1329146834"},"map_files_photo_id_array":[{"photo_id":"1329146846","filename":"file5"},{"photo_id":"1329146825","filename":"file2"},{"photo_id":"1329146839","filename":"file4"},{"photo_id":"1329146818","filename":"file1"},{"photo_id":"1329146808","filename":"file0"},{"photo_id":"1329146834","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146808":["hashtag1","hashtag2"]},{"1329146846":["hashtag1","hashtag2"]},{"1329146834":["hashtag1","hashtag2"]},{"1329146825":["hashtag1","hashtag2"]},{"1329146839":["hashtag1","hashtag2"]},{"1329146818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146808, 1329146846, 1329146834, 1329146825, 1329146839, 1329146818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89196848869324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:01:22.352732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/36/image_15012025_10_36_58_2547.jpg', '/home/pi/Desktop/images/15012025/10/38/image_15012025_10_38_03_2615.jpg', '/home/pi/Desktop/images/15012025/10/39/image_15012025_10_39_40_3820.jpg', '/home/pi/Desktop/images/15012025/10/40/image_15012025_10_40_49_2685.jpg', '/home/pi/Desktop/images/15012025/10/41/image_15012025_10_41_34_3707.jpg', '/home/pi/Desktop/images/15012025/10/42/image_15012025_10_42_49_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/36/image_15012025_10_36_58_2547.jpg
/home/pi/Desktop/images/15012025/10/38/image_15012025_10_38_03_2615.jpg
/home/pi/Desktop/images/15012025/10/39/image_15012025_10_39_40_3820.jpg
/home/pi/Desktop/images/15012025/10/40/image_15012025_10_40_49_2685.jpg
/home/pi/Desktop/images/15012025/10/41/image_15012025_10_41_34_3707.jpg
/home/pi/Desktop/images/15012025/10/42/image_15012025_10_42_49_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146891","1329146855","1329146875","1329146902","1329146865","1329146895"],"photo_ids_order":["1329146855","1329146865","1329146875","1329146891","1329146895","1329146902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ef6dc56f6f01d363ce33ab8e14ce3b5.jpg","text":"TemporaryFile(/tmp/multipartBody4595929096018637333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949743099,"filename":"image_15012025_10_40_49_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77dbebc0c82cc214fc3c6fe3713afce0.jpg","text":"TemporaryFile(/tmp/multipartBody7471294416793945814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949743099,"filename":"image_15012025_10_36_58_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c98993dcb2f6613549b50d09afc991b.jpg","text":"TemporaryFile(/tmp/multipartBody3120211202787897054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949743099,"filename":"image_15012025_10_39_40_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d03e08d932d04bd7bf8b0e5c036b950.jpg","text":"TemporaryFile(/tmp/multipartBody8281401463990181271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949743099,"filename":"image_15012025_10_42_49_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f16be7df4d0f5e7aad1fde2bbf8362b3.jpg","text":"TemporaryFile(/tmp/multipartBody1042081539109926527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949743099,"filename":"image_15012025_10_38_03_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/11b9d6c893055b4add4be6b448907d98.jpg","text":"TemporaryFile(/tmp/multipartBody2085917621240328873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949743099,"filename":"image_15012025_10_41_34_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146875","file1":"1329146865","file0":"1329146855","file4":"1329146895","file5":"1329146902","file3":"1329146891"},"map_files_photo_id_array":[{"photo_id":"1329146902","filename":"file5"},{"photo_id":"1329146875","filename":"file2"},{"photo_id":"1329146895","filename":"file4"},{"photo_id":"1329146865","filename":"file1"},{"photo_id":"1329146855","filename":"file0"},{"photo_id":"1329146891","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146891":["hashtag1","hashtag2"]},{"1329146855":["hashtag1","hashtag2"]},{"1329146875":["hashtag1","hashtag2"]},{"1329146902":["hashtag1","hashtag2"]},{"1329146865":["hashtag1","hashtag2"]},{"1329146895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146891, 1329146855, 1329146875, 1329146902, 1329146865, 1329146895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.098177671432495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:02:02.999976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/43/image_15012025_10_43_19_3642.jpg', '/home/pi/Desktop/images/15012025/10/43/image_15012025_10_43_28_2572.jpg', '/home/pi/Desktop/images/15012025/10/43/image_15012025_10_43_31_3609.jpg', '/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_16_3652.jpg', '/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_22_2907.jpg', '/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_25_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/43/image_15012025_10_43_19_3642.jpg
/home/pi/Desktop/images/15012025/10/43/image_15012025_10_43_28_2572.jpg
/home/pi/Desktop/images/15012025/10/43/image_15012025_10_43_31_3609.jpg
/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_16_3652.jpg
/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_22_2907.jpg
/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_25_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329146958","1329146925","1329146947","1329146964","1329146940","1329146934"],"photo_ids_order":["1329146925","1329146934","1329146940","1329146947","1329146958","1329146964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a23eab8d99fa0cdbe597acc4e7bcbe7d.jpg","text":"TemporaryFile(/tmp/multipartBody361939161192297741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949783878,"filename":"image_15012025_10_44_22_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e20a5ed28b510eb7339c2125501d3102.jpg","text":"TemporaryFile(/tmp/multipartBody8068062279277440384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949783878,"filename":"image_15012025_10_43_19_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b00190b8930f24c5b940c8d343bea1d3.jpg","text":"TemporaryFile(/tmp/multipartBody90206780047239962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949783878,"filename":"image_15012025_10_44_16_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f9a44d5511500c76c836a15cf4e3bc14.jpg","text":"TemporaryFile(/tmp/multipartBody2102926188268036260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949783878,"filename":"image_15012025_10_44_25_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83b6ad95b115115eb48a6296917d02df.jpg","text":"TemporaryFile(/tmp/multipartBody3655110632127749807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949783878,"filename":"image_15012025_10_43_31_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6e83a5fa17c2fad0535a0086f30fa914.jpg","text":"TemporaryFile(/tmp/multipartBody8796442465139437532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949783878,"filename":"image_15012025_10_43_28_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329146940","file1":"1329146934","file0":"1329146925","file4":"1329146958","file5":"1329146964","file3":"1329146947"},"map_files_photo_id_array":[{"photo_id":"1329146964","filename":"file5"},{"photo_id":"1329146940","filename":"file2"},{"photo_id":"1329146958","filename":"file4"},{"photo_id":"1329146934","filename":"file1"},{"photo_id":"1329146925","filename":"file0"},{"photo_id":"1329146947","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329146958":["hashtag1","hashtag2"]},{"1329146925":["hashtag1","hashtag2"]},{"1329146947":["hashtag1","hashtag2"]},{"1329146964":["hashtag1","hashtag2"]},{"1329146940":["hashtag1","hashtag2"]},{"1329146934":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329146958, 1329146925, 1329146947, 1329146964, 1329146940, 1329146934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08936786651611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:03:03.308263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_28_3566.jpg', '/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_31_2909.jpg', '/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_34_2712.jpg', '/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_40_3681.jpg', '/home/pi/Desktop/images/15012025/10/45/image_15012025_10_45_13_2684.jpg', '/home/pi/Desktop/images/15012025/10/46/image_15012025_10_46_07_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_28_3566.jpg
/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_31_2909.jpg
/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_34_2712.jpg
/home/pi/Desktop/images/15012025/10/44/image_15012025_10_44_40_3681.jpg
/home/pi/Desktop/images/15012025/10/45/image_15012025_10_45_13_2684.jpg
/home/pi/Desktop/images/15012025/10/46/image_15012025_10_46_07_2555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329147011","1329147014","1329146998","1329147016","1329147007","1329147003"],"photo_ids_order":["1329146998","1329147003","1329147007","1329147011","1329147014","1329147016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7702181098cf45cb7f118d7690535e7d.jpg","text":"TemporaryFile(/tmp/multipartBody6805018607081829756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949844217,"filename":"image_15012025_10_44_40_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0ae9e0a3b08fe659e50dc3906101d68.jpg","text":"TemporaryFile(/tmp/multipartBody5802325554170548853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949844217,"filename":"image_15012025_10_45_13_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb6bef064b5dd115f5b2f6d2dcc4773d.jpg","text":"TemporaryFile(/tmp/multipartBody3765986055333304601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949844217,"filename":"image_15012025_10_44_28_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cd2fab7a9bd6fb1c225277344122bc9e.jpg","text":"TemporaryFile(/tmp/multipartBody4394247103560975184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949844217,"filename":"image_15012025_10_46_07_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/95cad02189aa8c8125f396e525ce78ae.jpg","text":"TemporaryFile(/tmp/multipartBody1920640785043892386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949844217,"filename":"image_15012025_10_44_34_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3e8938b3eee79260eaf41dbb01c7cf68.jpg","text":"TemporaryFile(/tmp/multipartBody2392345457143054222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949844217,"filename":"image_15012025_10_44_31_2909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329147007","file1":"1329147003","file0":"1329146998","file4":"1329147014","file5":"1329147016","file3":"1329147011"},"map_files_photo_id_array":[{"photo_id":"1329147016","filename":"file5"},{"photo_id":"1329147007","filename":"file2"},{"photo_id":"1329147014","filename":"file4"},{"photo_id":"1329147003","filename":"file1"},{"photo_id":"1329146998","filename":"file0"},{"photo_id":"1329147011","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329147011":["hashtag1","hashtag2"]},{"1329147014":["hashtag1","hashtag2"]},{"1329146998":["hashtag1","hashtag2"]},{"1329147016":["hashtag1","hashtag2"]},{"1329147007":["hashtag1","hashtag2"]},{"1329147003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329147011, 1329147014, 1329146998, 1329147016, 1329147007, 1329147003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53247928619385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:03:42.618694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/46/image_15012025_10_46_46_2876.jpg', '/home/pi/Desktop/images/15012025/10/47/image_15012025_10_47_34_3577.jpg', '/home/pi/Desktop/images/15012025/10/48/image_15012025_10_48_04_2765.jpg', '/home/pi/Desktop/images/15012025/10/48/image_15012025_10_48_07_2572.jpg', '/home/pi/Desktop/images/15012025/10/48/image_15012025_10_48_10_3647.jpg', '/home/pi/Desktop/images/15012025/10/49/image_15012025_10_49_09_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/46/image_15012025_10_46_46_2876.jpg
/home/pi/Desktop/images/15012025/10/47/image_15012025_10_47_34_3577.jpg
/home/pi/Desktop/images/15012025/10/48/image_15012025_10_48_04_2765.jpg
/home/pi/Desktop/images/15012025/10/48/image_15012025_10_48_07_2572.jpg
/home/pi/Desktop/images/15012025/10/48/image_15012025_10_48_10_3647.jpg
/home/pi/Desktop/images/15012025/10/49/image_15012025_10_49_09_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329147044","1329147038","1329147053","1329147026","1329147049","1329147031"],"photo_ids_order":["1329147026","1329147031","1329147038","1329147044","1329147049","1329147053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4ffddd6e5fd7d2a4ea100db3bac1151d.jpg","text":"TemporaryFile(/tmp/multipartBody1485336728682013424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949883376,"filename":"image_15012025_10_48_07_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/68e7a5b74bf66e0132e79f3a22544c9e.jpg","text":"TemporaryFile(/tmp/multipartBody3995668635022908898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949883376,"filename":"image_15012025_10_48_04_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87ad62eda311496aea3ba24a0d149e0a.jpg","text":"TemporaryFile(/tmp/multipartBody2144008537032328763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949883376,"filename":"image_15012025_10_49_09_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/34b2e4766d680aff888f9fd34b39bb3d.jpg","text":"TemporaryFile(/tmp/multipartBody6849916831331034759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949883376,"filename":"image_15012025_10_46_46_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6d5ee9d6ef8d796efa61d4992eaad86.jpg","text":"TemporaryFile(/tmp/multipartBody1560606723695708837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949883376,"filename":"image_15012025_10_48_10_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2244bbb52ba7fb1477469f53a944096d.jpg","text":"TemporaryFile(/tmp/multipartBody5247076622243616976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949883376,"filename":"image_15012025_10_47_34_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329147038","file1":"1329147031","file0":"1329147026","file4":"1329147049","file5":"1329147053","file3":"1329147044"},"map_files_photo_id_array":[{"photo_id":"1329147053","filename":"file5"},{"photo_id":"1329147038","filename":"file2"},{"photo_id":"1329147049","filename":"file4"},{"photo_id":"1329147031","filename":"file1"},{"photo_id":"1329147026","filename":"file0"},{"photo_id":"1329147044","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329147044":["hashtag1","hashtag2"]},{"1329147038":["hashtag1","hashtag2"]},{"1329147053":["hashtag1","hashtag2"]},{"1329147026":["hashtag1","hashtag2"]},{"1329147049":["hashtag1","hashtag2"]},{"1329147031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329147044, 1329147038, 1329147053, 1329147026, 1329147049, 1329147031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.763734340667725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:04:22.663218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/50/image_15012025_10_50_11_3667.jpg', '/home/pi/Desktop/images/15012025/10/51/image_15012025_10_51_29_2684.jpg', '/home/pi/Desktop/images/15012025/10/52/image_15012025_10_52_17_2692.jpg', '/home/pi/Desktop/images/15012025/10/52/image_15012025_10_52_50_3803.jpg', '/home/pi/Desktop/images/15012025/10/54/image_15012025_10_54_01_2858.jpg', '/home/pi/Desktop/images/15012025/10/56/image_15012025_10_56_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/50/image_15012025_10_50_11_3667.jpg
/home/pi/Desktop/images/15012025/10/51/image_15012025_10_51_29_2684.jpg
/home/pi/Desktop/images/15012025/10/52/image_15012025_10_52_17_2692.jpg
/home/pi/Desktop/images/15012025/10/52/image_15012025_10_52_50_3803.jpg
/home/pi/Desktop/images/15012025/10/54/image_15012025_10_54_01_2858.jpg
/home/pi/Desktop/images/15012025/10/56/image_15012025_10_56_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329147077","1329147064","1329147099","1329147069","1329147060","1329147117"],"photo_ids_order":["1329147060","1329147064","1329147069","1329147077","1329147099","1329147117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/025a18c56eb9a81e868f0ffa98e6bc31.jpg","text":"TemporaryFile(/tmp/multipartBody4939196045694833732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949923432,"filename":"image_15012025_10_52_50_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cca5670452fd33b68adfbe61c700f7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1067088640678012700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949923432,"filename":"image_15012025_10_51_29_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/024222e73762f1a836152984f51c0b6a.jpg","text":"TemporaryFile(/tmp/multipartBody5734011306163589675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949923432,"filename":"image_15012025_10_54_01_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2c0c193aa263488133ad45d940fabd5.jpg","text":"TemporaryFile(/tmp/multipartBody6103485538552390646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949923432,"filename":"image_15012025_10_52_17_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f11be9ab2fa0a75634e30e8e2f95324.jpg","text":"TemporaryFile(/tmp/multipartBody3422937016975181060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949923432,"filename":"image_15012025_10_50_11_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/50db578386943c7c0c234acd9137ddd3.jpg","text":"TemporaryFile(/tmp/multipartBody93042393040169855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949923432,"filename":"image_15012025_10_56_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329147069","file1":"1329147064","file0":"1329147060","file4":"1329147099","file5":"1329147117","file3":"1329147077"},"map_files_photo_id_array":[{"photo_id":"1329147117","filename":"file5"},{"photo_id":"1329147069","filename":"file2"},{"photo_id":"1329147099","filename":"file4"},{"photo_id":"1329147064","filename":"file1"},{"photo_id":"1329147060","filename":"file0"},{"photo_id":"1329147077","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329147077":["hashtag1","hashtag2"]},{"1329147064":["hashtag1","hashtag2"]},{"1329147099":["hashtag1","hashtag2"]},{"1329147069":["hashtag1","hashtag2"]},{"1329147060":["hashtag1","hashtag2"]},{"1329147117":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329147077, 1329147064, 1329147099, 1329147069, 1329147060, 1329147117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.111679553985596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:05:21.903513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/10/56/image_15012025_10_56_43_2833.jpg', '/home/pi/Desktop/images/15012025/10/57/image_15012025_10_57_16_2800.jpg', '/home/pi/Desktop/images/15012025/10/58/image_15012025_10_58_10_2560.jpg', '/home/pi/Desktop/images/15012025/10/58/image_15012025_10_58_55_2684.jpg', '/home/pi/Desktop/images/15012025/10/59/image_15012025_10_59_24_2696.jpg', '/home/pi/Desktop/images/15012025/11/00/image_15012025_11_00_55_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/10/56/image_15012025_10_56_43_2833.jpg
/home/pi/Desktop/images/15012025/10/57/image_15012025_10_57_16_2800.jpg
/home/pi/Desktop/images/15012025/10/58/image_15012025_10_58_10_2560.jpg
/home/pi/Desktop/images/15012025/10/58/image_15012025_10_58_55_2684.jpg
/home/pi/Desktop/images/15012025/10/59/image_15012025_10_59_24_2696.jpg
/home/pi/Desktop/images/15012025/11/00/image_15012025_11_00_55_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329147209","1329147190","1329147175","1329147198","1329147183","1329147177"],"photo_ids_order":["1329147175","1329147177","1329147183","1329147190","1329147198","1329147209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea4f4ab5aefaa79f88ad5c7264aba10f.jpg","text":"TemporaryFile(/tmp/multipartBody4496988200558692190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949982684,"filename":"image_15012025_11_00_55_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cd723c38c594fbf0420def78684f9399.jpg","text":"TemporaryFile(/tmp/multipartBody6882256281486613230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949982684,"filename":"image_15012025_10_58_55_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c99ca120380838fcebfde04c2f9671e.jpg","text":"TemporaryFile(/tmp/multipartBody7733572444513529180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949982684,"filename":"image_15012025_10_56_43_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dee52ff3c0a7263023bfa3c55fd805ef.jpg","text":"TemporaryFile(/tmp/multipartBody7218954827526534648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949982684,"filename":"image_15012025_10_59_24_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/34b3ee54fa0ea207a928543fcd5da296.jpg","text":"TemporaryFile(/tmp/multipartBody6323706410389429162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949982684,"filename":"image_15012025_10_58_10_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/86d65f3c4659afd37ed406f012195714.jpg","text":"TemporaryFile(/tmp/multipartBody845778539589652861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736949982684,"filename":"image_15012025_10_57_16_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329147183","file1":"1329147177","file0":"1329147175","file4":"1329147198","file5":"1329147209","file3":"1329147190"},"map_files_photo_id_array":[{"photo_id":"1329147209","filename":"file5"},{"photo_id":"1329147183","filename":"file2"},{"photo_id":"1329147198","filename":"file4"},{"photo_id":"1329147177","filename":"file1"},{"photo_id":"1329147175","filename":"file0"},{"photo_id":"1329147190","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329147209":["hashtag1","hashtag2"]},{"1329147190":["hashtag1","hashtag2"]},{"1329147175":["hashtag1","hashtag2"]},{"1329147198":["hashtag1","hashtag2"]},{"1329147183":["hashtag1","hashtag2"]},{"1329147177":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329147209, 1329147190, 1329147175, 1329147198, 1329147183, 1329147177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61237812042236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:06:03.048010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/11/02/image_15012025_11_02_11_2838.jpg', '/home/pi/Desktop/images/15012025/11/04/image_15012025_11_04_38_3743.jpg', '/home/pi/Desktop/images/15012025/11/05/image_15012025_11_05_11_3858.jpg', '/home/pi/Desktop/images/15012025/11/06/image_15012025_11_06_05_2797.jpg', '/home/pi/Desktop/images/15012025/11/07/image_15012025_11_07_34_2733.jpg', '/home/pi/Desktop/images/15012025/11/07/image_15012025_11_07_46_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/11/02/image_15012025_11_02_11_2838.jpg
/home/pi/Desktop/images/15012025/11/04/image_15012025_11_04_38_3743.jpg
/home/pi/Desktop/images/15012025/11/05/image_15012025_11_05_11_3858.jpg
/home/pi/Desktop/images/15012025/11/06/image_15012025_11_06_05_2797.jpg
/home/pi/Desktop/images/15012025/11/07/image_15012025_11_07_34_2733.jpg
/home/pi/Desktop/images/15012025/11/07/image_15012025_11_07_46_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329147257","1329147227","1329147231","1329147225","1329147228","1329147222"],"photo_ids_order":["1329147222","1329147225","1329147227","1329147228","1329147231","1329147257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3dca0371fa6e41906c2aab0aa14ccaaa.jpg","text":"TemporaryFile(/tmp/multipartBody3410107176983748129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950023956,"filename":"image_15012025_11_07_46_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/37f208a8aafef445a27cded2f601f9b4.jpg","text":"TemporaryFile(/tmp/multipartBody6567852180669914239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950023956,"filename":"image_15012025_11_05_11_3858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c0674d1fc149356b40fe03e57d92179.jpg","text":"TemporaryFile(/tmp/multipartBody4465015601999891475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950023956,"filename":"image_15012025_11_07_34_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/65eb7ff00e21c0b57684fccbcf5dda3d.jpg","text":"TemporaryFile(/tmp/multipartBody2340033583288834169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950023956,"filename":"image_15012025_11_04_38_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be4d0b3d52b396e2e23ca3fecb41dfb6.jpg","text":"TemporaryFile(/tmp/multipartBody2444764457494167257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950023956,"filename":"image_15012025_11_06_05_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e4b67f5d71283e93f11eba370e2658bb.jpg","text":"TemporaryFile(/tmp/multipartBody8907203674777654657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950023956,"filename":"image_15012025_11_02_11_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329147227","file1":"1329147225","file0":"1329147222","file4":"1329147231","file5":"1329147257","file3":"1329147228"},"map_files_photo_id_array":[{"photo_id":"1329147257","filename":"file5"},{"photo_id":"1329147227","filename":"file2"},{"photo_id":"1329147231","filename":"file4"},{"photo_id":"1329147225","filename":"file1"},{"photo_id":"1329147222","filename":"file0"},{"photo_id":"1329147228","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329147257":["hashtag1","hashtag2"]},{"1329147227":["hashtag1","hashtag2"]},{"1329147231":["hashtag1","hashtag2"]},{"1329147225":["hashtag1","hashtag2"]},{"1329147228":["hashtag1","hashtag2"]},{"1329147222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329147257, 1329147227, 1329147231, 1329147225, 1329147228, 1329147222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0273699760437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:06:42.483595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/11/07/image_15012025_11_07_50_3682.jpg', '/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_14_2639.jpg', '/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_32_2787.jpg', '/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_34_2722.jpg', '/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_37_2810.jpg', '/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_43_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/11/07/image_15012025_11_07_50_3682.jpg
/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_14_2639.jpg
/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_32_2787.jpg
/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_34_2722.jpg
/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_37_2810.jpg
/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_43_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329147545","1329148066","1329148249","1329147354","1329147873","1329148148"],"photo_ids_order":["1329147354","1329147545","1329147873","1329148066","1329148148","1329148249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/291c3e5ce81d222f55ac9218ec137108.jpg","text":"TemporaryFile(/tmp/multipartBody22405621763641140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950063225,"filename":"image_15012025_11_08_14_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/72e28a9593e42a4f99bc34774e1576c3.jpg","text":"TemporaryFile(/tmp/multipartBody1976533294432491665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950063225,"filename":"image_15012025_11_08_34_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3632eb84c6efa837d294058dba67cf3.jpg","text":"TemporaryFile(/tmp/multipartBody4246889286571706372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950063225,"filename":"image_15012025_11_08_43_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/26da48806c1c1aeffe658f67f3917c78.jpg","text":"TemporaryFile(/tmp/multipartBody5636809696590065143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950063225,"filename":"image_15012025_11_07_50_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/229d5aa546c8350f63003d9e14d3f9b3.jpg","text":"TemporaryFile(/tmp/multipartBody5457782210443448754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950063225,"filename":"image_15012025_11_08_32_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29eda5aeab7c976a6825a8d27916b29c.jpg","text":"TemporaryFile(/tmp/multipartBody3253548356031551029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950063225,"filename":"image_15012025_11_08_37_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329147873","file1":"1329147545","file0":"1329147354","file4":"1329148148","file5":"1329148249","file3":"1329148066"},"map_files_photo_id_array":[{"photo_id":"1329148249","filename":"file5"},{"photo_id":"1329147873","filename":"file2"},{"photo_id":"1329148148","filename":"file4"},{"photo_id":"1329147545","filename":"file1"},{"photo_id":"1329147354","filename":"file0"},{"photo_id":"1329148066","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329147545":["hashtag1","hashtag2"]},{"1329148066":["hashtag1","hashtag2"]},{"1329148249":["hashtag1","hashtag2"]},{"1329147354":["hashtag1","hashtag2"]},{"1329147873":["hashtag1","hashtag2"]},{"1329148148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329147545, 1329148066, 1329148249, 1329147354, 1329147873, 1329148148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.286935806274414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:07:22.710702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_46_2672.jpg', '/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_49_2747.jpg', '/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_53_3638.jpg', '/home/pi/Desktop/images/15012025/11/09/image_15012025_11_09_38_3625.jpg', '/home/pi/Desktop/images/15012025/11/10/image_15012025_11_10_37_2643.jpg', '/home/pi/Desktop/images/15012025/11/11/image_15012025_11_11_16_3802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_46_2672.jpg
/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_49_2747.jpg
/home/pi/Desktop/images/15012025/11/08/image_15012025_11_08_53_3638.jpg
/home/pi/Desktop/images/15012025/11/09/image_15012025_11_09_38_3625.jpg
/home/pi/Desktop/images/15012025/11/10/image_15012025_11_10_37_2643.jpg
/home/pi/Desktop/images/15012025/11/11/image_15012025_11_11_16_3802.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329148279","1329148270","1329148318","1329148293","1329148263","1329148439"],"photo_ids_order":["1329148263","1329148270","1329148279","1329148293","1329148318","1329148439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/935c8d295bc18ff185a468bba310d5e6.jpg","text":"TemporaryFile(/tmp/multipartBody6240863659344549191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950103506,"filename":"image_15012025_11_08_53_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8e8930c5ccc399761f75a6184a8fb8e3.jpg","text":"TemporaryFile(/tmp/multipartBody9051921561223393973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950103506,"filename":"image_15012025_11_08_49_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76ce9c9f616409c6469f710b1ea3051c.jpg","text":"TemporaryFile(/tmp/multipartBody5282361898601654787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950103506,"filename":"image_15012025_11_10_37_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3827ea9744d85d8e7f872d70df141194.jpg","text":"TemporaryFile(/tmp/multipartBody5622076334443758915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950103506,"filename":"image_15012025_11_09_38_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c240cb642e7a6fd2abfd63eea67314e.jpg","text":"TemporaryFile(/tmp/multipartBody2323130172096853142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950103506,"filename":"image_15012025_11_08_46_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0732023b5bcdce99d7922555bb8173b7.jpg","text":"TemporaryFile(/tmp/multipartBody2306927884520415342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950103506,"filename":"image_15012025_11_11_16_3802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329148279","file1":"1329148270","file0":"1329148263","file4":"1329148318","file5":"1329148439","file3":"1329148293"},"map_files_photo_id_array":[{"photo_id":"1329148439","filename":"file5"},{"photo_id":"1329148279","filename":"file2"},{"photo_id":"1329148318","filename":"file4"},{"photo_id":"1329148270","filename":"file1"},{"photo_id":"1329148263","filename":"file0"},{"photo_id":"1329148293","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329148279":["hashtag1","hashtag2"]},{"1329148270":["hashtag1","hashtag2"]},{"1329148318":["hashtag1","hashtag2"]},{"1329148293":["hashtag1","hashtag2"]},{"1329148263":["hashtag1","hashtag2"]},{"1329148439":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329148279, 1329148270, 1329148318, 1329148293, 1329148263, 1329148439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.400150537490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:08:02.479344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/11/11/image_15012025_11_11_52_3757.jpg', '/home/pi/Desktop/images/15012025/11/12/image_15012025_11_12_40_3704.jpg', '/home/pi/Desktop/images/15012025/11/13/image_15012025_11_13_16_2712.jpg', '/home/pi/Desktop/images/15012025/11/16/image_15012025_11_16_07_3011.jpg', '/home/pi/Desktop/images/15012025/11/16/image_15012025_11_16_55_2750.jpg', '/home/pi/Desktop/images/15012025/11/16/image_15012025_11_16_58_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/11/11/image_15012025_11_11_52_3757.jpg
/home/pi/Desktop/images/15012025/11/12/image_15012025_11_12_40_3704.jpg
/home/pi/Desktop/images/15012025/11/13/image_15012025_11_13_16_2712.jpg
/home/pi/Desktop/images/15012025/11/16/image_15012025_11_16_07_3011.jpg
/home/pi/Desktop/images/15012025/11/16/image_15012025_11_16_55_2750.jpg
/home/pi/Desktop/images/15012025/11/16/image_15012025_11_16_58_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329148789","1329148870","1329148966","1329149313","1329149072","1329149609"],"photo_ids_order":["1329148789","1329148870","1329148966","1329149072","1329149313","1329149609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f0435e13c39ee2d27aed9fdcc3b04da.jpg","text":"TemporaryFile(/tmp/multipartBody7730822650176811728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950143345,"filename":"image_15012025_11_11_52_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4753c5d2c4fbd4a0943c9ef3384defb3.jpg","text":"TemporaryFile(/tmp/multipartBody3848753632999668606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950143345,"filename":"image_15012025_11_12_40_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8944013f238312a533659a89b86cfd38.jpg","text":"TemporaryFile(/tmp/multipartBody4247525336111994212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950143345,"filename":"image_15012025_11_13_16_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a0022cef798a0050dee50773e36949f8.jpg","text":"TemporaryFile(/tmp/multipartBody6820445844759578367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950143345,"filename":"image_15012025_11_16_55_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/655c71b6683a93370dac63d83be48b5e.jpg","text":"TemporaryFile(/tmp/multipartBody2519700873844376962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950143345,"filename":"image_15012025_11_16_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f871bf759d470f8f7d828a047a809f70.jpg","text":"TemporaryFile(/tmp/multipartBody4799674671976835432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950143345,"filename":"image_15012025_11_16_58_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329148966","file1":"1329148870","file0":"1329148789","file4":"1329149313","file5":"1329149609","file3":"1329149072"},"map_files_photo_id_array":[{"photo_id":"1329149609","filename":"file5"},{"photo_id":"1329148966","filename":"file2"},{"photo_id":"1329149313","filename":"file4"},{"photo_id":"1329148870","filename":"file1"},{"photo_id":"1329148789","filename":"file0"},{"photo_id":"1329149072","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329148789":["hashtag1","hashtag2"]},{"1329148870":["hashtag1","hashtag2"]},{"1329148966":["hashtag1","hashtag2"]},{"1329149313":["hashtag1","hashtag2"]},{"1329149072":["hashtag1","hashtag2"]},{"1329149609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329148789, 1329148870, 1329148966, 1329149313, 1329149072, 1329149609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.565431356430054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:08:41.878301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/11/17/image_15012025_11_17_01_2800.jpg', '/home/pi/Desktop/images/15012025/11/17/image_15012025_11_17_04_3763.jpg', '/home/pi/Desktop/images/15012025/11/17/image_15012025_11_17_19_3753.jpg', '/home/pi/Desktop/images/15012025/11/19/image_15012025_11_19_34_3687.jpg', '/home/pi/Desktop/images/15012025/11/24/image_15012025_11_24_47_2793.jpg', '/home/pi/Desktop/images/15012025/11/26/image_15012025_11_26_37_2960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/11/17/image_15012025_11_17_01_2800.jpg
/home/pi/Desktop/images/15012025/11/17/image_15012025_11_17_04_3763.jpg
/home/pi/Desktop/images/15012025/11/17/image_15012025_11_17_19_3753.jpg
/home/pi/Desktop/images/15012025/11/19/image_15012025_11_19_34_3687.jpg
/home/pi/Desktop/images/15012025/11/24/image_15012025_11_24_47_2793.jpg
/home/pi/Desktop/images/15012025/11/26/image_15012025_11_26_37_2960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329150002","1329150084","1329150021","1329150089","1329150012","1329150086"],"photo_ids_order":["1329150002","1329150012","1329150021","1329150084","1329150086","1329150089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/771363e7281296a67745ea577b257553.jpg","text":"TemporaryFile(/tmp/multipartBody5928012497257184450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950182658,"filename":"image_15012025_11_17_01_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70d73951ba486a4f3afca16902c46d33.jpg","text":"TemporaryFile(/tmp/multipartBody5429817711308462355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950182658,"filename":"image_15012025_11_19_34_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6204bf31fafd50f8f5383e55a359c23d.jpg","text":"TemporaryFile(/tmp/multipartBody4333268305477678386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950182658,"filename":"image_15012025_11_17_19_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ecd4b0e5e017c82269d880721ec5fd9e.jpg","text":"TemporaryFile(/tmp/multipartBody7506722290105696009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950182658,"filename":"image_15012025_11_26_37_2960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a78c82de50819ece5dee1fa92062119.jpg","text":"TemporaryFile(/tmp/multipartBody2422845091738344404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950182658,"filename":"image_15012025_11_17_04_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05b0bb69c9be9a7501abd869499eabc7.jpg","text":"TemporaryFile(/tmp/multipartBody1491426076718602020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950182658,"filename":"image_15012025_11_24_47_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329150021","file1":"1329150012","file0":"1329150002","file4":"1329150086","file5":"1329150089","file3":"1329150084"},"map_files_photo_id_array":[{"photo_id":"1329150089","filename":"file5"},{"photo_id":"1329150021","filename":"file2"},{"photo_id":"1329150086","filename":"file4"},{"photo_id":"1329150012","filename":"file1"},{"photo_id":"1329150002","filename":"file0"},{"photo_id":"1329150084","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329150002":["hashtag1","hashtag2"]},{"1329150084":["hashtag1","hashtag2"]},{"1329150021":["hashtag1","hashtag2"]},{"1329150089":["hashtag1","hashtag2"]},{"1329150012":["hashtag1","hashtag2"]},{"1329150086":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329150002, 1329150084, 1329150021, 1329150089, 1329150012, 1329150086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43521857261658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:09:22.496716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/11/30/image_15012025_11_30_07_3011.jpg', '/home/pi/Desktop/images/15012025/11/32/image_15012025_11_32_46_2610.jpg', '/home/pi/Desktop/images/15012025/11/33/image_15012025_11_33_58_3768.jpg', '/home/pi/Desktop/images/15012025/11/34/image_15012025_11_34_37_2766.jpg', '/home/pi/Desktop/images/15012025/11/35/image_15012025_11_35_30_2405.jpg', '/home/pi/Desktop/images/15012025/11/36/image_15012025_11_36_52_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/11/30/image_15012025_11_30_07_3011.jpg
/home/pi/Desktop/images/15012025/11/32/image_15012025_11_32_46_2610.jpg
/home/pi/Desktop/images/15012025/11/33/image_15012025_11_33_58_3768.jpg
/home/pi/Desktop/images/15012025/11/34/image_15012025_11_34_37_2766.jpg
/home/pi/Desktop/images/15012025/11/35/image_15012025_11_35_30_2405.jpg
/home/pi/Desktop/images/15012025/11/36/image_15012025_11_36_52_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329150116","1329150145","1329150112","1329150174","1329150153","1329150114"],"photo_ids_order":["1329150112","1329150114","1329150116","1329150145","1329150153","1329150174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/daac6856c49ab3a4f88e3cc9daeac202.jpg","text":"TemporaryFile(/tmp/multipartBody6494768971002915431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950223308,"filename":"image_15012025_11_33_58_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7ffedcc0f902b1f3e925b91b7acdeee.jpg","text":"TemporaryFile(/tmp/multipartBody740971178443656656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950223308,"filename":"image_15012025_11_34_37_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cb6e6fdd6c7c5e792f553bb52550d5e.jpg","text":"TemporaryFile(/tmp/multipartBody409386524207012242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950223308,"filename":"image_15012025_11_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7bfd577fbb6d34554b79df36028f259.jpg","text":"TemporaryFile(/tmp/multipartBody8777144055122113193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950223308,"filename":"image_15012025_11_36_52_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14df98fa691b8c62ccd48d0808994461.jpg","text":"TemporaryFile(/tmp/multipartBody8390783681986415783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950223308,"filename":"image_15012025_11_35_30_2405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8153a5f272852a62d877cf18779e2e1.jpg","text":"TemporaryFile(/tmp/multipartBody8706663155514597376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950223308,"filename":"image_15012025_11_32_46_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329150116","file1":"1329150114","file0":"1329150112","file4":"1329150153","file5":"1329150174","file3":"1329150145"},"map_files_photo_id_array":[{"photo_id":"1329150174","filename":"file5"},{"photo_id":"1329150116","filename":"file2"},{"photo_id":"1329150153","filename":"file4"},{"photo_id":"1329150114","filename":"file1"},{"photo_id":"1329150112","filename":"file0"},{"photo_id":"1329150145","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329150116":["hashtag1","hashtag2"]},{"1329150145":["hashtag1","hashtag2"]},{"1329150112":["hashtag1","hashtag2"]},{"1329150174":["hashtag1","hashtag2"]},{"1329150153":["hashtag1","hashtag2"]},{"1329150114":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329150116, 1329150145, 1329150112, 1329150174, 1329150153, 1329150114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36311960220337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:10:02.820922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/11/39/image_15012025_11_39_28_3640.jpg', '/home/pi/Desktop/images/15012025/11/42/image_15012025_11_42_19_2787.jpg', '/home/pi/Desktop/images/15012025/11/43/image_15012025_11_43_49_3710.jpg', '/home/pi/Desktop/images/15012025/11/44/image_15012025_11_44_46_2699.jpg', '/home/pi/Desktop/images/15012025/11/46/image_15012025_11_46_14_3660.jpg', '/home/pi/Desktop/images/15012025/11/47/image_15012025_11_47_28_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/11/39/image_15012025_11_39_28_3640.jpg
/home/pi/Desktop/images/15012025/11/42/image_15012025_11_42_19_2787.jpg
/home/pi/Desktop/images/15012025/11/43/image_15012025_11_43_49_3710.jpg
/home/pi/Desktop/images/15012025/11/44/image_15012025_11_44_46_2699.jpg
/home/pi/Desktop/images/15012025/11/46/image_15012025_11_46_14_3660.jpg
/home/pi/Desktop/images/15012025/11/47/image_15012025_11_47_28_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329150511","1329150541","1329150523","1329150418","1329150537","1329150533"],"photo_ids_order":["1329150418","1329150511","1329150523","1329150533","1329150537","1329150541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/267417525191f90bd00478bba00a23cb.jpg","text":"TemporaryFile(/tmp/multipartBody4701048849163720216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950263731,"filename":"image_15012025_11_42_19_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bb4df16c4abbf02f123e44ae01b849ec.jpg","text":"TemporaryFile(/tmp/multipartBody7257446850826407126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950263731,"filename":"image_15012025_11_47_28_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/41e563bf0959d0823ba021adc5c06627.jpg","text":"TemporaryFile(/tmp/multipartBody1857439051130819745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950263731,"filename":"image_15012025_11_43_49_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0b727fcd15cec349fb154efb69f1e688.jpg","text":"TemporaryFile(/tmp/multipartBody897557234614118707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950263731,"filename":"image_15012025_11_39_28_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7ed955a7046c5e07e52c547de89bcb1.jpg","text":"TemporaryFile(/tmp/multipartBody7826183802459605496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950263731,"filename":"image_15012025_11_46_14_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/914d4cbaac0ed362a1935bb9149942c0.jpg","text":"TemporaryFile(/tmp/multipartBody3563158993275171214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950263731,"filename":"image_15012025_11_44_46_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329150523","file1":"1329150511","file0":"1329150418","file4":"1329150537","file5":"1329150541","file3":"1329150533"},"map_files_photo_id_array":[{"photo_id":"1329150541","filename":"file5"},{"photo_id":"1329150523","filename":"file2"},{"photo_id":"1329150537","filename":"file4"},{"photo_id":"1329150511","filename":"file1"},{"photo_id":"1329150418","filename":"file0"},{"photo_id":"1329150533","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329150511":["hashtag1","hashtag2"]},{"1329150541":["hashtag1","hashtag2"]},{"1329150523":["hashtag1","hashtag2"]},{"1329150418":["hashtag1","hashtag2"]},{"1329150537":["hashtag1","hashtag2"]},{"1329150533":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329150511, 1329150541, 1329150523, 1329150418, 1329150537, 1329150533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.14498281478882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:11:03.388520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/11/48/image_15012025_11_48_49_3708.jpg', '/home/pi/Desktop/images/15012025/11/49/image_15012025_11_49_58_3923.jpg', '/home/pi/Desktop/images/15012025/11/51/image_15012025_11_51_01_2563.jpg', '/home/pi/Desktop/images/15012025/11/53/image_15012025_11_53_46_2614.jpg', '/home/pi/Desktop/images/15012025/11/58/image_15012025_11_58_19_2605.jpg', '/home/pi/Desktop/images/15012025/12/00/image_15012025_12_00_13_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/11/48/image_15012025_11_48_49_3708.jpg
/home/pi/Desktop/images/15012025/11/49/image_15012025_11_49_58_3923.jpg
/home/pi/Desktop/images/15012025/11/51/image_15012025_11_51_01_2563.jpg
/home/pi/Desktop/images/15012025/11/53/image_15012025_11_53_46_2614.jpg
/home/pi/Desktop/images/15012025/11/58/image_15012025_11_58_19_2605.jpg
/home/pi/Desktop/images/15012025/12/00/image_15012025_12_00_13_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329150755","1329150748","1329150736","1329150739","1329150732","1329150744"],"photo_ids_order":["1329150732","1329150736","1329150739","1329150744","1329150748","1329150755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0104a8d5c33e48b03cd7dc4c374ae0b5.jpg","text":"TemporaryFile(/tmp/multipartBody3194746346824696378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950324354,"filename":"image_15012025_12_00_13_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/106c080e553e1b30bde11c7e7ddded7f.jpg","text":"TemporaryFile(/tmp/multipartBody2216036314908589997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950324354,"filename":"image_15012025_11_58_19_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/196f701fdd26941008427608a5957dea.jpg","text":"TemporaryFile(/tmp/multipartBody8813678194405826287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950324354,"filename":"image_15012025_11_49_58_3923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7d47d5242c330129077ea7ed4c814b4.jpg","text":"TemporaryFile(/tmp/multipartBody8900058511463316745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950324354,"filename":"image_15012025_11_51_01_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76569fe1c4f616381dcba413cfc0f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8894223944833291667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950324354,"filename":"image_15012025_11_48_49_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/916f0a89cc80913e29f1400c5d0a8977.jpg","text":"TemporaryFile(/tmp/multipartBody4306628938966138163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950324354,"filename":"image_15012025_11_53_46_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329150739","file1":"1329150736","file0":"1329150732","file4":"1329150748","file5":"1329150755","file3":"1329150744"},"map_files_photo_id_array":[{"photo_id":"1329150755","filename":"file5"},{"photo_id":"1329150739","filename":"file2"},{"photo_id":"1329150748","filename":"file4"},{"photo_id":"1329150736","filename":"file1"},{"photo_id":"1329150732","filename":"file0"},{"photo_id":"1329150744","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329150755":["hashtag1","hashtag2"]},{"1329150748":["hashtag1","hashtag2"]},{"1329150736":["hashtag1","hashtag2"]},{"1329150739":["hashtag1","hashtag2"]},{"1329150732":["hashtag1","hashtag2"]},{"1329150744":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329150755, 1329150748, 1329150736, 1329150739, 1329150732, 1329150744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20024657249451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:11:42.642611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/12/01/image_15012025_12_01_46_2825.jpg', '/home/pi/Desktop/images/15012025/12/02/image_15012025_12_02_52_3671.jpg', '/home/pi/Desktop/images/15012025/12/03/image_15012025_12_03_58_3779.jpg', '/home/pi/Desktop/images/15012025/12/05/image_15012025_12_05_25_2753.jpg', '/home/pi/Desktop/images/15012025/12/06/image_15012025_12_06_46_3742.jpg', '/home/pi/Desktop/images/15012025/12/07/image_15012025_12_07_58_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/12/01/image_15012025_12_01_46_2825.jpg
/home/pi/Desktop/images/15012025/12/02/image_15012025_12_02_52_3671.jpg
/home/pi/Desktop/images/15012025/12/03/image_15012025_12_03_58_3779.jpg
/home/pi/Desktop/images/15012025/12/05/image_15012025_12_05_25_2753.jpg
/home/pi/Desktop/images/15012025/12/06/image_15012025_12_06_46_3742.jpg
/home/pi/Desktop/images/15012025/12/07/image_15012025_12_07_58_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329150806","1329150809","1329150802","1329150783","1329150813","1329150788"],"photo_ids_order":["1329150783","1329150788","1329150802","1329150806","1329150809","1329150813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87a6acfd4b005ab76552a89e2948e1cd.jpg","text":"TemporaryFile(/tmp/multipartBody1516836417021705934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950363519,"filename":"image_15012025_12_05_25_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f7f7661ce8fcb631310473330880b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1164443200531655905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950363519,"filename":"image_15012025_12_06_46_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c11b41c74f6777b8c8e3921ef91e5896.jpg","text":"TemporaryFile(/tmp/multipartBody5378406422722791737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950363519,"filename":"image_15012025_12_03_58_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29f73b071ecca7caea34feb4636d965b.jpg","text":"TemporaryFile(/tmp/multipartBody798317899796901013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950363519,"filename":"image_15012025_12_01_46_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c6498a73579cdc6ee32a84b40ee07ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8419048742134588833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950363519,"filename":"image_15012025_12_07_58_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4b1a32897dcce50c57da08dcfbbd101e.jpg","text":"TemporaryFile(/tmp/multipartBody7228524801246833750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950363519,"filename":"image_15012025_12_02_52_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329150802","file1":"1329150788","file0":"1329150783","file4":"1329150809","file5":"1329150813","file3":"1329150806"},"map_files_photo_id_array":[{"photo_id":"1329150813","filename":"file5"},{"photo_id":"1329150802","filename":"file2"},{"photo_id":"1329150809","filename":"file4"},{"photo_id":"1329150788","filename":"file1"},{"photo_id":"1329150783","filename":"file0"},{"photo_id":"1329150806","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329150806":["hashtag1","hashtag2"]},{"1329150809":["hashtag1","hashtag2"]},{"1329150802":["hashtag1","hashtag2"]},{"1329150783":["hashtag1","hashtag2"]},{"1329150813":["hashtag1","hashtag2"]},{"1329150788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329150806, 1329150809, 1329150802, 1329150783, 1329150813, 1329150788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.167654514312744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:12:22.243446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/12/08/image_15012025_12_08_51_3224.jpg', '/home/pi/Desktop/images/15012025/12/09/image_15012025_12_09_57_2676.jpg', '/home/pi/Desktop/images/15012025/12/11/image_15012025_12_11_27_2662.jpg', '/home/pi/Desktop/images/15012025/12/12/image_15012025_12_12_39_3644.jpg', '/home/pi/Desktop/images/15012025/12/15/image_15012025_12_15_20_2751.jpg', '/home/pi/Desktop/images/15012025/12/16/image_15012025_12_16_27_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/12/08/image_15012025_12_08_51_3224.jpg
/home/pi/Desktop/images/15012025/12/09/image_15012025_12_09_57_2676.jpg
/home/pi/Desktop/images/15012025/12/11/image_15012025_12_11_27_2662.jpg
/home/pi/Desktop/images/15012025/12/12/image_15012025_12_12_39_3644.jpg
/home/pi/Desktop/images/15012025/12/15/image_15012025_12_15_20_2751.jpg
/home/pi/Desktop/images/15012025/12/16/image_15012025_12_16_27_3786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329151324","1329151147","1329151161","1329151164","1329151311","1329151189"],"photo_ids_order":["1329151147","1329151161","1329151164","1329151189","1329151311","1329151324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5d221c7d02917a45eabef446d97c1ca8.jpg","text":"TemporaryFile(/tmp/multipartBody149364436299728864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950403063,"filename":"image_15012025_12_16_27_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0b05ae2a6e531dad25e758b6fa3a0f2.jpg","text":"TemporaryFile(/tmp/multipartBody5786344565700281133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950403063,"filename":"image_15012025_12_08_51_3224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/797e263e9abd7a83b7ba034c6e4ca94d.jpg","text":"TemporaryFile(/tmp/multipartBody4456437038399848709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950403063,"filename":"image_15012025_12_09_57_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/65ac5eb4f3a8a8fbd6fb507d9f05740a.jpg","text":"TemporaryFile(/tmp/multipartBody1963940066253898629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950403063,"filename":"image_15012025_12_11_27_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88b6f68d758f00c9709257625fe50770.jpg","text":"TemporaryFile(/tmp/multipartBody2065627046731969143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950403063,"filename":"image_15012025_12_15_20_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4110fb58dca988971df0511bb2cb219e.jpg","text":"TemporaryFile(/tmp/multipartBody652669000646356206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950403063,"filename":"image_15012025_12_12_39_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329151164","file1":"1329151161","file0":"1329151147","file4":"1329151311","file5":"1329151324","file3":"1329151189"},"map_files_photo_id_array":[{"photo_id":"1329151324","filename":"file5"},{"photo_id":"1329151164","filename":"file2"},{"photo_id":"1329151311","filename":"file4"},{"photo_id":"1329151161","filename":"file1"},{"photo_id":"1329151147","filename":"file0"},{"photo_id":"1329151189","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329151324":["hashtag1","hashtag2"]},{"1329151147":["hashtag1","hashtag2"]},{"1329151161":["hashtag1","hashtag2"]},{"1329151164":["hashtag1","hashtag2"]},{"1329151311":["hashtag1","hashtag2"]},{"1329151189":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329151324, 1329151147, 1329151161, 1329151164, 1329151311, 1329151189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17519450187683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:13:03.186337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/12/18/image_15012025_12_18_03_2999.jpg', '/home/pi/Desktop/images/15012025/12/19/image_15012025_12_19_56_2728.jpg', '/home/pi/Desktop/images/15012025/12/21/image_15012025_12_21_09_3774.jpg', '/home/pi/Desktop/images/15012025/12/24/image_15012025_12_24_23_3717.jpg', '/home/pi/Desktop/images/15012025/12/25/image_15012025_12_25_58_2677.jpg', '/home/pi/Desktop/images/15012025/12/26/image_15012025_12_26_50_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/12/18/image_15012025_12_18_03_2999.jpg
/home/pi/Desktop/images/15012025/12/19/image_15012025_12_19_56_2728.jpg
/home/pi/Desktop/images/15012025/12/21/image_15012025_12_21_09_3774.jpg
/home/pi/Desktop/images/15012025/12/24/image_15012025_12_24_23_3717.jpg
/home/pi/Desktop/images/15012025/12/25/image_15012025_12_25_58_2677.jpg
/home/pi/Desktop/images/15012025/12/26/image_15012025_12_26_50_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329151357","1329151342","1329151345","1329151383","1329151368","1329151379"],"photo_ids_order":["1329151342","1329151345","1329151357","1329151368","1329151379","1329151383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/250516dfd89f0709e17bdbae56318337.jpg","text":"TemporaryFile(/tmp/multipartBody1298671896683453025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950444147,"filename":"image_15012025_12_21_09_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c8327c120cac767f1c9fb9cf4198148.jpg","text":"TemporaryFile(/tmp/multipartBody8936929302687991955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950444147,"filename":"image_15012025_12_18_03_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf946d3661aefb0969d65a29bf4fa56a.jpg","text":"TemporaryFile(/tmp/multipartBody8742640320318235491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950444147,"filename":"image_15012025_12_19_56_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e9d3118174c1a35b2605c8a3e80e205.jpg","text":"TemporaryFile(/tmp/multipartBody2926659070762855840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950444147,"filename":"image_15012025_12_26_50_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/674921a03a613f6697e5868b4479dcf7.jpg","text":"TemporaryFile(/tmp/multipartBody8995153449926116816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950444147,"filename":"image_15012025_12_24_23_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ce32948cecad77b0e8c48ca5234270f0.jpg","text":"TemporaryFile(/tmp/multipartBody7882522387304035474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950444147,"filename":"image_15012025_12_25_58_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329151357","file1":"1329151345","file0":"1329151342","file4":"1329151379","file5":"1329151383","file3":"1329151368"},"map_files_photo_id_array":[{"photo_id":"1329151383","filename":"file5"},{"photo_id":"1329151357","filename":"file2"},{"photo_id":"1329151379","filename":"file4"},{"photo_id":"1329151345","filename":"file1"},{"photo_id":"1329151342","filename":"file0"},{"photo_id":"1329151368","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329151357":["hashtag1","hashtag2"]},{"1329151342":["hashtag1","hashtag2"]},{"1329151345":["hashtag1","hashtag2"]},{"1329151383":["hashtag1","hashtag2"]},{"1329151368":["hashtag1","hashtag2"]},{"1329151379":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329151357, 1329151342, 1329151345, 1329151383, 1329151368, 1329151379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31699824333191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:13:42.451369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/12/26/image_15012025_12_26_52_2730.jpg', '/home/pi/Desktop/images/15012025/12/26/image_15012025_12_26_56_3584.jpg', '/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_01_5395.jpg', '/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_04_3045.jpg', '/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_06_1815.jpg', '/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_08_1771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/12/26/image_15012025_12_26_52_2730.jpg
/home/pi/Desktop/images/15012025/12/26/image_15012025_12_26_56_3584.jpg
/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_01_5395.jpg
/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_04_3045.jpg
/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_06_1815.jpg
/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_08_1771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329151411","1329151398","1329151401","1329151394","1329151407","1329151403"],"photo_ids_order":["1329151394","1329151398","1329151401","1329151403","1329151407","1329151411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/94a28c698918e919db051dd4b6947a6a.jpg","text":"TemporaryFile(/tmp/multipartBody1600581563751421647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950483210,"filename":"image_15012025_12_27_08_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5ec544f66b57cb8c9b55781d3d1b26a.jpg","text":"TemporaryFile(/tmp/multipartBody4477577198653816785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950483210,"filename":"image_15012025_12_26_56_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a767621e3c86cd32187a31a9af2dbd70.jpg","text":"TemporaryFile(/tmp/multipartBody1553233191426049569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950483210,"filename":"image_15012025_12_27_01_5395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e93750c13d192a97a6bba1b51cf898e.jpg","text":"TemporaryFile(/tmp/multipartBody6251441141908631576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950483210,"filename":"image_15012025_12_26_52_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8f3160b7cd6cb44c2f160150f3889edc.jpg","text":"TemporaryFile(/tmp/multipartBody5585313606868164583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950483210,"filename":"image_15012025_12_27_06_1815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a812e54731adad931b3433a7d6e1626b.jpg","text":"TemporaryFile(/tmp/multipartBody5219704615684517026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950483210,"filename":"image_15012025_12_27_04_3045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329151401","file1":"1329151398","file0":"1329151394","file4":"1329151407","file5":"1329151411","file3":"1329151403"},"map_files_photo_id_array":[{"photo_id":"1329151411","filename":"file5"},{"photo_id":"1329151401","filename":"file2"},{"photo_id":"1329151407","filename":"file4"},{"photo_id":"1329151398","filename":"file1"},{"photo_id":"1329151394","filename":"file0"},{"photo_id":"1329151403","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329151411":["hashtag1","hashtag2"]},{"1329151398":["hashtag1","hashtag2"]},{"1329151401":["hashtag1","hashtag2"]},{"1329151394":["hashtag1","hashtag2"]},{"1329151407":["hashtag1","hashtag2"]},{"1329151403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329151411, 1329151398, 1329151401, 1329151394, 1329151407, 1329151403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53348636627197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:14:22.239256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_11_2709.jpg', '/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_16_2788.jpg', '/home/pi/Desktop/images/15012025/12/29/image_15012025_12_29_44_3703.jpg', '/home/pi/Desktop/images/15012025/12/29/image_15012025_12_29_47_2770.jpg', '/home/pi/Desktop/images/15012025/12/29/image_15012025_12_29_49_2696.jpg', '/home/pi/Desktop/images/15012025/12/29/image_15012025_12_29_52_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_11_2709.jpg
/home/pi/Desktop/images/15012025/12/27/image_15012025_12_27_16_2788.jpg
/home/pi/Desktop/images/15012025/12/29/image_15012025_12_29_44_3703.jpg
/home/pi/Desktop/images/15012025/12/29/image_15012025_12_29_47_2770.jpg
/home/pi/Desktop/images/15012025/12/29/image_15012025_12_29_49_2696.jpg
/home/pi/Desktop/images/15012025/12/29/image_15012025_12_29_52_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329151450","1329151461","1329151455","1329151439","1329151442","1329151436"],"photo_ids_order":["1329151436","1329151439","1329151442","1329151450","1329151455","1329151461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb9a2f96bd29ff2a50a1ea16cae6faa6.jpg","text":"TemporaryFile(/tmp/multipartBody1105447091347542730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950523047,"filename":"image_15012025_12_29_47_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ccaeec06db7c723867b3e936ebb0fe8f.jpg","text":"TemporaryFile(/tmp/multipartBody7187389876319645834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950523047,"filename":"image_15012025_12_29_52_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84f3f9944192f1640432249e39b02e84.jpg","text":"TemporaryFile(/tmp/multipartBody1810900669501537067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950523047,"filename":"image_15012025_12_29_49_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c63ba374d1f3ff6fcfe6e63d648b091.jpg","text":"TemporaryFile(/tmp/multipartBody405719150048458902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950523047,"filename":"image_15012025_12_27_16_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5efef88de69627a7d6a4118b1656ed13.jpg","text":"TemporaryFile(/tmp/multipartBody8884112788690395074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950523047,"filename":"image_15012025_12_29_44_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4073bf2d5bfa581b3bb8632ae570e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody1492561280345773512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950523047,"filename":"image_15012025_12_27_11_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329151442","file1":"1329151439","file0":"1329151436","file4":"1329151455","file5":"1329151461","file3":"1329151450"},"map_files_photo_id_array":[{"photo_id":"1329151461","filename":"file5"},{"photo_id":"1329151442","filename":"file2"},{"photo_id":"1329151455","filename":"file4"},{"photo_id":"1329151439","filename":"file1"},{"photo_id":"1329151436","filename":"file0"},{"photo_id":"1329151450","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329151450":["hashtag1","hashtag2"]},{"1329151461":["hashtag1","hashtag2"]},{"1329151455":["hashtag1","hashtag2"]},{"1329151439":["hashtag1","hashtag2"]},{"1329151442":["hashtag1","hashtag2"]},{"1329151436":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329151450, 1329151461, 1329151455, 1329151439, 1329151442, 1329151436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15060997009277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:15:03.417191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/12/33/image_15012025_12_33_10_2843.jpg', '/home/pi/Desktop/images/15012025/12/37/image_15012025_12_37_43_2675.jpg', '/home/pi/Desktop/images/15012025/12/38/image_15012025_12_38_16_2840.jpg', '/home/pi/Desktop/images/15012025/12/44/image_15012025_12_44_22_3732.jpg', '/home/pi/Desktop/images/15012025/12/50/image_15012025_12_50_47_2883.jpg', '/home/pi/Desktop/images/15012025/12/57/image_15012025_12_57_05_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/12/33/image_15012025_12_33_10_2843.jpg
/home/pi/Desktop/images/15012025/12/37/image_15012025_12_37_43_2675.jpg
/home/pi/Desktop/images/15012025/12/38/image_15012025_12_38_16_2840.jpg
/home/pi/Desktop/images/15012025/12/44/image_15012025_12_44_22_3732.jpg
/home/pi/Desktop/images/15012025/12/50/image_15012025_12_50_47_2883.jpg
/home/pi/Desktop/images/15012025/12/57/image_15012025_12_57_05_2841.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9673726558685303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:15:22.587767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/12/33/image_15012025_12_33_10_2843.jpg', '/home/pi/Desktop/images/15012025/12/37/image_15012025_12_37_43_2675.jpg', '/home/pi/Desktop/images/15012025/12/38/image_15012025_12_38_16_2840.jpg', '/home/pi/Desktop/images/15012025/12/44/image_15012025_12_44_22_3732.jpg', '/home/pi/Desktop/images/15012025/12/50/image_15012025_12_50_47_2883.jpg', '/home/pi/Desktop/images/15012025/12/57/image_15012025_12_57_05_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/12/33/image_15012025_12_33_10_2843.jpg
/home/pi/Desktop/images/15012025/12/37/image_15012025_12_37_43_2675.jpg
/home/pi/Desktop/images/15012025/12/38/image_15012025_12_38_16_2840.jpg
/home/pi/Desktop/images/15012025/12/44/image_15012025_12_44_22_3732.jpg
/home/pi/Desktop/images/15012025/12/50/image_15012025_12_50_47_2883.jpg
/home/pi/Desktop/images/15012025/12/57/image_15012025_12_57_05_2841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329151495","1329151522","1329151533","1329151490","1329151511","1329151505"],"photo_ids_order":["1329151490","1329151495","1329151505","1329151511","1329151522","1329151533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40c81682f6b1807cc4567a3ae3a22d07.jpg","text":"TemporaryFile(/tmp/multipartBody7244414738724598572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950583414,"filename":"image_15012025_12_37_43_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fffbc0c4093149b1f41db8b30703756e.jpg","text":"TemporaryFile(/tmp/multipartBody4411493825148176367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950583414,"filename":"image_15012025_12_50_47_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7df18f3d6015c1c373b35bf21a14b6be.jpg","text":"TemporaryFile(/tmp/multipartBody3282043229048199977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950583414,"filename":"image_15012025_12_57_05_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/07de766fb87b8d55cffa407b07c60e25.jpg","text":"TemporaryFile(/tmp/multipartBody8498928329853338781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950583414,"filename":"image_15012025_12_33_10_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e51cad381dd23170b6408fab6d73d7e8.jpg","text":"TemporaryFile(/tmp/multipartBody190310684734705787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950583414,"filename":"image_15012025_12_44_22_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d2efd2f6ae9d72de830162ffb1a62627.jpg","text":"TemporaryFile(/tmp/multipartBody4535429703168968446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950583414,"filename":"image_15012025_12_38_16_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329151505","file1":"1329151495","file0":"1329151490","file4":"1329151522","file5":"1329151533","file3":"1329151511"},"map_files_photo_id_array":[{"photo_id":"1329151533","filename":"file5"},{"photo_id":"1329151505","filename":"file2"},{"photo_id":"1329151522","filename":"file4"},{"photo_id":"1329151495","filename":"file1"},{"photo_id":"1329151490","filename":"file0"},{"photo_id":"1329151511","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329151495":["hashtag1","hashtag2"]},{"1329151522":["hashtag1","hashtag2"]},{"1329151533":["hashtag1","hashtag2"]},{"1329151490":["hashtag1","hashtag2"]},{"1329151511":["hashtag1","hashtag2"]},{"1329151505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329151495, 1329151522, 1329151533, 1329151490, 1329151511, 1329151505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.391926527023315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:16:02.787121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/13/08/image_15012025_13_08_46_3689.jpg', '/home/pi/Desktop/images/15012025/13/17/image_15012025_13_17_38_2737.jpg', '/home/pi/Desktop/images/15012025/13/23/image_15012025_13_23_05_3575.jpg', '/home/pi/Desktop/images/15012025/13/29/image_15012025_13_29_01_2578.jpg', '/home/pi/Desktop/images/15012025/13/31/image_15012025_13_31_16_2698.jpg', '/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_40_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/13/08/image_15012025_13_08_46_3689.jpg
/home/pi/Desktop/images/15012025/13/17/image_15012025_13_17_38_2737.jpg
/home/pi/Desktop/images/15012025/13/23/image_15012025_13_23_05_3575.jpg
/home/pi/Desktop/images/15012025/13/29/image_15012025_13_29_01_2578.jpg
/home/pi/Desktop/images/15012025/13/31/image_15012025_13_31_16_2698.jpg
/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_40_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329151552","1329151582","1329151555","1329151572","1329151557","1329151568"],"photo_ids_order":["1329151552","1329151555","1329151557","1329151568","1329151572","1329151582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d416aca72373720c563eec3f335c873.jpg","text":"TemporaryFile(/tmp/multipartBody9030124352148930021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950623648,"filename":"image_15012025_13_08_46_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/68c683e802d181e1097ba2832b155098.jpg","text":"TemporaryFile(/tmp/multipartBody3523228947978014022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950623648,"filename":"image_15012025_13_32_40_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2606de14284739fe130c9b65f005b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8658886257705398375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950623648,"filename":"image_15012025_13_17_38_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2cd70fb372c335585379a84d00179d41.jpg","text":"TemporaryFile(/tmp/multipartBody7191541433121061693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950623648,"filename":"image_15012025_13_31_16_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9bb0e94bf777f1812d95e2df68771be8.jpg","text":"TemporaryFile(/tmp/multipartBody705398654207781547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950623648,"filename":"image_15012025_13_23_05_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/39bf7ff37f5ddeef8b98216a4ea9a7b2.jpg","text":"TemporaryFile(/tmp/multipartBody9139229766809806327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950623648,"filename":"image_15012025_13_29_01_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329151557","file1":"1329151555","file0":"1329151552","file4":"1329151572","file5":"1329151582","file3":"1329151568"},"map_files_photo_id_array":[{"photo_id":"1329151582","filename":"file5"},{"photo_id":"1329151557","filename":"file2"},{"photo_id":"1329151572","filename":"file4"},{"photo_id":"1329151555","filename":"file1"},{"photo_id":"1329151552","filename":"file0"},{"photo_id":"1329151568","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329151552":["hashtag1","hashtag2"]},{"1329151582":["hashtag1","hashtag2"]},{"1329151555":["hashtag1","hashtag2"]},{"1329151572":["hashtag1","hashtag2"]},{"1329151557":["hashtag1","hashtag2"]},{"1329151568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329151552, 1329151582, 1329151555, 1329151572, 1329151557, 1329151568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.145724296569824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:16:42.216064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_44_3621.jpg', '/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_46_2807.jpg', '/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_49_2674.jpg', '/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_53_3661.jpg', '/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_55_2622.jpg', '/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_58_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_44_3621.jpg
/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_46_2807.jpg
/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_49_2674.jpg
/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_53_3661.jpg
/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_55_2622.jpg
/home/pi/Desktop/images/15012025/13/32/image_15012025_13_32_58_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329151639","1329151618","1329151603","1329151599","1329151626","1329151610"],"photo_ids_order":["1329151599","1329151603","1329151610","1329151618","1329151626","1329151639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c3d4106a608b6a61481d035fb54a2b66.jpg","text":"TemporaryFile(/tmp/multipartBody7519721004435882014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950663023,"filename":"image_15012025_13_32_58_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/25e5aeaa52cadb83bbdfbc3f6bd93a32.jpg","text":"TemporaryFile(/tmp/multipartBody6745579023647673521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950663023,"filename":"image_15012025_13_32_53_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a114a34c529f6b489e0b161f99b3a63a.jpg","text":"TemporaryFile(/tmp/multipartBody8129814292622871019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950663023,"filename":"image_15012025_13_32_46_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7eaae8468057a2067d5bfce886e3f32.jpg","text":"TemporaryFile(/tmp/multipartBody9216823530814420351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950663023,"filename":"image_15012025_13_32_44_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8448841469489ed0367af43b390670f0.jpg","text":"TemporaryFile(/tmp/multipartBody5390877306309725573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950663023,"filename":"image_15012025_13_32_55_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f354de564457a5b142417c0c5da6fbe3.jpg","text":"TemporaryFile(/tmp/multipartBody9094934603045596362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950663023,"filename":"image_15012025_13_32_49_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329151610","file1":"1329151603","file0":"1329151599","file4":"1329151626","file5":"1329151639","file3":"1329151618"},"map_files_photo_id_array":[{"photo_id":"1329151639","filename":"file5"},{"photo_id":"1329151610","filename":"file2"},{"photo_id":"1329151626","filename":"file4"},{"photo_id":"1329151603","filename":"file1"},{"photo_id":"1329151599","filename":"file0"},{"photo_id":"1329151618","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329151639":["hashtag1","hashtag2"]},{"1329151618":["hashtag1","hashtag2"]},{"1329151603":["hashtag1","hashtag2"]},{"1329151599":["hashtag1","hashtag2"]},{"1329151626":["hashtag1","hashtag2"]},{"1329151610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329151639, 1329151618, 1329151603, 1329151599, 1329151626, 1329151610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91023540496826 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:17:42.896767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/13/33/image_15012025_13_33_02_3699.jpg', '/home/pi/Desktop/images/15012025/13/33/image_15012025_13_33_10_2798.jpg', '/home/pi/Desktop/images/15012025/13/34/image_15012025_13_34_13_2720.jpg', '/home/pi/Desktop/images/15012025/13/38/image_15012025_13_38_15_2853.jpg', '/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_25_2945.jpg', '/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_51_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/13/33/image_15012025_13_33_02_3699.jpg
/home/pi/Desktop/images/15012025/13/33/image_15012025_13_33_10_2798.jpg
/home/pi/Desktop/images/15012025/13/34/image_15012025_13_34_13_2720.jpg
/home/pi/Desktop/images/15012025/13/38/image_15012025_13_38_15_2853.jpg
/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_25_2945.jpg
/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_51_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329151963","1329151693","1329151682","1329152143","1329152071","1329151882"],"photo_ids_order":["1329151682","1329151693","1329151882","1329151963","1329152071","1329152143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e25411918bbfe92c2dd4dc58f942878e.jpg","text":"TemporaryFile(/tmp/multipartBody4190394680288312796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950723684,"filename":"image_15012025_13_38_15_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8c34bb6f39d61de4cc697f16b969ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6583092238254783484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950723684,"filename":"image_15012025_13_33_10_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/17889afab656e375b39ab12fceec8020.jpg","text":"TemporaryFile(/tmp/multipartBody5792622701156239587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950723684,"filename":"image_15012025_13_33_02_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5dbe2cadfc6cc770d1076f1537f8452.jpg","text":"TemporaryFile(/tmp/multipartBody7521362387342616858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950723684,"filename":"image_15012025_13_40_51_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b868f70b827ff1bd76a907c9831dbf1.jpg","text":"TemporaryFile(/tmp/multipartBody2861955416220206542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950723684,"filename":"image_15012025_13_40_25_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/351df038a455314775f231a7665d8fdd.jpg","text":"TemporaryFile(/tmp/multipartBody3546775653037018729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950723684,"filename":"image_15012025_13_34_13_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329151882","file1":"1329151693","file0":"1329151682","file4":"1329152071","file5":"1329152143","file3":"1329151963"},"map_files_photo_id_array":[{"photo_id":"1329152143","filename":"file5"},{"photo_id":"1329151882","filename":"file2"},{"photo_id":"1329152071","filename":"file4"},{"photo_id":"1329151693","filename":"file1"},{"photo_id":"1329151682","filename":"file0"},{"photo_id":"1329151963","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329151963":["hashtag1","hashtag2"]},{"1329151693":["hashtag1","hashtag2"]},{"1329151682":["hashtag1","hashtag2"]},{"1329152143":["hashtag1","hashtag2"]},{"1329152071":["hashtag1","hashtag2"]},{"1329151882":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329151963, 1329151693, 1329151682, 1329152143, 1329152071, 1329151882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.904844522476196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:19:03.342876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_55_3636.jpg', '/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_57_2641.jpg', '/home/pi/Desktop/images/15012025/13/46/image_15012025_13_46_38_2716.jpg', '/home/pi/Desktop/images/15012025/13/53/image_15012025_13_53_38_2656.jpg', '/home/pi/Desktop/images/15012025/14/00/image_15012025_14_00_44_2686.jpg', '/home/pi/Desktop/images/15012025/14/03/image_15012025_14_03_25_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_55_3636.jpg
/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_57_2641.jpg
/home/pi/Desktop/images/15012025/13/46/image_15012025_13_46_38_2716.jpg
/home/pi/Desktop/images/15012025/13/53/image_15012025_13_53_38_2656.jpg
/home/pi/Desktop/images/15012025/14/00/image_15012025_14_00_44_2686.jpg
/home/pi/Desktop/images/15012025/14/03/image_15012025_14_03_25_2536.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9569509029388428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:19:22.395230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_55_3636.jpg', '/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_57_2641.jpg', '/home/pi/Desktop/images/15012025/13/46/image_15012025_13_46_38_2716.jpg', '/home/pi/Desktop/images/15012025/13/53/image_15012025_13_53_38_2656.jpg', '/home/pi/Desktop/images/15012025/14/00/image_15012025_14_00_44_2686.jpg', '/home/pi/Desktop/images/15012025/14/03/image_15012025_14_03_25_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_55_3636.jpg
/home/pi/Desktop/images/15012025/13/40/image_15012025_13_40_57_2641.jpg
/home/pi/Desktop/images/15012025/13/46/image_15012025_13_46_38_2716.jpg
/home/pi/Desktop/images/15012025/13/53/image_15012025_13_53_38_2656.jpg
/home/pi/Desktop/images/15012025/14/00/image_15012025_14_00_44_2686.jpg
/home/pi/Desktop/images/15012025/14/03/image_15012025_14_03_25_2536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329152416","1329152586","1329152376","1329152373","1329152597","1329152624"],"photo_ids_order":["1329152373","1329152376","1329152416","1329152586","1329152597","1329152624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52ccc587127f00abc0579cc2e7253781.jpg","text":"TemporaryFile(/tmp/multipartBody4931188285163988364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950823119,"filename":"image_15012025_13_46_38_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7e6245a4e53eaca376c3fe713fded9c9.jpg","text":"TemporaryFile(/tmp/multipartBody2624051705616595766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950823119,"filename":"image_15012025_13_53_38_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/437c642e36e45dddec160e0d8467b3b7.jpg","text":"TemporaryFile(/tmp/multipartBody4563912655433579964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950823119,"filename":"image_15012025_13_40_57_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d7939d652057ca1b4de20c03490f3fd.jpg","text":"TemporaryFile(/tmp/multipartBody4332849751637368816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950823119,"filename":"image_15012025_13_40_55_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/66abe1be6fd44a72c12c7a89d4d31c8f.jpg","text":"TemporaryFile(/tmp/multipartBody1601674322854710032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950823119,"filename":"image_15012025_14_00_44_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a421f2de6f15e6e597f99de80cbae746.jpg","text":"TemporaryFile(/tmp/multipartBody5582671982799989380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950823119,"filename":"image_15012025_14_03_25_2536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329152416","file1":"1329152376","file0":"1329152373","file4":"1329152597","file5":"1329152624","file3":"1329152586"},"map_files_photo_id_array":[{"photo_id":"1329152624","filename":"file5"},{"photo_id":"1329152416","filename":"file2"},{"photo_id":"1329152597","filename":"file4"},{"photo_id":"1329152376","filename":"file1"},{"photo_id":"1329152373","filename":"file0"},{"photo_id":"1329152586","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329152416":["hashtag1","hashtag2"]},{"1329152586":["hashtag1","hashtag2"]},{"1329152376":["hashtag1","hashtag2"]},{"1329152373":["hashtag1","hashtag2"]},{"1329152597":["hashtag1","hashtag2"]},{"1329152624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329152416, 1329152586, 1329152376, 1329152373, 1329152597, 1329152624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.036978006362915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:20:03.010030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/14/08/image_15012025_14_08_19_2639.jpg', '/home/pi/Desktop/images/15012025/14/12/image_15012025_14_12_49_2634.jpg', '/home/pi/Desktop/images/15012025/14/15/image_15012025_14_15_51_2552.jpg', '/home/pi/Desktop/images/15012025/14/17/image_15012025_14_17_42_2619.jpg', '/home/pi/Desktop/images/15012025/14/21/image_15012025_14_21_36_3624.jpg', '/home/pi/Desktop/images/15012025/14/24/image_15012025_14_24_02_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/14/08/image_15012025_14_08_19_2639.jpg
/home/pi/Desktop/images/15012025/14/12/image_15012025_14_12_49_2634.jpg
/home/pi/Desktop/images/15012025/14/15/image_15012025_14_15_51_2552.jpg
/home/pi/Desktop/images/15012025/14/17/image_15012025_14_17_42_2619.jpg
/home/pi/Desktop/images/15012025/14/21/image_15012025_14_21_36_3624.jpg
/home/pi/Desktop/images/15012025/14/24/image_15012025_14_24_02_2756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329152685","1329152673","1329152676","1329152679","1329152681","1329152669"],"photo_ids_order":["1329152669","1329152673","1329152676","1329152679","1329152681","1329152685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a9f0af573e9817bf77da9c4668fb4ff.jpg","text":"TemporaryFile(/tmp/multipartBody7834802682982005145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950863782,"filename":"image_15012025_14_24_02_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14a4efdf0284f5801d16bb24c2f2a284.jpg","text":"TemporaryFile(/tmp/multipartBody4085537926232898007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950863782,"filename":"image_15012025_14_12_49_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be04c9bd77bb35e5a9b8426a6859a012.jpg","text":"TemporaryFile(/tmp/multipartBody3397491407776544423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950863782,"filename":"image_15012025_14_15_51_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5afd3c9d0b882d17a0a8875ddc222177.jpg","text":"TemporaryFile(/tmp/multipartBody5193670226539154386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950863782,"filename":"image_15012025_14_17_42_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/494f86265d72df26e323f6a3f7df4787.jpg","text":"TemporaryFile(/tmp/multipartBody7562363897284009184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950863782,"filename":"image_15012025_14_21_36_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf95d0fb78eb9be487d89efea7bcf680.jpg","text":"TemporaryFile(/tmp/multipartBody1798856300732711583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950863782,"filename":"image_15012025_14_08_19_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329152676","file1":"1329152673","file0":"1329152669","file4":"1329152681","file5":"1329152685","file3":"1329152679"},"map_files_photo_id_array":[{"photo_id":"1329152685","filename":"file5"},{"photo_id":"1329152676","filename":"file2"},{"photo_id":"1329152681","filename":"file4"},{"photo_id":"1329152673","filename":"file1"},{"photo_id":"1329152669","filename":"file0"},{"photo_id":"1329152679","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329152685":["hashtag1","hashtag2"]},{"1329152673":["hashtag1","hashtag2"]},{"1329152676":["hashtag1","hashtag2"]},{"1329152679":["hashtag1","hashtag2"]},{"1329152681":["hashtag1","hashtag2"]},{"1329152669":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329152685, 1329152673, 1329152676, 1329152679, 1329152681, 1329152669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.063833713531494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:20:42.404065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/14/27/image_15012025_14_27_42_3755.jpg', '/home/pi/Desktop/images/15012025/14/31/image_15012025_14_31_10_3570.jpg', '/home/pi/Desktop/images/15012025/14/31/image_15012025_14_31_55_2703.jpg', '/home/pi/Desktop/images/15012025/14/31/image_15012025_14_31_58_3585.jpg', '/home/pi/Desktop/images/15012025/14/32/image_15012025_14_32_01_2795.jpg', '/home/pi/Desktop/images/15012025/14/32/image_15012025_14_32_04_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/14/27/image_15012025_14_27_42_3755.jpg
/home/pi/Desktop/images/15012025/14/31/image_15012025_14_31_10_3570.jpg
/home/pi/Desktop/images/15012025/14/31/image_15012025_14_31_55_2703.jpg
/home/pi/Desktop/images/15012025/14/31/image_15012025_14_31_58_3585.jpg
/home/pi/Desktop/images/15012025/14/32/image_15012025_14_32_01_2795.jpg
/home/pi/Desktop/images/15012025/14/32/image_15012025_14_32_04_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329152730","1329152718","1329152706","1329152711","1329152698","1329152725"],"photo_ids_order":["1329152698","1329152706","1329152711","1329152718","1329152725","1329152730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c747d81a64da810e73499a9adedff59.jpg","text":"TemporaryFile(/tmp/multipartBody7002284760121143493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950903086,"filename":"image_15012025_14_32_04_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b32b8aab61c79fccbfb70af7fb1b79b.jpg","text":"TemporaryFile(/tmp/multipartBody2525226185352420866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950903086,"filename":"image_15012025_14_31_58_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1a829e27e64f3577ee2a1084a1de7d6f.jpg","text":"TemporaryFile(/tmp/multipartBody1982324824398924763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950903086,"filename":"image_15012025_14_31_10_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5de2543754bb8f10b138a07cce22cea3.jpg","text":"TemporaryFile(/tmp/multipartBody3643342370206102499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950903086,"filename":"image_15012025_14_31_55_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9c64c4c5b0a8243071135cd9573d2224.jpg","text":"TemporaryFile(/tmp/multipartBody3643288759540270712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950903086,"filename":"image_15012025_14_27_42_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e322803b47f7269d9751197f23753b98.jpg","text":"TemporaryFile(/tmp/multipartBody8010350742805840679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950903086,"filename":"image_15012025_14_32_01_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329152711","file1":"1329152706","file0":"1329152698","file4":"1329152725","file5":"1329152730","file3":"1329152718"},"map_files_photo_id_array":[{"photo_id":"1329152730","filename":"file5"},{"photo_id":"1329152711","filename":"file2"},{"photo_id":"1329152725","filename":"file4"},{"photo_id":"1329152706","filename":"file1"},{"photo_id":"1329152698","filename":"file0"},{"photo_id":"1329152718","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329152730":["hashtag1","hashtag2"]},{"1329152718":["hashtag1","hashtag2"]},{"1329152706":["hashtag1","hashtag2"]},{"1329152711":["hashtag1","hashtag2"]},{"1329152698":["hashtag1","hashtag2"]},{"1329152725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329152730, 1329152718, 1329152706, 1329152711, 1329152698, 1329152725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.228187084198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:21:21.846759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/14/32/image_15012025_14_32_10_2715.jpg', '/home/pi/Desktop/images/15012025/14/32/image_15012025_14_32_58_2814.jpg', '/home/pi/Desktop/images/15012025/14/34/image_15012025_14_34_31_2880.jpg', '/home/pi/Desktop/images/15012025/14/35/image_15012025_14_35_13_3684.jpg', '/home/pi/Desktop/images/15012025/14/35/image_15012025_14_35_16_2545.jpg', '/home/pi/Desktop/images/15012025/14/37/image_15012025_14_37_22_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/14/32/image_15012025_14_32_10_2715.jpg
/home/pi/Desktop/images/15012025/14/32/image_15012025_14_32_58_2814.jpg
/home/pi/Desktop/images/15012025/14/34/image_15012025_14_34_31_2880.jpg
/home/pi/Desktop/images/15012025/14/35/image_15012025_14_35_13_3684.jpg
/home/pi/Desktop/images/15012025/14/35/image_15012025_14_35_16_2545.jpg
/home/pi/Desktop/images/15012025/14/37/image_15012025_14_37_22_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329152768","1329152753","1329152741","1329152735","1329152761","1329152746"],"photo_ids_order":["1329152735","1329152741","1329152746","1329152753","1329152761","1329152768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eea6151616bad162d7c8e895ffdbe0c7.jpg","text":"TemporaryFile(/tmp/multipartBody6076784050840676827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950942597,"filename":"image_15012025_14_37_22_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e56fa06e6fc03db9cb7b1575b2a9a79.jpg","text":"TemporaryFile(/tmp/multipartBody7732029228277004427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950942597,"filename":"image_15012025_14_35_13_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4ff1d17fda22313ed205a9b07ccaf0f7.jpg","text":"TemporaryFile(/tmp/multipartBody3376706093435784953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950942597,"filename":"image_15012025_14_32_58_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5d318ba721f98421e8a73b3fa07c548.jpg","text":"TemporaryFile(/tmp/multipartBody6301616811024047354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950942597,"filename":"image_15012025_14_32_10_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/676c2c112565698973d325a9d1bd75c8.jpg","text":"TemporaryFile(/tmp/multipartBody532431903797836232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950942597,"filename":"image_15012025_14_35_16_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2dc241b4011f9037afdce24631ad9e13.jpg","text":"TemporaryFile(/tmp/multipartBody4928349105693092783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736950942597,"filename":"image_15012025_14_34_31_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329152746","file1":"1329152741","file0":"1329152735","file4":"1329152761","file5":"1329152768","file3":"1329152753"},"map_files_photo_id_array":[{"photo_id":"1329152768","filename":"file5"},{"photo_id":"1329152746","filename":"file2"},{"photo_id":"1329152761","filename":"file4"},{"photo_id":"1329152741","filename":"file1"},{"photo_id":"1329152735","filename":"file0"},{"photo_id":"1329152753","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329152768":["hashtag1","hashtag2"]},{"1329152753":["hashtag1","hashtag2"]},{"1329152741":["hashtag1","hashtag2"]},{"1329152735":["hashtag1","hashtag2"]},{"1329152761":["hashtag1","hashtag2"]},{"1329152746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329152768, 1329152753, 1329152741, 1329152735, 1329152761, 1329152746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.24770474433899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:22:22.310155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/14/39/image_15012025_14_39_21_2647.jpg', '/home/pi/Desktop/images/15012025/14/40/image_15012025_14_40_54_2600.jpg', '/home/pi/Desktop/images/15012025/14/43/image_15012025_14_43_42_2727.jpg', '/home/pi/Desktop/images/15012025/14/45/image_15012025_14_45_18_2707.jpg', '/home/pi/Desktop/images/15012025/14/47/image_15012025_14_47_12_3305.jpg', '/home/pi/Desktop/images/15012025/14/49/image_15012025_14_49_54_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/14/39/image_15012025_14_39_21_2647.jpg
/home/pi/Desktop/images/15012025/14/40/image_15012025_14_40_54_2600.jpg
/home/pi/Desktop/images/15012025/14/43/image_15012025_14_43_42_2727.jpg
/home/pi/Desktop/images/15012025/14/45/image_15012025_14_45_18_2707.jpg
/home/pi/Desktop/images/15012025/14/47/image_15012025_14_47_12_3305.jpg
/home/pi/Desktop/images/15012025/14/49/image_15012025_14_49_54_1708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329152809","1329152880","1329152832","1329152813","1329152807","1329152804"],"photo_ids_order":["1329152804","1329152807","1329152809","1329152813","1329152832","1329152880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9c938db1d3c1133cc0c70979b6e1ef95.jpg","text":"TemporaryFile(/tmp/multipartBody8098884883634874015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951002984,"filename":"image_15012025_14_43_42_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e403bad9afc473bef1237b8dec1f435.jpg","text":"TemporaryFile(/tmp/multipartBody1131817178515092043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951002984,"filename":"image_15012025_14_49_54_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3ac99675ed6fd0a60f9aa2caf32ed9cf.jpg","text":"TemporaryFile(/tmp/multipartBody4468603044250448266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951002984,"filename":"image_15012025_14_47_12_3305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/322e49fd3a06ecbdd654b7a3dec335ed.jpg","text":"TemporaryFile(/tmp/multipartBody7297536810272035047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951002984,"filename":"image_15012025_14_45_18_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73e2f50ccca3b203ea5bf02fef2aeb24.jpg","text":"TemporaryFile(/tmp/multipartBody2410150720230861182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951002984,"filename":"image_15012025_14_40_54_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9098914ce1d93b812e21edb8fe241147.jpg","text":"TemporaryFile(/tmp/multipartBody8262786311315513206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951002984,"filename":"image_15012025_14_39_21_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329152809","file1":"1329152807","file0":"1329152804","file4":"1329152832","file5":"1329152880","file3":"1329152813"},"map_files_photo_id_array":[{"photo_id":"1329152880","filename":"file5"},{"photo_id":"1329152809","filename":"file2"},{"photo_id":"1329152832","filename":"file4"},{"photo_id":"1329152807","filename":"file1"},{"photo_id":"1329152804","filename":"file0"},{"photo_id":"1329152813","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329152809":["hashtag1","hashtag2"]},{"1329152880":["hashtag1","hashtag2"]},{"1329152832":["hashtag1","hashtag2"]},{"1329152813":["hashtag1","hashtag2"]},{"1329152807":["hashtag1","hashtag2"]},{"1329152804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329152809, 1329152880, 1329152832, 1329152813, 1329152807, 1329152804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18114447593689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:23:03.247695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/14/52/image_15012025_14_52_56_3661.jpg', '/home/pi/Desktop/images/15012025/14/56/image_15012025_14_56_20_2628.jpg', '/home/pi/Desktop/images/15012025/14/58/image_15012025_14_58_49_2667.jpg', '/home/pi/Desktop/images/15012025/15/01/image_15012025_15_01_10_3641.jpg', '/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_04_2681.jpg', '/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_06_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/14/52/image_15012025_14_52_56_3661.jpg
/home/pi/Desktop/images/15012025/14/56/image_15012025_14_56_20_2628.jpg
/home/pi/Desktop/images/15012025/14/58/image_15012025_14_58_49_2667.jpg
/home/pi/Desktop/images/15012025/15/01/image_15012025_15_01_10_3641.jpg
/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_04_2681.jpg
/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_06_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329152964","1329152952","1329152943","1329152960","1329152968","1329152956"],"photo_ids_order":["1329152943","1329152952","1329152956","1329152960","1329152964","1329152968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9188196aa6899e4b9ddae1ac5c513ca1.jpg","text":"TemporaryFile(/tmp/multipartBody6397506684465392799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951044098,"filename":"image_15012025_15_02_04_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/930b8221aae64d8955eed012d226d48a.jpg","text":"TemporaryFile(/tmp/multipartBody5421755055991558678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951044098,"filename":"image_15012025_14_56_20_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f941c955dfe13a4ed506d96bba485417.jpg","text":"TemporaryFile(/tmp/multipartBody1301104574457318575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951044098,"filename":"image_15012025_14_52_56_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea0f88526067b688cc687dfddf40bdd9.jpg","text":"TemporaryFile(/tmp/multipartBody1859938291173635258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951044098,"filename":"image_15012025_15_01_10_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0b2e77b9be62b3b8f51eef1a8e9608ec.jpg","text":"TemporaryFile(/tmp/multipartBody6827593966530930164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951044098,"filename":"image_15012025_15_02_06_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eefea7731b934c7368e58f233b88fc38.jpg","text":"TemporaryFile(/tmp/multipartBody2719740158950877422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951044098,"filename":"image_15012025_14_58_49_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329152956","file1":"1329152952","file0":"1329152943","file4":"1329152964","file5":"1329152968","file3":"1329152960"},"map_files_photo_id_array":[{"photo_id":"1329152968","filename":"file5"},{"photo_id":"1329152956","filename":"file2"},{"photo_id":"1329152964","filename":"file4"},{"photo_id":"1329152952","filename":"file1"},{"photo_id":"1329152943","filename":"file0"},{"photo_id":"1329152960","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329152964":["hashtag1","hashtag2"]},{"1329152952":["hashtag1","hashtag2"]},{"1329152943":["hashtag1","hashtag2"]},{"1329152960":["hashtag1","hashtag2"]},{"1329152968":["hashtag1","hashtag2"]},{"1329152956":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329152964, 1329152952, 1329152943, 1329152960, 1329152968, 1329152956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81923484802246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:23:42.441190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_10_3566.jpg', '/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_15_2680.jpg', '/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_19_3599.jpg', '/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_22_2604.jpg', '/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_25_2857.jpg', '/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_28_3797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_10_3566.jpg
/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_15_2680.jpg
/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_19_3599.jpg
/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_22_2604.jpg
/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_25_2857.jpg
/home/pi/Desktop/images/15012025/15/02/image_15012025_15_02_28_3797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329152994","1329152997","1329152982","1329152991","1329152986","1329152977"],"photo_ids_order":["1329152977","1329152982","1329152986","1329152991","1329152994","1329152997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/89809e69fe364fc0c87c8aeaf4631091.jpg","text":"TemporaryFile(/tmp/multipartBody5992442548710778788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951083115,"filename":"image_15012025_15_02_25_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca7b12b01c9fc0c8589095f810c453c6.jpg","text":"TemporaryFile(/tmp/multipartBody3065170177941156262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951083115,"filename":"image_15012025_15_02_28_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d67b831732ee1b0b994034c88a6e63d.jpg","text":"TemporaryFile(/tmp/multipartBody2648622429056465321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951083115,"filename":"image_15012025_15_02_15_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/732a62477cd8ca4dbd7dbfcd98b4b630.jpg","text":"TemporaryFile(/tmp/multipartBody4582935331466333996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951083115,"filename":"image_15012025_15_02_22_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0acc16eb8a4be69c953dc31a5aeb0846.jpg","text":"TemporaryFile(/tmp/multipartBody7501619794452136778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951083115,"filename":"image_15012025_15_02_19_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6184054b7ba6618b8332ff0d0cfc426.jpg","text":"TemporaryFile(/tmp/multipartBody5197636288594299484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951083115,"filename":"image_15012025_15_02_10_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329152986","file1":"1329152982","file0":"1329152977","file4":"1329152994","file5":"1329152997","file3":"1329152991"},"map_files_photo_id_array":[{"photo_id":"1329152997","filename":"file5"},{"photo_id":"1329152986","filename":"file2"},{"photo_id":"1329152994","filename":"file4"},{"photo_id":"1329152982","filename":"file1"},{"photo_id":"1329152977","filename":"file0"},{"photo_id":"1329152991","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329152994":["hashtag1","hashtag2"]},{"1329152997":["hashtag1","hashtag2"]},{"1329152982":["hashtag1","hashtag2"]},{"1329152991":["hashtag1","hashtag2"]},{"1329152986":["hashtag1","hashtag2"]},{"1329152977":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329152994, 1329152997, 1329152982, 1329152991, 1329152986, 1329152977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15891146659851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:24:22.414426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/03/image_15012025_15_03_28_2671.jpg', '/home/pi/Desktop/images/15012025/15/05/image_15012025_15_05_25_3689.jpg', '/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_39_2702.jpg', '/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_42_2632.jpg', '/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_46_3729.jpg', '/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_48_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/03/image_15012025_15_03_28_2671.jpg
/home/pi/Desktop/images/15012025/15/05/image_15012025_15_05_25_3689.jpg
/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_39_2702.jpg
/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_42_2632.jpg
/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_46_3729.jpg
/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_48_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153021","1329153000","1329153005","1329153029","1329153002","1329153013"],"photo_ids_order":["1329153000","1329153002","1329153005","1329153013","1329153021","1329153029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/196ec698dc7e2943de21d3701c29f747.jpg","text":"TemporaryFile(/tmp/multipartBody8413100806562185284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951123150,"filename":"image_15012025_15_06_46_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be6a5baf5a67810ab0926d15209b3593.jpg","text":"TemporaryFile(/tmp/multipartBody1453435744488655858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951123150,"filename":"image_15012025_15_03_28_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b4952b1acca11720a4bc86a74af462e.jpg","text":"TemporaryFile(/tmp/multipartBody2755310694291018659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951123150,"filename":"image_15012025_15_06_39_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/71c2b9cb66fe505cc8f02ff55cf76fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3970041840933638979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951123150,"filename":"image_15012025_15_06_48_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd55bf3290a66513a5d5cb7bf7b2f3bf.jpg","text":"TemporaryFile(/tmp/multipartBody4855032736456097915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951123150,"filename":"image_15012025_15_05_25_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8f3cad8c2a4f1f917b19182e331f576d.jpg","text":"TemporaryFile(/tmp/multipartBody5720247192869324905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951123150,"filename":"image_15012025_15_06_42_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153005","file1":"1329153002","file0":"1329153000","file4":"1329153021","file5":"1329153029","file3":"1329153013"},"map_files_photo_id_array":[{"photo_id":"1329153029","filename":"file5"},{"photo_id":"1329153005","filename":"file2"},{"photo_id":"1329153021","filename":"file4"},{"photo_id":"1329153002","filename":"file1"},{"photo_id":"1329153000","filename":"file0"},{"photo_id":"1329153013","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153021":["hashtag1","hashtag2"]},{"1329153000":["hashtag1","hashtag2"]},{"1329153005":["hashtag1","hashtag2"]},{"1329153029":["hashtag1","hashtag2"]},{"1329153002":["hashtag1","hashtag2"]},{"1329153013":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153021, 1329153000, 1329153005, 1329153029, 1329153002, 1329153013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.432552099227905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:25:03.491103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_51_2692.jpg', '/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_55_3711.jpg', '/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_57_2593.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_21_2656.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_25_3715.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_27_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_51_2692.jpg
/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_55_3711.jpg
/home/pi/Desktop/images/15012025/15/06/image_15012025_15_06_57_2593.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_21_2656.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_25_3715.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_27_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153199","1329153091","1329153094","1329153124","1329153103","1329153096"],"photo_ids_order":["1329153091","1329153094","1329153096","1329153103","1329153124","1329153199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76a6f2c667f8f7227eaeb44293fc8726.jpg","text":"TemporaryFile(/tmp/multipartBody3379515318870728571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951164266,"filename":"image_15012025_15_08_27_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/808b48940476ab733dc911e0774e497f.jpg","text":"TemporaryFile(/tmp/multipartBody5038098281757444838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951164266,"filename":"image_15012025_15_06_51_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/322da4b1484f9f135b1a34de929c78ea.jpg","text":"TemporaryFile(/tmp/multipartBody1987698732199091591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951164266,"filename":"image_15012025_15_06_55_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/86c200b7b0145ee8654ae73b9ef8975b.jpg","text":"TemporaryFile(/tmp/multipartBody473463162650023059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951164266,"filename":"image_15012025_15_08_25_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e90620111c8d1c47793aa15b672baaa8.jpg","text":"TemporaryFile(/tmp/multipartBody3816667158671707600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951164266,"filename":"image_15012025_15_08_21_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c3250b8a27fb42669a0d5bced5e2187.jpg","text":"TemporaryFile(/tmp/multipartBody6059448750627898975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951164266,"filename":"image_15012025_15_06_57_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153096","file1":"1329153094","file0":"1329153091","file4":"1329153124","file5":"1329153199","file3":"1329153103"},"map_files_photo_id_array":[{"photo_id":"1329153199","filename":"file5"},{"photo_id":"1329153096","filename":"file2"},{"photo_id":"1329153124","filename":"file4"},{"photo_id":"1329153094","filename":"file1"},{"photo_id":"1329153091","filename":"file0"},{"photo_id":"1329153103","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153199":["hashtag1","hashtag2"]},{"1329153091":["hashtag1","hashtag2"]},{"1329153094":["hashtag1","hashtag2"]},{"1329153124":["hashtag1","hashtag2"]},{"1329153103":["hashtag1","hashtag2"]},{"1329153096":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153199, 1329153091, 1329153094, 1329153124, 1329153103, 1329153096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08356213569641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:26:03.018471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_30_2989.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_33_2650.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_36_3562.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_39_2633.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_42_2669.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_45_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_30_2989.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_33_2650.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_36_3562.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_39_2633.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_42_2669.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_45_3707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7077846527099609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:26:22.385311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_30_2989.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_33_2650.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_36_3562.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_39_2633.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_42_2669.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_45_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_30_2989.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_33_2650.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_36_3562.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_39_2633.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_42_2669.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_45_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153282","1329153321","1329153287","1329153269","1329153277","1329153274"],"photo_ids_order":["1329153269","1329153274","1329153277","1329153282","1329153287","1329153321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5ad537a534afc142a811af655be54ff.jpg","text":"TemporaryFile(/tmp/multipartBody937428048012303401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951243107,"filename":"image_15012025_15_08_39_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f68526636bca3134c0fbb22b37838bf7.jpg","text":"TemporaryFile(/tmp/multipartBody6407198810458455688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951243107,"filename":"image_15012025_15_08_45_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38a481c1f6708d79c0cee5ae87b623f9.jpg","text":"TemporaryFile(/tmp/multipartBody455267228763595026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951243107,"filename":"image_15012025_15_08_42_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/01d72ff722338787be3dc053e24d7131.jpg","text":"TemporaryFile(/tmp/multipartBody6107585950075763138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951243107,"filename":"image_15012025_15_08_30_2989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5e3258a15783e3b7f320b69bd6491350.jpg","text":"TemporaryFile(/tmp/multipartBody6089480319712175175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951243107,"filename":"image_15012025_15_08_36_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7a8073a770d1b1a76ec430ed4240e25.jpg","text":"TemporaryFile(/tmp/multipartBody1186332450365267435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951243107,"filename":"image_15012025_15_08_33_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153277","file1":"1329153274","file0":"1329153269","file4":"1329153287","file5":"1329153321","file3":"1329153282"},"map_files_photo_id_array":[{"photo_id":"1329153321","filename":"file5"},{"photo_id":"1329153277","filename":"file2"},{"photo_id":"1329153287","filename":"file4"},{"photo_id":"1329153274","filename":"file1"},{"photo_id":"1329153269","filename":"file0"},{"photo_id":"1329153282","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153282":["hashtag1","hashtag2"]},{"1329153321":["hashtag1","hashtag2"]},{"1329153287":["hashtag1","hashtag2"]},{"1329153269":["hashtag1","hashtag2"]},{"1329153277":["hashtag1","hashtag2"]},{"1329153274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153282, 1329153321, 1329153287, 1329153269, 1329153277, 1329153274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28726768493652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:27:02.562101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_48_2685.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_51_2655.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_55_3776.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_57_2853.jpg', '/home/pi/Desktop/images/15012025/15/08/image_15012025_15_09_00_2644.jpg', '/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_03_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_48_2685.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_51_2655.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_55_3776.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_08_57_2853.jpg
/home/pi/Desktop/images/15012025/15/08/image_15012025_15_09_00_2644.jpg
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_03_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153497","1329153482","1329153501","1329153467","1329153463","1329153492"],"photo_ids_order":["1329153463","1329153467","1329153482","1329153492","1329153497","1329153501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6eef385c8c65d6b82794cd518ff7b48e.jpg","text":"TemporaryFile(/tmp/multipartBody2915181387122553395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951283504,"filename":"image_15012025_15_09_00_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/546d16ea28045402d4931b3e9d417134.jpg","text":"TemporaryFile(/tmp/multipartBody8696530852407318874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951283504,"filename":"image_15012025_15_08_55_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3e4f5171f18e263df1424b2985c5f77.jpg","text":"TemporaryFile(/tmp/multipartBody2703552511769645504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951283504,"filename":"image_15012025_15_09_03_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67662cf6dbc23aec7d3053f83c146686.jpg","text":"TemporaryFile(/tmp/multipartBody699749496154511995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951283504,"filename":"image_15012025_15_08_51_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8367eca4cf1adab6ad86cf23e4e90e83.jpg","text":"TemporaryFile(/tmp/multipartBody6577497307674376758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951283504,"filename":"image_15012025_15_08_48_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b21899de66bad539189c586ac26b51cd.jpg","text":"TemporaryFile(/tmp/multipartBody4813710013445369617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951283504,"filename":"image_15012025_15_08_57_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153482","file1":"1329153467","file0":"1329153463","file4":"1329153497","file5":"1329153501","file3":"1329153492"},"map_files_photo_id_array":[{"photo_id":"1329153501","filename":"file5"},{"photo_id":"1329153482","filename":"file2"},{"photo_id":"1329153497","filename":"file4"},{"photo_id":"1329153467","filename":"file1"},{"photo_id":"1329153463","filename":"file0"},{"photo_id":"1329153492","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153497":["hashtag1","hashtag2"]},{"1329153482":["hashtag1","hashtag2"]},{"1329153501":["hashtag1","hashtag2"]},{"1329153467":["hashtag1","hashtag2"]},{"1329153463":["hashtag1","hashtag2"]},{"1329153492":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153497, 1329153482, 1329153501, 1329153467, 1329153463, 1329153492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47515797615051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:28:03.072521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_07_3784.jpg', '/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_09_2612.jpg', '/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_12_2566.jpg', '/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_15_3652.jpg', '/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_18_2783.jpg', '/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_45_3821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_07_3784.jpg
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_09_2612.jpg
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_12_2566.jpg
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_15_3652.jpg
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_18_2783.jpg
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_45_3821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153540","1329153543","1329153533","1329153521","1329153518","1329153517"],"photo_ids_order":["1329153517","1329153518","1329153521","1329153533","1329153540","1329153543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/420e10751034e7f5d09ad6b67e0ba94b.jpg","text":"TemporaryFile(/tmp/multipartBody4522699630605737496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951343814,"filename":"image_15012025_15_09_18_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1b7d297e8327d78ec2e32031271bf51c.jpg","text":"TemporaryFile(/tmp/multipartBody885600957635328470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951343814,"filename":"image_15012025_15_09_45_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8903cb3f8532908a551b362a0768159b.jpg","text":"TemporaryFile(/tmp/multipartBody5634039360286352954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951343814,"filename":"image_15012025_15_09_15_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4309d768bc634a8c2377c0cfa1b391a0.jpg","text":"TemporaryFile(/tmp/multipartBody4278879620223003921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951343814,"filename":"image_15012025_15_09_12_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/549f34444e92cbb5090f3d22b7a69421.jpg","text":"TemporaryFile(/tmp/multipartBody5484173078428164002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951343814,"filename":"image_15012025_15_09_09_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bb9608fc9935bee97d5dee881e38eff7.jpg","text":"TemporaryFile(/tmp/multipartBody1475129394534953957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951343814,"filename":"image_15012025_15_09_07_3784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153521","file1":"1329153518","file0":"1329153517","file4":"1329153540","file5":"1329153543","file3":"1329153533"},"map_files_photo_id_array":[{"photo_id":"1329153543","filename":"file5"},{"photo_id":"1329153521","filename":"file2"},{"photo_id":"1329153540","filename":"file4"},{"photo_id":"1329153518","filename":"file1"},{"photo_id":"1329153517","filename":"file0"},{"photo_id":"1329153533","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153540":["hashtag1","hashtag2"]},{"1329153543":["hashtag1","hashtag2"]},{"1329153533":["hashtag1","hashtag2"]},{"1329153521":["hashtag1","hashtag2"]},{"1329153518":["hashtag1","hashtag2"]},{"1329153517":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153540, 1329153543, 1329153533, 1329153521, 1329153518, 1329153517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75021433830261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:28:42.663052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_48_2589.jpg', '/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_54_3696.jpg', '/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_57_2591.jpg', '/home/pi/Desktop/images/15012025/15/10/image_15012025_15_10_03_3589.jpg', '/home/pi/Desktop/images/15012025/15/11/image_15012025_15_11_21_3667.jpg', '/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_48_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_48_2589.jpg
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_54_3696.jpg
/home/pi/Desktop/images/15012025/15/09/image_15012025_15_09_57_2591.jpg
/home/pi/Desktop/images/15012025/15/10/image_15012025_15_10_03_3589.jpg
/home/pi/Desktop/images/15012025/15/11/image_15012025_15_11_21_3667.jpg
/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_48_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153642","1329153624","1329153635","1329153620","1329153637","1329153597"],"photo_ids_order":["1329153597","1329153620","1329153624","1329153635","1329153637","1329153642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f71d1635da80a80987e318f55fc0e9de.jpg","text":"TemporaryFile(/tmp/multipartBody183973318728000858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951386206,"filename":"image_15012025_15_12_48_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9722473d22f126194862dd33ed8b2c40.jpg","text":"TemporaryFile(/tmp/multipartBody6460790691265601431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951386206,"filename":"image_15012025_15_09_57_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/01f7d47293159b6fa872529a0ef9ae8f.jpg","text":"TemporaryFile(/tmp/multipartBody5558984437122094251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951386206,"filename":"image_15012025_15_10_03_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3ec3a0d432a031681c94936dacd06292.jpg","text":"TemporaryFile(/tmp/multipartBody1635161514821704663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951386206,"filename":"image_15012025_15_09_54_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87c043d889453afb5e063f99bcfbf11a.jpg","text":"TemporaryFile(/tmp/multipartBody5736587623915872611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951386206,"filename":"image_15012025_15_11_21_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2bb8555575b53b0e33cf0662e66f04bd.jpg","text":"TemporaryFile(/tmp/multipartBody8226034505497401895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951386206,"filename":"image_15012025_15_09_48_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153624","file1":"1329153620","file0":"1329153597","file4":"1329153637","file5":"1329153642","file3":"1329153635"},"map_files_photo_id_array":[{"photo_id":"1329153642","filename":"file5"},{"photo_id":"1329153624","filename":"file2"},{"photo_id":"1329153637","filename":"file4"},{"photo_id":"1329153620","filename":"file1"},{"photo_id":"1329153597","filename":"file0"},{"photo_id":"1329153635","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153642":["hashtag1","hashtag2"]},{"1329153624":["hashtag1","hashtag2"]},{"1329153635":["hashtag1","hashtag2"]},{"1329153620":["hashtag1","hashtag2"]},{"1329153637":["hashtag1","hashtag2"]},{"1329153597":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153642, 1329153624, 1329153635, 1329153620, 1329153637, 1329153597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10726070404053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:29:22.079457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_51_2806.jpg', '/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_54_2661.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_18_2683.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_20_2561.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_24_3693.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_27_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_51_2806.jpg
/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_54_2661.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_18_2683.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_20_2561.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_24_3693.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_27_2590.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5944619178771973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:29:42.030918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_51_2806.jpg', '/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_54_2661.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_18_2683.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_20_2561.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_24_3693.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_27_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_51_2806.jpg
/home/pi/Desktop/images/15012025/15/12/image_15012025_15_12_54_2661.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_18_2683.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_20_2561.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_24_3693.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_27_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153675","1329153677","1329153679","1329153670","1329153664","1329153681"],"photo_ids_order":["1329153664","1329153670","1329153675","1329153677","1329153679","1329153681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a0f996cb261cf1e0d3ab8dca4efac416.jpg","text":"TemporaryFile(/tmp/multipartBody2530852122073637820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951442680,"filename":"image_15012025_15_13_18_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1f677cccbaac89e9cf5539d6f748bbf3.jpg","text":"TemporaryFile(/tmp/multipartBody8975974540376453331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951442680,"filename":"image_15012025_15_13_20_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8783097764964223d98f1f5b409d9246.jpg","text":"TemporaryFile(/tmp/multipartBody2488093052060456727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951442680,"filename":"image_15012025_15_13_24_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a64f62ef9dbbf4bcaff4ec7967a284b8.jpg","text":"TemporaryFile(/tmp/multipartBody5230716678191893640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951442680,"filename":"image_15012025_15_12_54_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21ba1e09cf5af609ff82c08565d055e8.jpg","text":"TemporaryFile(/tmp/multipartBody7322895120500623251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951442680,"filename":"image_15012025_15_12_51_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ebf45be55fd3edf376428a865716c36.jpg","text":"TemporaryFile(/tmp/multipartBody829154855873600875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951442680,"filename":"image_15012025_15_13_27_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153675","file1":"1329153670","file0":"1329153664","file4":"1329153679","file5":"1329153681","file3":"1329153677"},"map_files_photo_id_array":[{"photo_id":"1329153681","filename":"file5"},{"photo_id":"1329153675","filename":"file2"},{"photo_id":"1329153679","filename":"file4"},{"photo_id":"1329153670","filename":"file1"},{"photo_id":"1329153664","filename":"file0"},{"photo_id":"1329153677","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153675":["hashtag1","hashtag2"]},{"1329153677":["hashtag1","hashtag2"]},{"1329153679":["hashtag1","hashtag2"]},{"1329153670":["hashtag1","hashtag2"]},{"1329153664":["hashtag1","hashtag2"]},{"1329153681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153675, 1329153677, 1329153679, 1329153670, 1329153664, 1329153681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2427282333374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:30:22.775505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_29_2591.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_38_2776.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_42_3675.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_45_2642.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_48_2798.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_50_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_29_2591.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_38_2776.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_42_3675.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_45_2642.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_48_2798.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_50_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153687","1329153702","1329153694","1329153682","1329153709","1329153684"],"photo_ids_order":["1329153682","1329153684","1329153687","1329153694","1329153702","1329153709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2eb251914b43387fc826edc76bbbb56.jpg","text":"TemporaryFile(/tmp/multipartBody9181206350961197281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951483449,"filename":"image_15012025_15_13_42_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6e4df7798a35f59ddc69d379813b4876.jpg","text":"TemporaryFile(/tmp/multipartBody2615844286190548079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951483449,"filename":"image_15012025_15_13_48_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7dfc04a73d5f7f68937104d8e90a3fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6671177275675885263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951483449,"filename":"image_15012025_15_13_45_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0569e4e0bd80888da390a3cf4a1d921.jpg","text":"TemporaryFile(/tmp/multipartBody8404688908798870408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951483449,"filename":"image_15012025_15_13_29_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8568eb1e79f35ccc767c78b01ebec984.jpg","text":"TemporaryFile(/tmp/multipartBody7921983667279550921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951483449,"filename":"image_15012025_15_13_50_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36bc57c1b35023c683c7deb7ac458da6.jpg","text":"TemporaryFile(/tmp/multipartBody5536798947978777743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951483449,"filename":"image_15012025_15_13_38_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153687","file1":"1329153684","file0":"1329153682","file4":"1329153702","file5":"1329153709","file3":"1329153694"},"map_files_photo_id_array":[{"photo_id":"1329153709","filename":"file5"},{"photo_id":"1329153687","filename":"file2"},{"photo_id":"1329153702","filename":"file4"},{"photo_id":"1329153684","filename":"file1"},{"photo_id":"1329153682","filename":"file0"},{"photo_id":"1329153694","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153687":["hashtag1","hashtag2"]},{"1329153702":["hashtag1","hashtag2"]},{"1329153694":["hashtag1","hashtag2"]},{"1329153682":["hashtag1","hashtag2"]},{"1329153709":["hashtag1","hashtag2"]},{"1329153684":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153687, 1329153702, 1329153694, 1329153682, 1329153709, 1329153684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.874969482421875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:31:02.790940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_54_3636.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_57_2673.jpg', '/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_59_2687.jpg', '/home/pi/Desktop/images/15012025/15/14/image_15012025_15_14_03_3683.jpg', '/home/pi/Desktop/images/15012025/15/14/image_15012025_15_14_06_2677.jpg', '/home/pi/Desktop/images/15012025/15/14/image_15012025_15_14_08_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_54_3636.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_57_2673.jpg
/home/pi/Desktop/images/15012025/15/13/image_15012025_15_13_59_2687.jpg
/home/pi/Desktop/images/15012025/15/14/image_15012025_15_14_03_3683.jpg
/home/pi/Desktop/images/15012025/15/14/image_15012025_15_14_06_2677.jpg
/home/pi/Desktop/images/15012025/15/14/image_15012025_15_14_08_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153735","1329153738","1329153749","1329153734","1329153728","1329153736"],"photo_ids_order":["1329153728","1329153734","1329153735","1329153736","1329153738","1329153749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6baa5dea0d6f695a91ff99e646ae88ff.jpg","text":"TemporaryFile(/tmp/multipartBody8421894207589398748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951523607,"filename":"image_15012025_15_13_59_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bbcfcda560c82daeb765a51070e0cbfd.jpg","text":"TemporaryFile(/tmp/multipartBody2721356740146098007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951523607,"filename":"image_15012025_15_14_06_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/331ef4965b47340d4ff3af804270aa23.jpg","text":"TemporaryFile(/tmp/multipartBody789280852471006271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951523607,"filename":"image_15012025_15_14_08_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e14d68187e26f857020fa43d218e504.jpg","text":"TemporaryFile(/tmp/multipartBody7964381950137927628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951523607,"filename":"image_15012025_15_13_57_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b58b481d4de6c8c430617d3a72200f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7330187603173743823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951523607,"filename":"image_15012025_15_13_54_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4331398737ddcd51d5beeb8e87095f62.jpg","text":"TemporaryFile(/tmp/multipartBody5697619736436622141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951523607,"filename":"image_15012025_15_14_03_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153735","file1":"1329153734","file0":"1329153728","file4":"1329153738","file5":"1329153749","file3":"1329153736"},"map_files_photo_id_array":[{"photo_id":"1329153749","filename":"file5"},{"photo_id":"1329153735","filename":"file2"},{"photo_id":"1329153738","filename":"file4"},{"photo_id":"1329153734","filename":"file1"},{"photo_id":"1329153728","filename":"file0"},{"photo_id":"1329153736","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153735":["hashtag1","hashtag2"]},{"1329153738":["hashtag1","hashtag2"]},{"1329153749":["hashtag1","hashtag2"]},{"1329153734":["hashtag1","hashtag2"]},{"1329153728":["hashtag1","hashtag2"]},{"1329153736":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153735, 1329153738, 1329153749, 1329153734, 1329153728, 1329153736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.539400815963745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:31:41.891460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/14/image_15012025_15_14_51_3673.jpg', '/home/pi/Desktop/images/15012025/15/15/image_15012025_15_15_53_2578.jpg', '/home/pi/Desktop/images/15012025/15/16/image_15012025_15_16_59_2651.jpg', '/home/pi/Desktop/images/15012025/15/17/image_15012025_15_17_26_2716.jpg', '/home/pi/Desktop/images/15012025/15/17/image_15012025_15_17_51_3660.jpg', '/home/pi/Desktop/images/15012025/15/18/image_15012025_15_18_45_3890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/14/image_15012025_15_14_51_3673.jpg
/home/pi/Desktop/images/15012025/15/15/image_15012025_15_15_53_2578.jpg
/home/pi/Desktop/images/15012025/15/16/image_15012025_15_16_59_2651.jpg
/home/pi/Desktop/images/15012025/15/17/image_15012025_15_17_26_2716.jpg
/home/pi/Desktop/images/15012025/15/17/image_15012025_15_17_51_3660.jpg
/home/pi/Desktop/images/15012025/15/18/image_15012025_15_18_45_3890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153792","1329153794","1329153761","1329153785","1329153779","1329153790"],"photo_ids_order":["1329153761","1329153779","1329153785","1329153790","1329153792","1329153794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ead7380e28d12a24d3b07b3997dfd724.jpg","text":"TemporaryFile(/tmp/multipartBody1754510753849151641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951562551,"filename":"image_15012025_15_17_51_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1f0394340b763409fe818b3510e6b3e8.jpg","text":"TemporaryFile(/tmp/multipartBody6511105222692279545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951562551,"filename":"image_15012025_15_18_45_3890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4254144c3aca383d96559996f3764245.jpg","text":"TemporaryFile(/tmp/multipartBody1028149793654965093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951562551,"filename":"image_15012025_15_14_51_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1744bd7720cdea22daa371605495c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3718546361143346281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951562551,"filename":"image_15012025_15_16_59_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b8ac5a5a497129eecd7b02332682508a.jpg","text":"TemporaryFile(/tmp/multipartBody5448310167205201010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951562551,"filename":"image_15012025_15_15_53_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a2058b7e93f732a0326028c301d3040.jpg","text":"TemporaryFile(/tmp/multipartBody5649821880608318169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951562551,"filename":"image_15012025_15_17_26_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153785","file1":"1329153779","file0":"1329153761","file4":"1329153792","file5":"1329153794","file3":"1329153790"},"map_files_photo_id_array":[{"photo_id":"1329153794","filename":"file5"},{"photo_id":"1329153785","filename":"file2"},{"photo_id":"1329153792","filename":"file4"},{"photo_id":"1329153779","filename":"file1"},{"photo_id":"1329153761","filename":"file0"},{"photo_id":"1329153790","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153792":["hashtag1","hashtag2"]},{"1329153794":["hashtag1","hashtag2"]},{"1329153761":["hashtag1","hashtag2"]},{"1329153785":["hashtag1","hashtag2"]},{"1329153779":["hashtag1","hashtag2"]},{"1329153790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153792, 1329153794, 1329153761, 1329153785, 1329153779, 1329153790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75657105445862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:32:22.715524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/19/image_15012025_15_19_20_2778.jpg', '/home/pi/Desktop/images/15012025/15/19/image_15012025_15_19_32_2633.jpg', '/home/pi/Desktop/images/15012025/15/21/image_15012025_15_21_41_3654.jpg', '/home/pi/Desktop/images/15012025/15/22/image_15012025_15_22_17_2618.jpg', '/home/pi/Desktop/images/15012025/15/22/image_15012025_15_22_20_2731.jpg', '/home/pi/Desktop/images/15012025/15/22/image_15012025_15_22_23_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/19/image_15012025_15_19_20_2778.jpg
/home/pi/Desktop/images/15012025/15/19/image_15012025_15_19_32_2633.jpg
/home/pi/Desktop/images/15012025/15/21/image_15012025_15_21_41_3654.jpg
/home/pi/Desktop/images/15012025/15/22/image_15012025_15_22_17_2618.jpg
/home/pi/Desktop/images/15012025/15/22/image_15012025_15_22_20_2731.jpg
/home/pi/Desktop/images/15012025/15/22/image_15012025_15_22_23_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329153807","1329153801","1329153797","1329153821","1329153814","1329153798"],"photo_ids_order":["1329153797","1329153798","1329153801","1329153807","1329153814","1329153821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/96d21737fd12fc17d1c2a91b4dd747a2.jpg","text":"TemporaryFile(/tmp/multipartBody4102102170926146258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951603382,"filename":"image_15012025_15_22_17_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4032bc87ceee742fb353db6da56f4da.jpg","text":"TemporaryFile(/tmp/multipartBody4627681771736206782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951603382,"filename":"image_15012025_15_21_41_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/96563f888997e365636c129827f693b9.jpg","text":"TemporaryFile(/tmp/multipartBody8540365131782714405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951603382,"filename":"image_15012025_15_19_20_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe3f0fb374f30d1fc122ea2639be651a.jpg","text":"TemporaryFile(/tmp/multipartBody7986250296312226198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951603382,"filename":"image_15012025_15_22_23_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/153cef5f940db8e80c0dbe0b30b9f3c4.jpg","text":"TemporaryFile(/tmp/multipartBody8191161421303577466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951603382,"filename":"image_15012025_15_22_20_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ecf460710e7c9c793f16089cbdd94fd5.jpg","text":"TemporaryFile(/tmp/multipartBody4156748101655270377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951603382,"filename":"image_15012025_15_19_32_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153801","file1":"1329153798","file0":"1329153797","file4":"1329153814","file5":"1329153821","file3":"1329153807"},"map_files_photo_id_array":[{"photo_id":"1329153821","filename":"file5"},{"photo_id":"1329153801","filename":"file2"},{"photo_id":"1329153814","filename":"file4"},{"photo_id":"1329153798","filename":"file1"},{"photo_id":"1329153797","filename":"file0"},{"photo_id":"1329153807","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329153807":["hashtag1","hashtag2"]},{"1329153801":["hashtag1","hashtag2"]},{"1329153797":["hashtag1","hashtag2"]},{"1329153821":["hashtag1","hashtag2"]},{"1329153814":["hashtag1","hashtag2"]},{"1329153798":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329153807, 1329153801, 1329153797, 1329153821, 1329153814, 1329153798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.258076190948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:33:02.541286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/23/image_15012025_15_23_38_3689.jpg', '/home/pi/Desktop/images/15012025/15/23/image_15012025_15_23_41_2655.jpg', '/home/pi/Desktop/images/15012025/15/23/image_15012025_15_23_43_2693.jpg', '/home/pi/Desktop/images/15012025/15/23/image_15012025_15_23_47_3582.jpg', '/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_05_3667.jpg', '/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_31_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/23/image_15012025_15_23_38_3689.jpg
/home/pi/Desktop/images/15012025/15/23/image_15012025_15_23_41_2655.jpg
/home/pi/Desktop/images/15012025/15/23/image_15012025_15_23_43_2693.jpg
/home/pi/Desktop/images/15012025/15/23/image_15012025_15_23_47_3582.jpg
/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_05_3667.jpg
/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_31_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329154229","1329154142","1329153911","1329153982","1329153908","1329153874"],"photo_ids_order":["1329153874","1329153908","1329153911","1329153982","1329154142","1329154229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/32f3765a2d1c2a2615f3d8f4a792429c.jpg","text":"TemporaryFile(/tmp/multipartBody7811079988610677929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951643340,"filename":"image_15012025_15_24_31_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/08d66449acb0a1f3f8418e20a37219cf.jpg","text":"TemporaryFile(/tmp/multipartBody7413134269939502163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951643340,"filename":"image_15012025_15_24_05_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9b7c51e970f86ed4e33c05b7f6ab65d6.jpg","text":"TemporaryFile(/tmp/multipartBody304214083877339770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951643340,"filename":"image_15012025_15_23_43_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8980289fa435a9ea7f67181562406c8d.jpg","text":"TemporaryFile(/tmp/multipartBody2612151426227712786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951643340,"filename":"image_15012025_15_23_47_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5efa50f0ac7e9f2073492f6540dbeec8.jpg","text":"TemporaryFile(/tmp/multipartBody8132212820889410059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951643340,"filename":"image_15012025_15_23_41_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/488a37234dff1e5dd202631d00d1dc24.jpg","text":"TemporaryFile(/tmp/multipartBody5177192353417768835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951643340,"filename":"image_15012025_15_23_38_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329153911","file1":"1329153908","file0":"1329153874","file4":"1329154142","file5":"1329154229","file3":"1329153982"},"map_files_photo_id_array":[{"photo_id":"1329154229","filename":"file5"},{"photo_id":"1329153911","filename":"file2"},{"photo_id":"1329154142","filename":"file4"},{"photo_id":"1329153908","filename":"file1"},{"photo_id":"1329153874","filename":"file0"},{"photo_id":"1329153982","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329154229":["hashtag1","hashtag2"]},{"1329154142":["hashtag1","hashtag2"]},{"1329153911":["hashtag1","hashtag2"]},{"1329153982":["hashtag1","hashtag2"]},{"1329153908":["hashtag1","hashtag2"]},{"1329153874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329154229, 1329154142, 1329153911, 1329153982, 1329153908, 1329153874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87087631225586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:33:41.795158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_35_3536.jpg', '/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_38_2672.jpg', '/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_44_3849.jpg', '/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_47_2677.jpg', '/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_49_2718.jpg', '/home/pi/Desktop/images/15012025/15/25/image_15012025_15_25_04_2955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_35_3536.jpg
/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_38_2672.jpg
/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_44_3849.jpg
/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_47_2677.jpg
/home/pi/Desktop/images/15012025/15/24/image_15012025_15_24_49_2718.jpg
/home/pi/Desktop/images/15012025/15/25/image_15012025_15_25_04_2955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329154805","1329154808","1329154798","1329154735","1329154615","1329154810"],"photo_ids_order":["1329154615","1329154735","1329154798","1329154805","1329154808","1329154810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc98f3b46473a17f652e75a62a0ea1e5.jpg","text":"TemporaryFile(/tmp/multipartBody9080777730045937635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951682437,"filename":"image_15012025_15_24_47_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3064f3d61102aeaaa1c9f4b3391832b.jpg","text":"TemporaryFile(/tmp/multipartBody7775349574090803390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951682437,"filename":"image_15012025_15_24_49_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c905656d1cdb485649d495fd3a4f3973.jpg","text":"TemporaryFile(/tmp/multipartBody5124489944166010413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951682437,"filename":"image_15012025_15_24_44_3849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a0cd5280f62f376cc45a4ef44f6c41f1.jpg","text":"TemporaryFile(/tmp/multipartBody886094715322275192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951682437,"filename":"image_15012025_15_24_38_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee6d7a58711f51d049c3e474557ec724.jpg","text":"TemporaryFile(/tmp/multipartBody524183945508227968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951682437,"filename":"image_15012025_15_24_35_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/712231ff636a1cfb41bd0357d549397c.jpg","text":"TemporaryFile(/tmp/multipartBody6233191638964715987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951682437,"filename":"image_15012025_15_25_04_2955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329154798","file1":"1329154735","file0":"1329154615","file4":"1329154808","file5":"1329154810","file3":"1329154805"},"map_files_photo_id_array":[{"photo_id":"1329154810","filename":"file5"},{"photo_id":"1329154798","filename":"file2"},{"photo_id":"1329154808","filename":"file4"},{"photo_id":"1329154735","filename":"file1"},{"photo_id":"1329154615","filename":"file0"},{"photo_id":"1329154805","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329154805":["hashtag1","hashtag2"]},{"1329154808":["hashtag1","hashtag2"]},{"1329154798":["hashtag1","hashtag2"]},{"1329154735":["hashtag1","hashtag2"]},{"1329154615":["hashtag1","hashtag2"]},{"1329154810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329154805, 1329154808, 1329154798, 1329154735, 1329154615, 1329154810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.758763790130615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:34:42.608844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/25/image_15012025_15_25_46_2478.jpg', '/home/pi/Desktop/images/15012025/15/25/image_15012025_15_25_49_2709.jpg', '/home/pi/Desktop/images/15012025/15/25/image_15012025_15_25_53_3807.jpg', '/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_41_3562.jpg', '/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_46_2601.jpg', '/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_52_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/25/image_15012025_15_25_46_2478.jpg
/home/pi/Desktop/images/15012025/15/25/image_15012025_15_25_49_2709.jpg
/home/pi/Desktop/images/15012025/15/25/image_15012025_15_25_53_3807.jpg
/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_41_3562.jpg
/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_46_2601.jpg
/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_52_2569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155191","1329155137","1329154867","1329154852","1329155116","1329155025"],"photo_ids_order":["1329154852","1329154867","1329155025","1329155116","1329155137","1329155191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4fb3c9308e321e9d4e8a0d366b505e24.jpg","text":"TemporaryFile(/tmp/multipartBody3410482401897229761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951743253,"filename":"image_15012025_15_26_52_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1730374da82fdab72d72821b9bbaf038.jpg","text":"TemporaryFile(/tmp/multipartBody4578013662475708554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951743253,"filename":"image_15012025_15_26_46_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a7ce6bc03032b59ef3015de80a56590.jpg","text":"TemporaryFile(/tmp/multipartBody2716502436145167359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951743253,"filename":"image_15012025_15_25_49_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b8a3bc1eb44976bef758d390b16a7e08.jpg","text":"TemporaryFile(/tmp/multipartBody2413703206057331052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951743253,"filename":"image_15012025_15_25_46_2478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a222d6f063a8843aa3c5d71931e4f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7469919911379680359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951743253,"filename":"image_15012025_15_26_41_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/61ebcd57b984ceecd531254f5c02b754.jpg","text":"TemporaryFile(/tmp/multipartBody2172143583930189326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951743253,"filename":"image_15012025_15_25_53_3807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155025","file1":"1329154867","file0":"1329154852","file4":"1329155137","file5":"1329155191","file3":"1329155116"},"map_files_photo_id_array":[{"photo_id":"1329155191","filename":"file5"},{"photo_id":"1329155025","filename":"file2"},{"photo_id":"1329155137","filename":"file4"},{"photo_id":"1329154867","filename":"file1"},{"photo_id":"1329154852","filename":"file0"},{"photo_id":"1329155116","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155191":["hashtag1","hashtag2"]},{"1329155137":["hashtag1","hashtag2"]},{"1329154867":["hashtag1","hashtag2"]},{"1329154852":["hashtag1","hashtag2"]},{"1329155116":["hashtag1","hashtag2"]},{"1329155025":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155191, 1329155137, 1329154867, 1329154852, 1329155116, 1329155025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41434669494629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:35:22.330938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_55_2514.jpg', '/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_59_3612.jpg', '/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_31_2825.jpg', '/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_35_3649.jpg', '/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_37_2534.jpg', '/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_44_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_55_2514.jpg
/home/pi/Desktop/images/15012025/15/26/image_15012025_15_26_59_3612.jpg
/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_31_2825.jpg
/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_35_3649.jpg
/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_37_2534.jpg
/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_44_3588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155282","1329155243","1329155246","1329155266","1329155248","1329155288"],"photo_ids_order":["1329155243","1329155246","1329155248","1329155266","1329155282","1329155288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e8094f4ce816fbd9122c065658d1e8b.jpg","text":"TemporaryFile(/tmp/multipartBody5177133444864170784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951782996,"filename":"image_15012025_15_27_37_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad77bff625d29736fa35796549961868.jpg","text":"TemporaryFile(/tmp/multipartBody7884307546506424422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951782996,"filename":"image_15012025_15_26_55_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c8078a84d596c7d2492b529ef82653b.jpg","text":"TemporaryFile(/tmp/multipartBody6604411090991886801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951782996,"filename":"image_15012025_15_26_59_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67476e1f7a3091d5a3e89e8c36445bff.jpg","text":"TemporaryFile(/tmp/multipartBody8897078538717884450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951782996,"filename":"image_15012025_15_27_35_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a0003c6c67e20dae296d6673a992e6c.jpg","text":"TemporaryFile(/tmp/multipartBody3619192474842279445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951782996,"filename":"image_15012025_15_27_31_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3b0767663c31d33f217161f195ce632.jpg","text":"TemporaryFile(/tmp/multipartBody485999737872728580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951782996,"filename":"image_15012025_15_27_44_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155248","file1":"1329155246","file0":"1329155243","file4":"1329155282","file5":"1329155288","file3":"1329155266"},"map_files_photo_id_array":[{"photo_id":"1329155288","filename":"file5"},{"photo_id":"1329155248","filename":"file2"},{"photo_id":"1329155282","filename":"file4"},{"photo_id":"1329155246","filename":"file1"},{"photo_id":"1329155243","filename":"file0"},{"photo_id":"1329155266","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155282":["hashtag1","hashtag2"]},{"1329155243":["hashtag1","hashtag2"]},{"1329155246":["hashtag1","hashtag2"]},{"1329155266":["hashtag1","hashtag2"]},{"1329155248":["hashtag1","hashtag2"]},{"1329155288":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155282, 1329155243, 1329155246, 1329155266, 1329155248, 1329155288)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.85447120666504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:36:22.622208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_46_2954.jpg', '/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_49_2568.jpg', '/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_53_3674.jpg', '/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_10_3611.jpg', '/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_17_3529.jpg', '/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_19_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_46_2954.jpg
/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_49_2568.jpg
/home/pi/Desktop/images/15012025/15/27/image_15012025_15_27_53_3674.jpg
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_10_3611.jpg
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_17_3529.jpg
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_19_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155351","1329155327","1329155321","1329155362","1329155343","1329155316"],"photo_ids_order":["1329155316","1329155321","1329155327","1329155343","1329155351","1329155362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3b465db1ddc0dea71092808fa52accb4.jpg","text":"TemporaryFile(/tmp/multipartBody8823268364306548000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951843286,"filename":"image_15012025_15_28_17_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/739abe30c08677846ea3f7cf4d63716d.jpg","text":"TemporaryFile(/tmp/multipartBody8287385876762680369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951843286,"filename":"image_15012025_15_27_53_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16d024a0490010fd3bee2c78f6e7cc9a.jpg","text":"TemporaryFile(/tmp/multipartBody6085452099570847875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951843286,"filename":"image_15012025_15_27_49_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1a739c8cd89d9d6aa2cb91309c7242c6.jpg","text":"TemporaryFile(/tmp/multipartBody460452414765040948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951843286,"filename":"image_15012025_15_28_19_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b1ef17362f5a2b9a388342a23d568ace.jpg","text":"TemporaryFile(/tmp/multipartBody8280183063440642555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951843286,"filename":"image_15012025_15_28_10_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf03e052ff27800543e78b9c7c2e84dc.jpg","text":"TemporaryFile(/tmp/multipartBody275320644193795082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951843286,"filename":"image_15012025_15_27_46_2954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155327","file1":"1329155321","file0":"1329155316","file4":"1329155351","file5":"1329155362","file3":"1329155343"},"map_files_photo_id_array":[{"photo_id":"1329155362","filename":"file5"},{"photo_id":"1329155327","filename":"file2"},{"photo_id":"1329155351","filename":"file4"},{"photo_id":"1329155321","filename":"file1"},{"photo_id":"1329155316","filename":"file0"},{"photo_id":"1329155343","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155351":["hashtag1","hashtag2"]},{"1329155327":["hashtag1","hashtag2"]},{"1329155321":["hashtag1","hashtag2"]},{"1329155362":["hashtag1","hashtag2"]},{"1329155343":["hashtag1","hashtag2"]},{"1329155316":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155351, 1329155327, 1329155321, 1329155362, 1329155343, 1329155316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5795783996582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:37:03.463895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_22_2695.jpg', '/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_40_2761.jpg', '/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_43_2587.jpg', '/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_47_3625.jpg', '/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_49_2553.jpg', '/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_52_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_22_2695.jpg
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_40_2761.jpg
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_43_2587.jpg
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_47_3625.jpg
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_49_2553.jpg
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_52_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155381","1329155375","1329155392","1329155422","1329155388","1329155384"],"photo_ids_order":["1329155375","1329155381","1329155384","1329155388","1329155392","1329155422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4e968a47f004c71cbd92c60a2a07993.jpg","text":"TemporaryFile(/tmp/multipartBody4917464692533388112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951884272,"filename":"image_15012025_15_28_40_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9c2ded9f867fb1de09ae35dcc5d8ff97.jpg","text":"TemporaryFile(/tmp/multipartBody6800526090196971312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951884272,"filename":"image_15012025_15_28_22_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e0b40d759609f12c5d30221c49e1354.jpg","text":"TemporaryFile(/tmp/multipartBody6145254178397471271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951884272,"filename":"image_15012025_15_28_49_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00c56036d317303e4edd4f5f6438c5dc.jpg","text":"TemporaryFile(/tmp/multipartBody7589670844064029331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951884272,"filename":"image_15012025_15_28_52_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/beae6567f06d3841f69556e689565ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3236417126344491816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951884272,"filename":"image_15012025_15_28_47_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/68e80f42aed0fe5467a51a6d3b78dfea.jpg","text":"TemporaryFile(/tmp/multipartBody8172123041250775125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951884272,"filename":"image_15012025_15_28_43_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155384","file1":"1329155381","file0":"1329155375","file4":"1329155392","file5":"1329155422","file3":"1329155388"},"map_files_photo_id_array":[{"photo_id":"1329155422","filename":"file5"},{"photo_id":"1329155384","filename":"file2"},{"photo_id":"1329155392","filename":"file4"},{"photo_id":"1329155381","filename":"file1"},{"photo_id":"1329155375","filename":"file0"},{"photo_id":"1329155388","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155381":["hashtag1","hashtag2"]},{"1329155375":["hashtag1","hashtag2"]},{"1329155392":["hashtag1","hashtag2"]},{"1329155422":["hashtag1","hashtag2"]},{"1329155388":["hashtag1","hashtag2"]},{"1329155384":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155381, 1329155375, 1329155392, 1329155422, 1329155388, 1329155384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.297932863235474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:38:03.020590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_56_3703.jpg', '/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_58_2631.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_10_2612.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_13_3572.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_16_2621.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_19_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_56_3703.jpg
/home/pi/Desktop/images/15012025/15/28/image_15012025_15_28_58_2631.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_10_2612.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_13_3572.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_16_2621.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_19_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155495","1329155485","1329155509","1329155481","1329155483","1329155486"],"photo_ids_order":["1329155481","1329155483","1329155485","1329155486","1329155495","1329155509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f9e10055c56a2a1246dde41df2c0af9a.jpg","text":"TemporaryFile(/tmp/multipartBody8904453558717375507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951943696,"filename":"image_15012025_15_29_16_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/195931cf9c50974330167dccf7ccf1f7.jpg","text":"TemporaryFile(/tmp/multipartBody2961174131692832374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951943696,"filename":"image_15012025_15_29_10_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/921c9f46006900c2d369b39b17a3e660.jpg","text":"TemporaryFile(/tmp/multipartBody2575225955624499461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951943696,"filename":"image_15012025_15_29_19_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/477bb0f930fcb525b6736303d920a405.jpg","text":"TemporaryFile(/tmp/multipartBody8761174552699670421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951943696,"filename":"image_15012025_15_28_56_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/889043798eecbeea2aab70ca593a2154.jpg","text":"TemporaryFile(/tmp/multipartBody1806742384901395897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951943696,"filename":"image_15012025_15_28_58_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99702d8fc52a54718a39c18f38a47231.jpg","text":"TemporaryFile(/tmp/multipartBody5077501086474981321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736951943696,"filename":"image_15012025_15_29_13_3572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155485","file1":"1329155483","file0":"1329155481","file4":"1329155495","file5":"1329155509","file3":"1329155486"},"map_files_photo_id_array":[{"photo_id":"1329155509","filename":"file5"},{"photo_id":"1329155485","filename":"file2"},{"photo_id":"1329155495","filename":"file4"},{"photo_id":"1329155483","filename":"file1"},{"photo_id":"1329155481","filename":"file0"},{"photo_id":"1329155486","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155495":["hashtag1","hashtag2"]},{"1329155485":["hashtag1","hashtag2"]},{"1329155509":["hashtag1","hashtag2"]},{"1329155481":["hashtag1","hashtag2"]},{"1329155483":["hashtag1","hashtag2"]},{"1329155486":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155495, 1329155485, 1329155509, 1329155481, 1329155483, 1329155486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.66897225379944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:39:03.666188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_22_3616.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_25_2550.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_31_2651.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_37_3668.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_43_2643.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_46_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_22_3616.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_25_2550.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_31_2651.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_37_3668.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_43_2643.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_46_3607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155600","1329155612","1329155606","1329155563","1329155566","1329155564"],"photo_ids_order":["1329155563","1329155564","1329155566","1329155600","1329155606","1329155612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ddf311a5f120c21a8a52aa7fd7420c89.jpg","text":"TemporaryFile(/tmp/multipartBody6051437940611697752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952004568,"filename":"image_15012025_15_29_37_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/100a625a0741bd661f788faa087132a2.jpg","text":"TemporaryFile(/tmp/multipartBody6143779231682505953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952004568,"filename":"image_15012025_15_29_46_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/09c3782de59e94e5b975183a6e3bf878.jpg","text":"TemporaryFile(/tmp/multipartBody413314341427578736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952004568,"filename":"image_15012025_15_29_43_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70ff8571c8c415678185784a970cc6e3.jpg","text":"TemporaryFile(/tmp/multipartBody185546754671871201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952004568,"filename":"image_15012025_15_29_22_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0431482ec67adade62a19c2429ec5ffa.jpg","text":"TemporaryFile(/tmp/multipartBody6090071715736967206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952004568,"filename":"image_15012025_15_29_31_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5475536d154e799260dc306ef95c6b02.jpg","text":"TemporaryFile(/tmp/multipartBody4648741384071675784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952004568,"filename":"image_15012025_15_29_25_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155566","file1":"1329155564","file0":"1329155563","file4":"1329155606","file5":"1329155612","file3":"1329155600"},"map_files_photo_id_array":[{"photo_id":"1329155612","filename":"file5"},{"photo_id":"1329155566","filename":"file2"},{"photo_id":"1329155606","filename":"file4"},{"photo_id":"1329155564","filename":"file1"},{"photo_id":"1329155563","filename":"file0"},{"photo_id":"1329155600","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155600":["hashtag1","hashtag2"]},{"1329155612":["hashtag1","hashtag2"]},{"1329155606":["hashtag1","hashtag2"]},{"1329155563":["hashtag1","hashtag2"]},{"1329155566":["hashtag1","hashtag2"]},{"1329155564":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155600, 1329155612, 1329155606, 1329155563, 1329155566, 1329155564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74136018753052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:39:42.754420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_49_2662.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_52_3055.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_55_2834.jpg', '/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_59_3605.jpg', '/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_07_3011.jpg', '/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_11_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_49_2662.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_52_3055.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_55_2834.jpg
/home/pi/Desktop/images/15012025/15/29/image_15012025_15_29_59_3605.jpg
/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_07_3011.jpg
/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_11_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155672","1329155726","1329155720","1329155723","1329155686","1329155701"],"photo_ids_order":["1329155672","1329155686","1329155701","1329155720","1329155723","1329155726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5cc1a21a08c7ce870501a3bbed8981bb.jpg","text":"TemporaryFile(/tmp/multipartBody1185626611356270098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952043379,"filename":"image_15012025_15_29_49_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28029f3023025074af0b304a5f5e6b19.jpg","text":"TemporaryFile(/tmp/multipartBody172837067456485297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952043379,"filename":"image_15012025_15_30_11_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/62eda069dc42e24517c41d2e44309555.jpg","text":"TemporaryFile(/tmp/multipartBody4488377376182287189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952043379,"filename":"image_15012025_15_29_59_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3167244598ee15edf9d5fabbc44eff1.jpg","text":"TemporaryFile(/tmp/multipartBody75740285481423741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952043379,"filename":"image_15012025_15_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a4996f475d64af8417ef691c68cb3ad5.jpg","text":"TemporaryFile(/tmp/multipartBody416882036990540626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952043379,"filename":"image_15012025_15_29_52_3055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/50cde7282df61117dd09709357513db2.jpg","text":"TemporaryFile(/tmp/multipartBody6915769381417111275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952043379,"filename":"image_15012025_15_29_55_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155701","file1":"1329155686","file0":"1329155672","file4":"1329155723","file5":"1329155726","file3":"1329155720"},"map_files_photo_id_array":[{"photo_id":"1329155726","filename":"file5"},{"photo_id":"1329155701","filename":"file2"},{"photo_id":"1329155723","filename":"file4"},{"photo_id":"1329155686","filename":"file1"},{"photo_id":"1329155672","filename":"file0"},{"photo_id":"1329155720","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155672":["hashtag1","hashtag2"]},{"1329155726":["hashtag1","hashtag2"]},{"1329155720":["hashtag1","hashtag2"]},{"1329155723":["hashtag1","hashtag2"]},{"1329155686":["hashtag1","hashtag2"]},{"1329155701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155672, 1329155726, 1329155720, 1329155723, 1329155686, 1329155701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57532572746277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:40:21.794655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_13_2559.jpg', '/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_16_2871.jpg', '/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_20_3765.jpg', '/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_23_2671.jpg', '/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_25_2703.jpg', '/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_49_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_13_2559.jpg
/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_16_2871.jpg
/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_20_3765.jpg
/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_23_2671.jpg
/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_25_2703.jpg
/home/pi/Desktop/images/15012025/15/30/image_15012025_15_30_49_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155807","1329155791","1329155794","1329155812","1329155796","1329155800"],"photo_ids_order":["1329155791","1329155794","1329155796","1329155800","1329155807","1329155812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe7c745a5dc296f0aaf02e0f2c2eec2d.jpg","text":"TemporaryFile(/tmp/multipartBody435444853367050210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952082473,"filename":"image_15012025_15_30_25_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea6fc04d58db7461673cfc78d52241dd.jpg","text":"TemporaryFile(/tmp/multipartBody3502010614773122808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952082473,"filename":"image_15012025_15_30_13_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/45ead5aeda673444243d730e29a19131.jpg","text":"TemporaryFile(/tmp/multipartBody4740681828329189076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952082473,"filename":"image_15012025_15_30_16_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a6543e18cf2d5dcb435e8c36c9282e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4594631666927981316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952082473,"filename":"image_15012025_15_30_49_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0d21c32d8b47a53d2b83cde3cd100602.jpg","text":"TemporaryFile(/tmp/multipartBody4482421982744354888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952082473,"filename":"image_15012025_15_30_20_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/96a46f06d7a40acb3406016eea98adc6.jpg","text":"TemporaryFile(/tmp/multipartBody6790383671443514455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952082473,"filename":"image_15012025_15_30_23_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155796","file1":"1329155794","file0":"1329155791","file4":"1329155807","file5":"1329155812","file3":"1329155800"},"map_files_photo_id_array":[{"photo_id":"1329155812","filename":"file5"},{"photo_id":"1329155796","filename":"file2"},{"photo_id":"1329155807","filename":"file4"},{"photo_id":"1329155794","filename":"file1"},{"photo_id":"1329155791","filename":"file0"},{"photo_id":"1329155800","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155807":["hashtag1","hashtag2"]},{"1329155791":["hashtag1","hashtag2"]},{"1329155794":["hashtag1","hashtag2"]},{"1329155812":["hashtag1","hashtag2"]},{"1329155796":["hashtag1","hashtag2"]},{"1329155800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155807, 1329155791, 1329155794, 1329155812, 1329155796, 1329155800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.719966411590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:41:02.857974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/31/image_15012025_15_31_31_2595.jpg', '/home/pi/Desktop/images/15012025/15/32/image_15012025_15_32_19_2683.jpg', '/home/pi/Desktop/images/15012025/15/32/image_15012025_15_32_53_3640.jpg', '/home/pi/Desktop/images/15012025/15/33/image_15012025_15_33_26_3739.jpg', '/home/pi/Desktop/images/15012025/15/33/image_15012025_15_33_53_3804.jpg', '/home/pi/Desktop/images/15012025/15/34/image_15012025_15_34_25_2531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/31/image_15012025_15_31_31_2595.jpg
/home/pi/Desktop/images/15012025/15/32/image_15012025_15_32_19_2683.jpg
/home/pi/Desktop/images/15012025/15/32/image_15012025_15_32_53_3640.jpg
/home/pi/Desktop/images/15012025/15/33/image_15012025_15_33_26_3739.jpg
/home/pi/Desktop/images/15012025/15/33/image_15012025_15_33_53_3804.jpg
/home/pi/Desktop/images/15012025/15/34/image_15012025_15_34_25_2531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155843","1329155875","1329155821","1329155830","1329155871","1329155859"],"photo_ids_order":["1329155821","1329155830","1329155843","1329155859","1329155871","1329155875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/18315fc1f7867827735433ab7c24c3a1.jpg","text":"TemporaryFile(/tmp/multipartBody1286427523668462702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952123659,"filename":"image_15012025_15_32_53_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3c24ed0e4bd8028221a689981f835b0.jpg","text":"TemporaryFile(/tmp/multipartBody5886909778668717400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952123659,"filename":"image_15012025_15_34_25_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6842c82db97c64cab8636ae0f87acee5.jpg","text":"TemporaryFile(/tmp/multipartBody3981215123862184032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952123659,"filename":"image_15012025_15_31_31_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3e10c4b26b53332e96cb8acaea394648.jpg","text":"TemporaryFile(/tmp/multipartBody4516818568088520864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952123659,"filename":"image_15012025_15_32_19_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5cf17b0661b953969bb04d468eae0bc1.jpg","text":"TemporaryFile(/tmp/multipartBody2503505554586405068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952123659,"filename":"image_15012025_15_33_53_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cde7923fdcc97e368f49d994c180127.jpg","text":"TemporaryFile(/tmp/multipartBody7126528025172164340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952123659,"filename":"image_15012025_15_33_26_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155843","file1":"1329155830","file0":"1329155821","file4":"1329155871","file5":"1329155875","file3":"1329155859"},"map_files_photo_id_array":[{"photo_id":"1329155875","filename":"file5"},{"photo_id":"1329155843","filename":"file2"},{"photo_id":"1329155871","filename":"file4"},{"photo_id":"1329155830","filename":"file1"},{"photo_id":"1329155821","filename":"file0"},{"photo_id":"1329155859","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155843":["hashtag1","hashtag2"]},{"1329155875":["hashtag1","hashtag2"]},{"1329155821":["hashtag1","hashtag2"]},{"1329155830":["hashtag1","hashtag2"]},{"1329155871":["hashtag1","hashtag2"]},{"1329155859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155843, 1329155875, 1329155821, 1329155830, 1329155871, 1329155859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38410258293152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:41:42.056140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/34/image_15012025_15_34_53_3628.jpg', '/home/pi/Desktop/images/15012025/15/34/image_15012025_15_34_55_2612.jpg', '/home/pi/Desktop/images/15012025/15/34/image_15012025_15_34_58_2665.jpg', '/home/pi/Desktop/images/15012025/15/34/image_15012025_15_35_01_3643.jpg', '/home/pi/Desktop/images/15012025/15/35/image_15012025_15_35_07_2558.jpg', '/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_04_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/34/image_15012025_15_34_53_3628.jpg
/home/pi/Desktop/images/15012025/15/34/image_15012025_15_34_55_2612.jpg
/home/pi/Desktop/images/15012025/15/34/image_15012025_15_34_58_2665.jpg
/home/pi/Desktop/images/15012025/15/34/image_15012025_15_35_01_3643.jpg
/home/pi/Desktop/images/15012025/15/35/image_15012025_15_35_07_2558.jpg
/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_04_3716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155921","1329155923","1329155902","1329155895","1329155916","1329155910"],"photo_ids_order":["1329155895","1329155902","1329155910","1329155916","1329155921","1329155923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f48e91ed0772b576309f688c4b96e508.jpg","text":"TemporaryFile(/tmp/multipartBody6827209947449659959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952162804,"filename":"image_15012025_15_35_07_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a53531eb8028485d9b147575e3a5966.jpg","text":"TemporaryFile(/tmp/multipartBody1531898749025153263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952162804,"filename":"image_15012025_15_36_04_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/656fb796d8930aa53173c1c85b0d9473.jpg","text":"TemporaryFile(/tmp/multipartBody8473818063908496577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952162804,"filename":"image_15012025_15_34_55_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af1577c417067e1c2852fe99b5553768.jpg","text":"TemporaryFile(/tmp/multipartBody8643878915879186849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952162804,"filename":"image_15012025_15_34_53_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf817567a9658cc65e47d7fb996430df.jpg","text":"TemporaryFile(/tmp/multipartBody1026006891888369332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952162804,"filename":"image_15012025_15_35_01_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d1614276a9c8197dc36fe6937d95475.jpg","text":"TemporaryFile(/tmp/multipartBody2699911305069970052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952162804,"filename":"image_15012025_15_34_58_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155910","file1":"1329155902","file0":"1329155895","file4":"1329155921","file5":"1329155923","file3":"1329155916"},"map_files_photo_id_array":[{"photo_id":"1329155923","filename":"file5"},{"photo_id":"1329155910","filename":"file2"},{"photo_id":"1329155921","filename":"file4"},{"photo_id":"1329155902","filename":"file1"},{"photo_id":"1329155895","filename":"file0"},{"photo_id":"1329155916","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155921":["hashtag1","hashtag2"]},{"1329155923":["hashtag1","hashtag2"]},{"1329155902":["hashtag1","hashtag2"]},{"1329155895":["hashtag1","hashtag2"]},{"1329155916":["hashtag1","hashtag2"]},{"1329155910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155921, 1329155923, 1329155902, 1329155895, 1329155916, 1329155910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53919696807861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:42:22.808134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_18_2561.jpg', '/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_22_3716.jpg', '/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_25_2684.jpg', '/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_28_2672.jpg', '/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_48_2559.jpg', '/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_16_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_18_2561.jpg
/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_22_3716.jpg
/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_25_2684.jpg
/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_28_2672.jpg
/home/pi/Desktop/images/15012025/15/36/image_15012025_15_36_48_2559.jpg
/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_16_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155965","1329155953","1329155929","1329155959","1329155950","1329155972"],"photo_ids_order":["1329155929","1329155950","1329155953","1329155959","1329155965","1329155972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f61c1db52be938fa3bf079392fc556c.jpg","text":"TemporaryFile(/tmp/multipartBody2422225637066292803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952203466,"filename":"image_15012025_15_36_48_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7263501c1824501932d24db6e55175f3.jpg","text":"TemporaryFile(/tmp/multipartBody2329808302002467160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952203466,"filename":"image_15012025_15_36_25_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf700e033ae3793f7af8a33d4cdb7a3c.jpg","text":"TemporaryFile(/tmp/multipartBody7163546086788812179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952203466,"filename":"image_15012025_15_36_18_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/93730dda6419bd336fff42fa660ee6af.jpg","text":"TemporaryFile(/tmp/multipartBody7580296011608647849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952203466,"filename":"image_15012025_15_36_28_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d4e5b61d2891be4ee61c5d98d2e77a5.jpg","text":"TemporaryFile(/tmp/multipartBody7954686304940273690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952203466,"filename":"image_15012025_15_36_22_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4454ecc2833e539f363a91cbbf89292.jpg","text":"TemporaryFile(/tmp/multipartBody3033285047446823785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952203466,"filename":"image_15012025_15_37_16_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155953","file1":"1329155950","file0":"1329155929","file4":"1329155965","file5":"1329155972","file3":"1329155959"},"map_files_photo_id_array":[{"photo_id":"1329155972","filename":"file5"},{"photo_id":"1329155953","filename":"file2"},{"photo_id":"1329155965","filename":"file4"},{"photo_id":"1329155950","filename":"file1"},{"photo_id":"1329155929","filename":"file0"},{"photo_id":"1329155959","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155965":["hashtag1","hashtag2"]},{"1329155953":["hashtag1","hashtag2"]},{"1329155929":["hashtag1","hashtag2"]},{"1329155959":["hashtag1","hashtag2"]},{"1329155950":["hashtag1","hashtag2"]},{"1329155972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155965, 1329155953, 1329155929, 1329155959, 1329155950, 1329155972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86332297325134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:43:02.611390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_19_2712.jpg', '/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_21_2689.jpg', '/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_25_3771.jpg', '/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_28_2685.jpg', '/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_31_2763.jpg', '/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_34_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_19_2712.jpg
/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_21_2689.jpg
/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_25_3771.jpg
/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_28_2685.jpg
/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_31_2763.jpg
/home/pi/Desktop/images/15012025/15/37/image_15012025_15_37_34_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329155984","1329155992","1329155995","1329155988","1329156000","1329155990"],"photo_ids_order":["1329155984","1329155988","1329155990","1329155992","1329155995","1329156000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7b017a12b01b9ad72135230c47e88ed.jpg","text":"TemporaryFile(/tmp/multipartBody1766327862088565583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952243411,"filename":"image_15012025_15_37_19_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5bcc1bc188ab64b25bf1ff85e51ec92f.jpg","text":"TemporaryFile(/tmp/multipartBody9079534924234031040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952243411,"filename":"image_15012025_15_37_28_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b4490f633c039d1894bd4c383f7a55cd.jpg","text":"TemporaryFile(/tmp/multipartBody6028825513915927949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952243411,"filename":"image_15012025_15_37_31_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7eab6b66bb68c1c2f83a154dd7fdf67.jpg","text":"TemporaryFile(/tmp/multipartBody7074194029616958895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952243411,"filename":"image_15012025_15_37_21_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f3eebc3608cc23098839d19affeea4c5.jpg","text":"TemporaryFile(/tmp/multipartBody7746185774465021158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952243411,"filename":"image_15012025_15_37_34_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/20552fd99522878a226e872fba82990d.jpg","text":"TemporaryFile(/tmp/multipartBody575868369886429052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952243411,"filename":"image_15012025_15_37_25_3771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329155990","file1":"1329155988","file0":"1329155984","file4":"1329155995","file5":"1329156000","file3":"1329155992"},"map_files_photo_id_array":[{"photo_id":"1329156000","filename":"file5"},{"photo_id":"1329155990","filename":"file2"},{"photo_id":"1329155995","filename":"file4"},{"photo_id":"1329155988","filename":"file1"},{"photo_id":"1329155984","filename":"file0"},{"photo_id":"1329155992","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329155984":["hashtag1","hashtag2"]},{"1329155992":["hashtag1","hashtag2"]},{"1329155995":["hashtag1","hashtag2"]},{"1329155988":["hashtag1","hashtag2"]},{"1329156000":["hashtag1","hashtag2"]},{"1329155990":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329155984, 1329155992, 1329155995, 1329155988, 1329156000, 1329155990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54175019264221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:43:41.843979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/38/image_15012025_15_38_10_3718.jpg', '/home/pi/Desktop/images/15012025/15/38/image_15012025_15_39_00_2773.jpg', '/home/pi/Desktop/images/15012025/15/39/image_15012025_15_39_55_2885.jpg', '/home/pi/Desktop/images/15012025/15/40/image_15012025_15_40_49_3596.jpg', '/home/pi/Desktop/images/15012025/15/41/image_15012025_15_41_21_2701.jpg', '/home/pi/Desktop/images/15012025/15/41/image_15012025_15_41_24_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/38/image_15012025_15_38_10_3718.jpg
/home/pi/Desktop/images/15012025/15/38/image_15012025_15_39_00_2773.jpg
/home/pi/Desktop/images/15012025/15/39/image_15012025_15_39_55_2885.jpg
/home/pi/Desktop/images/15012025/15/40/image_15012025_15_40_49_3596.jpg
/home/pi/Desktop/images/15012025/15/41/image_15012025_15_41_21_2701.jpg
/home/pi/Desktop/images/15012025/15/41/image_15012025_15_41_24_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329156047","1329156037","1329156021","1329156015","1329156035","1329156050"],"photo_ids_order":["1329156015","1329156021","1329156035","1329156037","1329156047","1329156050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80e095825755e695cc1437ecef640c1d.jpg","text":"TemporaryFile(/tmp/multipartBody1935537987296045012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952282577,"filename":"image_15012025_15_41_21_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d2f247dee1b2d85b5ca9f672e2967c95.jpg","text":"TemporaryFile(/tmp/multipartBody1386477531383616936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952282577,"filename":"image_15012025_15_40_49_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6e7e29929b37b4b1d8d39df534aeb378.jpg","text":"TemporaryFile(/tmp/multipartBody7629780127987988879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952282577,"filename":"image_15012025_15_39_00_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/53e50c5c59d1bf748f7b622044d36342.jpg","text":"TemporaryFile(/tmp/multipartBody3545139964674544717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952282577,"filename":"image_15012025_15_38_10_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee4ad3ce1995f8fba6142ed79bc99f7c.jpg","text":"TemporaryFile(/tmp/multipartBody820586350442325700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952282577,"filename":"image_15012025_15_39_55_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fcc1062e980111fc75947f25ed16444d.jpg","text":"TemporaryFile(/tmp/multipartBody6346513421508220273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952282577,"filename":"image_15012025_15_41_24_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329156035","file1":"1329156021","file0":"1329156015","file4":"1329156047","file5":"1329156050","file3":"1329156037"},"map_files_photo_id_array":[{"photo_id":"1329156050","filename":"file5"},{"photo_id":"1329156035","filename":"file2"},{"photo_id":"1329156047","filename":"file4"},{"photo_id":"1329156021","filename":"file1"},{"photo_id":"1329156015","filename":"file0"},{"photo_id":"1329156037","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329156047":["hashtag1","hashtag2"]},{"1329156037":["hashtag1","hashtag2"]},{"1329156021":["hashtag1","hashtag2"]},{"1329156015":["hashtag1","hashtag2"]},{"1329156035":["hashtag1","hashtag2"]},{"1329156050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329156047, 1329156037, 1329156021, 1329156015, 1329156035, 1329156050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01152467727661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:44:22.603496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/41/image_15012025_15_41_27_3528.jpg', '/home/pi/Desktop/images/15012025/15/41/image_15012025_15_41_30_2558.jpg', '/home/pi/Desktop/images/15012025/15/42/image_15012025_15_42_30_3665.jpg', '/home/pi/Desktop/images/15012025/15/42/image_15012025_15_42_33_2698.jpg', '/home/pi/Desktop/images/15012025/15/42/image_15012025_15_42_36_2748.jpg', '/home/pi/Desktop/images/15012025/15/42/image_15012025_15_42_40_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/41/image_15012025_15_41_27_3528.jpg
/home/pi/Desktop/images/15012025/15/41/image_15012025_15_41_30_2558.jpg
/home/pi/Desktop/images/15012025/15/42/image_15012025_15_42_30_3665.jpg
/home/pi/Desktop/images/15012025/15/42/image_15012025_15_42_33_2698.jpg
/home/pi/Desktop/images/15012025/15/42/image_15012025_15_42_36_2748.jpg
/home/pi/Desktop/images/15012025/15/42/image_15012025_15_42_40_3734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329156064","1329156145","1329156069","1329156159","1329156155","1329156059"],"photo_ids_order":["1329156059","1329156064","1329156069","1329156145","1329156155","1329156159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2900361579eb2ba00af38497742c401.jpg","text":"TemporaryFile(/tmp/multipartBody4192617842576653466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952323254,"filename":"image_15012025_15_41_30_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af990ff4bc13d74346a44b71f0812ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6434133941818239977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952323254,"filename":"image_15012025_15_42_33_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73e5520583ee0b82d5703df2cb06033f.jpg","text":"TemporaryFile(/tmp/multipartBody6302528230020035143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952323254,"filename":"image_15012025_15_42_30_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c28b6fc38a8e194a27707ea092dc8a6b.jpg","text":"TemporaryFile(/tmp/multipartBody3584169873073854617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952323254,"filename":"image_15012025_15_42_40_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8147caa0f1ce45e65c1d4abc9a8fe024.jpg","text":"TemporaryFile(/tmp/multipartBody6612758628168497002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952323254,"filename":"image_15012025_15_42_36_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2c70b4f8f2459636d9c907a16364b5f.jpg","text":"TemporaryFile(/tmp/multipartBody2064765327579271286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952323254,"filename":"image_15012025_15_41_27_3528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329156069","file1":"1329156064","file0":"1329156059","file4":"1329156155","file5":"1329156159","file3":"1329156145"},"map_files_photo_id_array":[{"photo_id":"1329156159","filename":"file5"},{"photo_id":"1329156069","filename":"file2"},{"photo_id":"1329156155","filename":"file4"},{"photo_id":"1329156064","filename":"file1"},{"photo_id":"1329156059","filename":"file0"},{"photo_id":"1329156145","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329156064":["hashtag1","hashtag2"]},{"1329156145":["hashtag1","hashtag2"]},{"1329156069":["hashtag1","hashtag2"]},{"1329156159":["hashtag1","hashtag2"]},{"1329156155":["hashtag1","hashtag2"]},{"1329156059":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329156064, 1329156145, 1329156069, 1329156159, 1329156155, 1329156059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.077869176864624 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:45:23.785899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/43/image_15012025_15_43_52_3638.jpg', '/home/pi/Desktop/images/15012025/15/44/image_15012025_15_44_40_3580.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_12_2595.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_15_3876.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_24_2545.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_27_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/43/image_15012025_15_43_52_3638.jpg
/home/pi/Desktop/images/15012025/15/44/image_15012025_15_44_40_3580.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_12_2595.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_15_3876.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_24_2545.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_27_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329156226","1329156255","1329156237","1329156213","1329156222","1329156216"],"photo_ids_order":["1329156213","1329156216","1329156222","1329156226","1329156237","1329156255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d48fef46c023c2f13cd71014e9c6ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4884485067049765406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952384446,"filename":"image_15012025_15_45_15_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b8f92ca156134b374ba9b0d6b420f59d.jpg","text":"TemporaryFile(/tmp/multipartBody8966292518176567822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952384446,"filename":"image_15012025_15_45_27_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/993214d08f76cc910a2540dc29699a32.jpg","text":"TemporaryFile(/tmp/multipartBody3993691093576674288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952384446,"filename":"image_15012025_15_45_24_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab7ebc360863187ab645d9b7b7296059.jpg","text":"TemporaryFile(/tmp/multipartBody8251198182417884747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952384446,"filename":"image_15012025_15_43_52_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d8e1277728247b98e23984998772841.jpg","text":"TemporaryFile(/tmp/multipartBody8661673245229694196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952384446,"filename":"image_15012025_15_45_12_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3af7ef6f65b517e88c21b33965097f27.jpg","text":"TemporaryFile(/tmp/multipartBody837559743736786946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952384446,"filename":"image_15012025_15_44_40_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329156222","file1":"1329156216","file0":"1329156213","file4":"1329156237","file5":"1329156255","file3":"1329156226"},"map_files_photo_id_array":[{"photo_id":"1329156255","filename":"file5"},{"photo_id":"1329156222","filename":"file2"},{"photo_id":"1329156237","filename":"file4"},{"photo_id":"1329156216","filename":"file1"},{"photo_id":"1329156213","filename":"file0"},{"photo_id":"1329156226","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329156226":["hashtag1","hashtag2"]},{"1329156255":["hashtag1","hashtag2"]},{"1329156237":["hashtag1","hashtag2"]},{"1329156213":["hashtag1","hashtag2"]},{"1329156222":["hashtag1","hashtag2"]},{"1329156216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329156226, 1329156255, 1329156237, 1329156213, 1329156222, 1329156216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00957107543945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:46:02.847430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_30_2517.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_33_2692.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_36_3652.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_39_2693.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_42_2648.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_45_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_30_2517.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_33_2692.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_36_3652.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_39_2693.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_42_2648.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_45_3676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329156514","1329156498","1329156415","1329156465","1329156510","1329156428"],"photo_ids_order":["1329156415","1329156428","1329156465","1329156498","1329156510","1329156514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d0251f8fe034ba948075a02053cf6e5.jpg","text":"TemporaryFile(/tmp/multipartBody4991445912051005011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952423529,"filename":"image_15012025_15_45_45_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3444d4d656a9cd046b547c1f9c2b3a48.jpg","text":"TemporaryFile(/tmp/multipartBody2867528771409014578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952423529,"filename":"image_15012025_15_45_39_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4688fd2112ce1e19b08455e80088d98b.jpg","text":"TemporaryFile(/tmp/multipartBody2005545570797039594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952423529,"filename":"image_15012025_15_45_30_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8e271f17b9a2617e96424c9230850190.jpg","text":"TemporaryFile(/tmp/multipartBody4655682611745130837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952423529,"filename":"image_15012025_15_45_36_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af3513ef672387425228981efeebab18.jpg","text":"TemporaryFile(/tmp/multipartBody5635875889712840899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952423529,"filename":"image_15012025_15_45_42_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd78e405d85fd7d198aa5658fb3ad0ce.jpg","text":"TemporaryFile(/tmp/multipartBody5739824065630679925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952423529,"filename":"image_15012025_15_45_33_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329156465","file1":"1329156428","file0":"1329156415","file4":"1329156510","file5":"1329156514","file3":"1329156498"},"map_files_photo_id_array":[{"photo_id":"1329156514","filename":"file5"},{"photo_id":"1329156465","filename":"file2"},{"photo_id":"1329156510","filename":"file4"},{"photo_id":"1329156428","filename":"file1"},{"photo_id":"1329156415","filename":"file0"},{"photo_id":"1329156498","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329156514":["hashtag1","hashtag2"]},{"1329156498":["hashtag1","hashtag2"]},{"1329156415":["hashtag1","hashtag2"]},{"1329156465":["hashtag1","hashtag2"]},{"1329156510":["hashtag1","hashtag2"]},{"1329156428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329156514, 1329156498, 1329156415, 1329156465, 1329156510, 1329156428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.345438957214355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:46:42.114853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_51_3216.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_54_2623.jpg', '/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_57_3546.jpg', '/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_03_3182.jpg', '/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_06_2607.jpg', '/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_24_14335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_51_3216.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_54_2623.jpg
/home/pi/Desktop/images/15012025/15/45/image_15012025_15_45_57_3546.jpg
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_03_3182.jpg
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_06_2607.jpg
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_24_14335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329156613","1329156597","1329156601","1329156621","1329156609","1329156611"],"photo_ids_order":["1329156597","1329156601","1329156609","1329156611","1329156613","1329156621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da184699bb3686bea662199c12d19d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1975390149342597502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952462728,"filename":"image_15012025_15_46_06_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d8c62d8393c72966cb4e45ea5a78026.jpg","text":"TemporaryFile(/tmp/multipartBody117977909030302498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952462728,"filename":"image_15012025_15_45_51_3216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d59a964dda39c34bd3ec1544ddab3234.jpg","text":"TemporaryFile(/tmp/multipartBody9109607932369824030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952462728,"filename":"image_15012025_15_45_54_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/176d50ae09846048cef2030783ebc956.jpg","text":"TemporaryFile(/tmp/multipartBody5047794752895807651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952462728,"filename":"image_15012025_15_46_24_14335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/079c84bb07e362b4144e5ebc99717174.jpg","text":"TemporaryFile(/tmp/multipartBody3379134827584401157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952462728,"filename":"image_15012025_15_45_57_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a8329954fe7992c71417df63b37f68e.jpg","text":"TemporaryFile(/tmp/multipartBody3901294150442622498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952462728,"filename":"image_15012025_15_46_03_3182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329156609","file1":"1329156601","file0":"1329156597","file4":"1329156613","file5":"1329156621","file3":"1329156611"},"map_files_photo_id_array":[{"photo_id":"1329156621","filename":"file5"},{"photo_id":"1329156609","filename":"file2"},{"photo_id":"1329156613","filename":"file4"},{"photo_id":"1329156601","filename":"file1"},{"photo_id":"1329156597","filename":"file0"},{"photo_id":"1329156611","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329156613":["hashtag1","hashtag2"]},{"1329156597":["hashtag1","hashtag2"]},{"1329156601":["hashtag1","hashtag2"]},{"1329156621":["hashtag1","hashtag2"]},{"1329156609":["hashtag1","hashtag2"]},{"1329156611":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329156613, 1329156597, 1329156601, 1329156621, 1329156609, 1329156611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57764935493469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:47:22.392379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_35_7959.jpg', '/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_40_1640.jpg', '/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_43_1713.jpg', '/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_50_1773.jpg', '/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_52_1639.jpg', '/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_54_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_35_7959.jpg
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_40_1640.jpg
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_43_1713.jpg
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_50_1773.jpg
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_52_1639.jpg
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_54_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329156707","1329156732","1329156741","1329156729","1329156702","1329156737"],"photo_ids_order":["1329156702","1329156707","1329156729","1329156732","1329156737","1329156741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/998b5cff03480d7bcc988b4ac8ad91e8.jpg","text":"TemporaryFile(/tmp/multipartBody6675333302187323921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952503004,"filename":"image_15012025_15_46_40_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4cba4dc006edc53996b43da37053b407.jpg","text":"TemporaryFile(/tmp/multipartBody1726162026819202791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952503004,"filename":"image_15012025_15_46_50_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b44deb24f747762a5b66b75e795db8d.jpg","text":"TemporaryFile(/tmp/multipartBody6777214230134431575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952503004,"filename":"image_15012025_15_46_54_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da12c02c64a24b4ea297625d2192c518.jpg","text":"TemporaryFile(/tmp/multipartBody5749718291085252248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952503004,"filename":"image_15012025_15_46_43_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe3bf4570c056cf5ab950c3ed97714a8.jpg","text":"TemporaryFile(/tmp/multipartBody5414551321079317671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952503004,"filename":"image_15012025_15_46_35_7959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fdc909d5de838c5e5b735151dfee11a3.jpg","text":"TemporaryFile(/tmp/multipartBody6934896552735873622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952503004,"filename":"image_15012025_15_46_52_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329156729","file1":"1329156707","file0":"1329156702","file4":"1329156737","file5":"1329156741","file3":"1329156732"},"map_files_photo_id_array":[{"photo_id":"1329156741","filename":"file5"},{"photo_id":"1329156729","filename":"file2"},{"photo_id":"1329156737","filename":"file4"},{"photo_id":"1329156707","filename":"file1"},{"photo_id":"1329156702","filename":"file0"},{"photo_id":"1329156732","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329156707":["hashtag1","hashtag2"]},{"1329156732":["hashtag1","hashtag2"]},{"1329156741":["hashtag1","hashtag2"]},{"1329156729":["hashtag1","hashtag2"]},{"1329156702":["hashtag1","hashtag2"]},{"1329156737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329156707, 1329156732, 1329156741, 1329156729, 1329156702, 1329156737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41675329208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:48:03.115098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_57_2721.jpg', '/home/pi/Desktop/images/15012025/15/46/image_15012025_15_47_00_2532.jpg', '/home/pi/Desktop/images/15012025/15/47/image_15012025_15_47_08_2624.jpg', '/home/pi/Desktop/images/15012025/15/47/image_15012025_15_47_12_3859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_46_57_2721.jpg
/home/pi/Desktop/images/15012025/15/46/image_15012025_15_47_00_2532.jpg
/home/pi/Desktop/images/15012025/15/47/image_15012025_15_47_08_2624.jpg
/home/pi/Desktop/images/15012025/15/47/image_15012025_15_47_12_3859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329156751","1329156773","1329156917","1329156839"],"photo_ids_order":["1329156751","1329156773","1329156839","1329156917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0368774f51d9ef85eec72a42ffd3e1d.jpg","text":"TemporaryFile(/tmp/multipartBody7305407492370928696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952543774,"filename":"image_15012025_15_46_57_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1433492f8c4cc294424ee01a3919606f.jpg","text":"TemporaryFile(/tmp/multipartBody1460282358476129757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952543774,"filename":"image_15012025_15_47_00_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad7988a7c4f923e869436c6b696beacd.jpg","text":"TemporaryFile(/tmp/multipartBody4621513371842086573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952543774,"filename":"image_15012025_15_47_12_3859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a70b6fbc95d73f4b3e972fd5af234548.jpg","text":"TemporaryFile(/tmp/multipartBody1156061959803916399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952543774,"filename":"image_15012025_15_47_08_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329156839","file1":"1329156773","file0":"1329156751","file3":"1329156917"},"map_files_photo_id_array":[{"photo_id":"1329156839","filename":"file2"},{"photo_id":"1329156773","filename":"file1"},{"photo_id":"1329156751","filename":"file0"},{"photo_id":"1329156917","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329156751":["hashtag1","hashtag2"]},{"1329156773":["hashtag1","hashtag2"]},{"1329156917":["hashtag1","hashtag2"]},{"1329156839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329156751, 1329156773, 1329156917, 1329156839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 38.09270238876343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:48:42.715243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/47/image_15012025_15_47_15_2935.jpg', '/home/pi/Desktop/images/15012025/15/48/image_15012025_15_48_06_3710.jpg', '/home/pi/Desktop/images/15012025/15/48/image_15012025_15_48_30_3580.jpg', '/home/pi/Desktop/images/15012025/15/48/image_15012025_15_48_33_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/47/image_15012025_15_47_15_2935.jpg
/home/pi/Desktop/images/15012025/15/48/image_15012025_15_48_06_3710.jpg
/home/pi/Desktop/images/15012025/15/48/image_15012025_15_48_30_3580.jpg
/home/pi/Desktop/images/15012025/15/48/image_15012025_15_48_33_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329157324","1329157327","1329157320","1329157313"],"photo_ids_order":["1329157313","1329157320","1329157324","1329157327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/15ab4f4ca832849d772e3e02434fbf89.jpg","text":"TemporaryFile(/tmp/multipartBody7403635727981898875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952583314,"filename":"image_15012025_15_48_30_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d167030b17a4b2145f104ed279b61dbf.jpg","text":"TemporaryFile(/tmp/multipartBody5755197736034513202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952583314,"filename":"image_15012025_15_48_33_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/79cc23cf4fb8b8aedfd868dbc4a0aca3.jpg","text":"TemporaryFile(/tmp/multipartBody4066137087688330640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952583314,"filename":"image_15012025_15_48_06_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/470c13115978e837b8ce65074156545e.jpg","text":"TemporaryFile(/tmp/multipartBody2889332508540113840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952583314,"filename":"image_15012025_15_47_15_2935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329157324","file1":"1329157320","file0":"1329157313","file3":"1329157327"},"map_files_photo_id_array":[{"photo_id":"1329157324","filename":"file2"},{"photo_id":"1329157320","filename":"file1"},{"photo_id":"1329157313","filename":"file0"},{"photo_id":"1329157327","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329157324":["hashtag1","hashtag2"]},{"1329157327":["hashtag1","hashtag2"]},{"1329157320":["hashtag1","hashtag2"]},{"1329157313":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329157324, 1329157327, 1329157320, 1329157313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.563090085983276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:49:21.926431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/48/image_15012025_15_48_35_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/48/image_15012025_15_48_35_2654.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329157343"],"photo_id":"1329157343","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f0e22ae1e16972bcb13978253c970eb7.jpg","text":"TemporaryFile(/tmp/multipartBody7471157227729841045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952625746,"filename":"image_15012025_15_48_35_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329157343"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329157343"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 1 photos
time to upload: 39.92916655540466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:50:08.423305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 291, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:50:22.857345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/15/image_10012025_14_15_33_2587.jpg', '/home/pi/Desktop/images/10012025/14/17/image_10012025_14_17_52_3752.jpg', '/home/pi/Desktop/images/10012025/14/18/image_10012025_14_18_06_2701.jpg', '/home/pi/Desktop/images/10012025/14/18/image_10012025_14_18_54_2804.jpg', '/home/pi/Desktop/images/10012025/14/19/image_10012025_14_19_18_2750.jpg', '/home/pi/Desktop/images/10012025/14/20/image_10012025_14_20_27_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/15/image_10012025_14_15_33_2587.jpg
/home/pi/Desktop/images/10012025/14/17/image_10012025_14_17_52_3752.jpg
/home/pi/Desktop/images/10012025/14/18/image_10012025_14_18_06_2701.jpg
/home/pi/Desktop/images/10012025/14/18/image_10012025_14_18_54_2804.jpg
/home/pi/Desktop/images/10012025/14/19/image_10012025_14_19_18_2750.jpg
/home/pi/Desktop/images/10012025/14/20/image_10012025_14_20_27_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329157666","1329157668","1329157665","1329157673","1329157681","1329157678"],"photo_ids_order":["1329157665","1329157666","1329157668","1329157673","1329157678","1329157681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/15ede0715a013c27a70bc655356918bc.jpg","text":"TemporaryFile(/tmp/multipartBody7785253316532414232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952685263,"filename":"image_10012025_14_17_52_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24eb913adfb46e8489c0e4ee861d459b.jpg","text":"TemporaryFile(/tmp/multipartBody3999741840295428604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952685263,"filename":"image_10012025_14_18_06_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ceac558fe758dc4e3ba27c37ca41eb48.jpg","text":"TemporaryFile(/tmp/multipartBody3358058130891598415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952685263,"filename":"image_10012025_14_15_33_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/675c3cf8d2b45046354b5bfcb5e09858.jpg","text":"TemporaryFile(/tmp/multipartBody4515309145846454831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952685263,"filename":"image_10012025_14_18_54_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8318dce11ec27b0437163bccb1deb19e.jpg","text":"TemporaryFile(/tmp/multipartBody720447216582131876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952685263,"filename":"image_10012025_14_20_27_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/43b0458fcf91241e1fe0625cfbb5b98f.jpg","text":"TemporaryFile(/tmp/multipartBody6513569227713063633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952685263,"filename":"image_10012025_14_19_18_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329157668","file1":"1329157666","file0":"1329157665","file4":"1329157678","file5":"1329157681","file3":"1329157673"},"map_files_photo_id_array":[{"photo_id":"1329157681","filename":"file5"},{"photo_id":"1329157668","filename":"file2"},{"photo_id":"1329157678","filename":"file4"},{"photo_id":"1329157666","filename":"file1"},{"photo_id":"1329157665","filename":"file0"},{"photo_id":"1329157673","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329157666":["hashtag1","hashtag2"]},{"1329157668":["hashtag1","hashtag2"]},{"1329157665":["hashtag1","hashtag2"]},{"1329157673":["hashtag1","hashtag2"]},{"1329157681":["hashtag1","hashtag2"]},{"1329157678":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329157666, 1329157668, 1329157665, 1329157673, 1329157681, 1329157678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03865575790405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:51:02.813089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/20/image_10012025_14_20_48_3665.jpg', '/home/pi/Desktop/images/10012025/14/21/image_10012025_14_21_03_2732.jpg', '/home/pi/Desktop/images/10012025/14/21/image_10012025_14_21_30_2649.jpg', '/home/pi/Desktop/images/10012025/14/21/image_10012025_14_21_39_2788.jpg', '/home/pi/Desktop/images/10012025/14/21/image_10012025_14_21_42_2795.jpg', '/home/pi/Desktop/images/10012025/14/22/image_10012025_14_22_50_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/20/image_10012025_14_20_48_3665.jpg
/home/pi/Desktop/images/10012025/14/21/image_10012025_14_21_03_2732.jpg
/home/pi/Desktop/images/10012025/14/21/image_10012025_14_21_30_2649.jpg
/home/pi/Desktop/images/10012025/14/21/image_10012025_14_21_39_2788.jpg
/home/pi/Desktop/images/10012025/14/21/image_10012025_14_21_42_2795.jpg
/home/pi/Desktop/images/10012025/14/22/image_10012025_14_22_50_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329157717","1329157692","1329157719","1329157710","1329157688","1329157703"],"photo_ids_order":["1329157688","1329157692","1329157703","1329157710","1329157717","1329157719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b00bd3849a05320347e344557e8a7898.jpg","text":"TemporaryFile(/tmp/multipartBody6074518295971096816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952724522,"filename":"image_10012025_14_21_42_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7bc7b0f8f9373b1bda4174655ee4771f.jpg","text":"TemporaryFile(/tmp/multipartBody695530030248097854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952724522,"filename":"image_10012025_14_21_03_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33b02cbacb68972d27af86d8a2381ad7.jpg","text":"TemporaryFile(/tmp/multipartBody1926177118740503328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952724522,"filename":"image_10012025_14_22_50_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3e438a824ce6fbac0f49058d1371025.jpg","text":"TemporaryFile(/tmp/multipartBody1054199230268210609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952724522,"filename":"image_10012025_14_21_39_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f06ff42eecc4100cf378a469505889e5.jpg","text":"TemporaryFile(/tmp/multipartBody4776646941364371201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952724522,"filename":"image_10012025_14_20_48_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d4dc879f5cb33612d4b8e573c3585b8.jpg","text":"TemporaryFile(/tmp/multipartBody3801269505748353264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952724522,"filename":"image_10012025_14_21_30_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329157703","file1":"1329157692","file0":"1329157688","file4":"1329157717","file5":"1329157719","file3":"1329157710"},"map_files_photo_id_array":[{"photo_id":"1329157719","filename":"file5"},{"photo_id":"1329157703","filename":"file2"},{"photo_id":"1329157717","filename":"file4"},{"photo_id":"1329157692","filename":"file1"},{"photo_id":"1329157688","filename":"file0"},{"photo_id":"1329157710","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329157717":["hashtag1","hashtag2"]},{"1329157692":["hashtag1","hashtag2"]},{"1329157719":["hashtag1","hashtag2"]},{"1329157710":["hashtag1","hashtag2"]},{"1329157688":["hashtag1","hashtag2"]},{"1329157703":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329157717, 1329157692, 1329157719, 1329157710, 1329157688, 1329157703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.137916803359985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:51:42.191151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/49/image_15012025_15_49_33_11589.jpg', '/home/pi/Desktop/images/15012025/15/50/image_15012025_15_50_50_18113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/49/image_15012025_15_49_33_11589.jpg
/home/pi/Desktop/images/15012025/15/50/image_15012025_15_50_50_18113.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329157735","1329157731"],"photo_ids_order":["1329157731","1329157735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0853ab4acaa10a330416256b00cebbb1.jpg","text":"TemporaryFile(/tmp/multipartBody5337757519962080106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952762761,"filename":"image_15012025_15_50_50_18113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1907e3e0209ff5f43d8d4313efa40971.jpg","text":"TemporaryFile(/tmp/multipartBody96876976087020058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952762761,"filename":"image_15012025_15_49_33_11589.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329157735","file0":"1329157731"},"map_files_photo_id_array":[{"photo_id":"1329157735","filename":"file1"},{"photo_id":"1329157731","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329157735":["hashtag1","hashtag2"]},{"1329157731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329157735, 1329157731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.23276448249817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:52:02.549194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/23/image_10012025_14_23_48_3580.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_06_3777.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_09_2827.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_12_2883.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_15_2856.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_21_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/23/image_10012025_14_23_48_3580.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_06_3777.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_09_2827.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_12_2883.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_15_2856.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_21_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329157750","1329157770","1329157764","1329157746","1329157793","1329157781"],"photo_ids_order":["1329157746","1329157750","1329157764","1329157770","1329157781","1329157793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/09d4df9abfd9dfdb8d852d36504ae999.jpg","text":"TemporaryFile(/tmp/multipartBody6404085750230714117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952787016,"filename":"image_10012025_14_24_06_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ebb3bea40653d6f1a95467347819f1a4.jpg","text":"TemporaryFile(/tmp/multipartBody4061524791343009694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952787016,"filename":"image_10012025_14_24_12_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d17a1781879162888d2f310265cb5a24.jpg","text":"TemporaryFile(/tmp/multipartBody8573747745900203438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952787016,"filename":"image_10012025_14_24_09_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f53c49aa24e9bc9113ac4e301bf3c158.jpg","text":"TemporaryFile(/tmp/multipartBody2307824562670651087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952787016,"filename":"image_10012025_14_23_48_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7ba9db10d788372b515cb9e202ae969d.jpg","text":"TemporaryFile(/tmp/multipartBody7627978528729499379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952787016,"filename":"image_10012025_14_24_21_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8339742db2cdf2c05c5e50d7bec0d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody8305384992288340696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952787016,"filename":"image_10012025_14_24_15_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329157764","file1":"1329157750","file0":"1329157746","file4":"1329157781","file5":"1329157793","file3":"1329157770"},"map_files_photo_id_array":[{"photo_id":"1329157793","filename":"file5"},{"photo_id":"1329157764","filename":"file2"},{"photo_id":"1329157781","filename":"file4"},{"photo_id":"1329157750","filename":"file1"},{"photo_id":"1329157746","filename":"file0"},{"photo_id":"1329157770","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329157750":["hashtag1","hashtag2"]},{"1329157770":["hashtag1","hashtag2"]},{"1329157764":["hashtag1","hashtag2"]},{"1329157746":["hashtag1","hashtag2"]},{"1329157793":["hashtag1","hashtag2"]},{"1329157781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329157750, 1329157770, 1329157764, 1329157746, 1329157793, 1329157781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.22006392478943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:53:03.270284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/51/image_15012025_15_51_42_1509.jpg', '/home/pi/Desktop/images/15012025/15/52/image_15012025_15_52_20_2518.jpg', '/home/pi/Desktop/images/15012025/15/52/image_15012025_15_52_23_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/51/image_15012025_15_51_42_1509.jpg
/home/pi/Desktop/images/15012025/15/52/image_15012025_15_52_20_2518.jpg
/home/pi/Desktop/images/15012025/15/52/image_15012025_15_52_23_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329157831","1329157836","1329157824"],"photo_ids_order":["1329157824","1329157831","1329157836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/538d148c0c1635d0485dcd247c7634cd.jpg","text":"TemporaryFile(/tmp/multipartBody8488809927345769715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952843931,"filename":"image_15012025_15_52_20_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cb28ec7293e5f103607b17375773375.jpg","text":"TemporaryFile(/tmp/multipartBody1021935492398957067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952843931,"filename":"image_15012025_15_52_23_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1ed3641f6460f44affd3d99b7f88b49c.jpg","text":"TemporaryFile(/tmp/multipartBody9007856054478044823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952843931,"filename":"image_15012025_15_51_42_1509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329157836","file1":"1329157831","file0":"1329157824"},"map_files_photo_id_array":[{"photo_id":"1329157836","filename":"file2"},{"photo_id":"1329157831","filename":"file1"},{"photo_id":"1329157824","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329157831":["hashtag1","hashtag2"]},{"1329157836":["hashtag1","hashtag2"]},{"1329157824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329157831, 1329157836, 1329157824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.592902660369873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:53:42.519842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_12012025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 19647864, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736952883000}
4220
2486575
4220
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_07_3027.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_24_17207.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_27_1525.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_29_1473.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_30_1479.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_32_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_07_3027.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_24_17207.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_27_1525.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_29_1473.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_30_1479.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_32_1643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329157900","1329157953","1329157947","1329157958","1329157952","1329157955"],"photo_ids_order":["1329157900","1329157947","1329157952","1329157953","1329157955","1329157958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e7d2ad7997092fc2ed62576006e9e18.jpg","text":"TemporaryFile(/tmp/multipartBody1425009112494333347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952884257,"filename":"image_12012025_02_00_07_3027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d6e0b0eb30fa133ead826456a38ded00.jpg","text":"TemporaryFile(/tmp/multipartBody2905641859365273126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952884257,"filename":"image_12012025_02_00_29_1473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af05bd19f8ffc0054c993cfe6307ce6a.jpg","text":"TemporaryFile(/tmp/multipartBody92210976919558631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952884257,"filename":"image_12012025_02_00_24_17207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ccf7b6b2f8989c5861e594317387762f.jpg","text":"TemporaryFile(/tmp/multipartBody1617549178445077872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952884257,"filename":"image_12012025_02_00_32_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6dffe0748f0f1fb207ea1c0ef18cb3b.jpg","text":"TemporaryFile(/tmp/multipartBody5499928819677068629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952884257,"filename":"image_12012025_02_00_27_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ef9f2c42f23bb3319b4f75ea13c73bb.jpg","text":"TemporaryFile(/tmp/multipartBody4952189379059085247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952884257,"filename":"image_12012025_02_00_30_1479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329157952","file1":"1329157947","file0":"1329157900","file4":"1329157955","file5":"1329157958","file3":"1329157953"},"map_files_photo_id_array":[{"photo_id":"1329157958","filename":"file5"},{"photo_id":"1329157952","filename":"file2"},{"photo_id":"1329157955","filename":"file4"},{"photo_id":"1329157947","filename":"file1"},{"photo_id":"1329157900","filename":"file0"},{"photo_id":"1329157953","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329157900":["hashtag1","hashtag2"]},{"1329157953":["hashtag1","hashtag2"]},{"1329157947":["hashtag1","hashtag2"]},{"1329157958":["hashtag1","hashtag2"]},{"1329157952":["hashtag1","hashtag2"]},{"1329157955":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329157900, 1329157953, 1329157947, 1329157958, 1329157952, 1329157955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.885324001312256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:54:22.072210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/52/image_15012025_15_52_27_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/52/image_15012025_15_52_27_3686.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158000"],"photo_id":"1329158000","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a6be1d64b3b3a0da50aa3dfbead871e1.jpg","text":"TemporaryFile(/tmp/multipartBody8145173826929509269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952922593,"filename":"image_15012025_15_52_27_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329158000"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329158000"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.217897415161133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:54:41.970653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_33_1478.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_36_1475.jpg', '/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_38_1563.jpg', '/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_50_2761.jpg', '/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_16_2722.jpg', '/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_06_3112.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_33_1478.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_36_1475.jpg
/home/pi/Desktop/images/12012025/02/00/image_12012025_02_00_38_1563.jpg
/home/pi/Desktop/images/12012025/02/50/image_12012025_02_50_50_2761.jpg
/home/pi/Desktop/images/12012025/03/50/image_12012025_03_50_16_2722.jpg
/home/pi/Desktop/images/12012025/05/11/image_12012025_05_11_06_3112.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158026","1329158020","1329158016","1329158024","1329158036","1329158023"],"photo_ids_order":["1329158016","1329158020","1329158023","1329158024","1329158026","1329158036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38799c6d80a26c82998b1a4a41328c3b.jpg","text":"TemporaryFile(/tmp/multipartBody1286113853936243366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952942885,"filename":"image_12012025_03_50_16_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/93bce1508db9aa64638807137710a48e.jpg","text":"TemporaryFile(/tmp/multipartBody6146329873061182949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952942885,"filename":"image_12012025_02_00_36_1475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76af17c26c5c9c0f340121e16ec77ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7200644252006718244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952942885,"filename":"image_12012025_02_00_33_1478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e04838c34559180a780e358263eeeab2.jpg","text":"TemporaryFile(/tmp/multipartBody3856059385550292761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952942885,"filename":"image_12012025_02_50_50_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ef8673537ee3429d18ac4cf62b5fb083.jpg","text":"TemporaryFile(/tmp/multipartBody5064768596097362777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952942885,"filename":"image_12012025_05_11_06_3112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f020b88891172edf9aa17a0a4f2ecb02.jpg","text":"TemporaryFile(/tmp/multipartBody2969918073689047735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952942885,"filename":"image_12012025_02_00_38_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329158023","file1":"1329158020","file0":"1329158016","file4":"1329158026","file5":"1329158036","file3":"1329158024"},"map_files_photo_id_array":[{"photo_id":"1329158036","filename":"file5"},{"photo_id":"1329158023","filename":"file2"},{"photo_id":"1329158026","filename":"file4"},{"photo_id":"1329158020","filename":"file1"},{"photo_id":"1329158016","filename":"file0"},{"photo_id":"1329158024","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329158026":["hashtag1","hashtag2"]},{"1329158020":["hashtag1","hashtag2"]},{"1329158016":["hashtag1","hashtag2"]},{"1329158024":["hashtag1","hashtag2"]},{"1329158036":["hashtag1","hashtag2"]},{"1329158023":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329158026, 1329158020, 1329158016, 1329158024, 1329158036, 1329158023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5243124961853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:55:22.661109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/54/image_15012025_15_54_11_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/54/image_15012025_15_54_11_2539.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158063"],"photo_id":"1329158063","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f13c5f17b31a58f8d04e6a405c1c3203.jpg","text":"TemporaryFile(/tmp/multipartBody2454724279975552436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736952983344,"filename":"image_15012025_15_54_11_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329158063"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329158063"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.343857526779175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:55:42.558008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/06/01/image_12012025_06_02_00_2680.jpg', '/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_27_3588.jpg', '/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_38_3720.jpg', '/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_13_2626.jpg', '/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_11_3692.jpg', '/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_43_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/06/01/image_12012025_06_02_00_2680.jpg
/home/pi/Desktop/images/12012025/06/42/image_12012025_06_42_27_3588.jpg
/home/pi/Desktop/images/12012025/06/51/image_12012025_06_51_38_3720.jpg
/home/pi/Desktop/images/12012025/07/26/image_12012025_07_26_13_2626.jpg
/home/pi/Desktop/images/12012025/07/53/image_12012025_07_53_11_3692.jpg
/home/pi/Desktop/images/12012025/07/59/image_12012025_07_59_43_3526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158104","1329158088","1329158093","1329158111","1329158114","1329158140"],"photo_ids_order":["1329158088","1329158093","1329158104","1329158111","1329158114","1329158140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a85728291664a5972c46c702e45d8ba3.jpg","text":"TemporaryFile(/tmp/multipartBody3839662277508116260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953003445,"filename":"image_12012025_06_51_38_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c3f894b1d51e1a3ee1d16723a613ec33.jpg","text":"TemporaryFile(/tmp/multipartBody4857527598420701326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953003445,"filename":"image_12012025_06_02_00_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d28300aa338b02ac34a154271beb43f.jpg","text":"TemporaryFile(/tmp/multipartBody7634984183633428986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953003445,"filename":"image_12012025_06_42_27_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4dbf517d0ef83b959b6048c659d2824.jpg","text":"TemporaryFile(/tmp/multipartBody6716324495320247769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953003445,"filename":"image_12012025_07_26_13_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5252f3c9cc194d1084b4ad6e0536e9d6.jpg","text":"TemporaryFile(/tmp/multipartBody4650604198554269262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953003445,"filename":"image_12012025_07_53_11_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c15097beee8bf2fbc447bea6ea4effc0.jpg","text":"TemporaryFile(/tmp/multipartBody3612749161669172672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953003445,"filename":"image_12012025_07_59_43_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329158104","file1":"1329158093","file0":"1329158088","file4":"1329158114","file5":"1329158140","file3":"1329158111"},"map_files_photo_id_array":[{"photo_id":"1329158140","filename":"file5"},{"photo_id":"1329158104","filename":"file2"},{"photo_id":"1329158114","filename":"file4"},{"photo_id":"1329158093","filename":"file1"},{"photo_id":"1329158088","filename":"file0"},{"photo_id":"1329158111","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329158104":["hashtag1","hashtag2"]},{"1329158088":["hashtag1","hashtag2"]},{"1329158093":["hashtag1","hashtag2"]},{"1329158111":["hashtag1","hashtag2"]},{"1329158114":["hashtag1","hashtag2"]},{"1329158140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329158104, 1329158088, 1329158093, 1329158111, 1329158114, 1329158140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.515745639801025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:56:22.353765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/55/image_15012025_15_55_17_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/55/image_15012025_15_55_17_2661.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158157"],"photo_id":"1329158157","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/35722648503c585ed4bfeb3263513ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1592784390317990057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953042883,"filename":"image_15012025_15_55_17_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329158157"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329158157"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.847243309020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:56:42.321021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_19_2671.jpg', '/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_29_2521.jpg', '/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_38_3700.jpg', '/home/pi/Desktop/images/12012025/08/36/image_12012025_08_36_18_2565.jpg', '/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_58_3706.jpg', '/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_10_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/08/05/image_12012025_08_05_19_2671.jpg
/home/pi/Desktop/images/12012025/08/23/image_12012025_08_23_29_2521.jpg
/home/pi/Desktop/images/12012025/08/31/image_12012025_08_31_38_3700.jpg
/home/pi/Desktop/images/12012025/08/36/image_12012025_08_36_18_2565.jpg
/home/pi/Desktop/images/12012025/08/37/image_12012025_08_37_58_3706.jpg
/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_10_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158206","1329158202","1329158186","1329158171","1329158213","1329158191"],"photo_ids_order":["1329158171","1329158186","1329158191","1329158202","1329158206","1329158213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3374dbd55fadbde1212c2f54116db54.jpg","text":"TemporaryFile(/tmp/multipartBody8424388596987661702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953063219,"filename":"image_12012025_08_37_58_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6860d501766fd51e1fee9b903cf3e957.jpg","text":"TemporaryFile(/tmp/multipartBody3605427108756703782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953063219,"filename":"image_12012025_08_36_18_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/abb3c1191a6a31912780bf24b441b5e9.jpg","text":"TemporaryFile(/tmp/multipartBody739458706581421050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953063219,"filename":"image_12012025_08_23_29_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf7401e46d575725d7a4fb2e1fc1906e.jpg","text":"TemporaryFile(/tmp/multipartBody5832220499815894064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953063219,"filename":"image_12012025_08_05_19_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/42c22f7d06386b148fb1308fd635c5ca.jpg","text":"TemporaryFile(/tmp/multipartBody3192316695434925684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953063219,"filename":"image_12012025_08_38_10_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b656dfc9d3de6307beae25a513e57170.jpg","text":"TemporaryFile(/tmp/multipartBody5546480603272266744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953063219,"filename":"image_12012025_08_31_38_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329158191","file1":"1329158186","file0":"1329158171","file4":"1329158206","file5":"1329158213","file3":"1329158202"},"map_files_photo_id_array":[{"photo_id":"1329158213","filename":"file5"},{"photo_id":"1329158191","filename":"file2"},{"photo_id":"1329158206","filename":"file4"},{"photo_id":"1329158186","filename":"file1"},{"photo_id":"1329158171","filename":"file0"},{"photo_id":"1329158202","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329158206":["hashtag1","hashtag2"]},{"1329158202":["hashtag1","hashtag2"]},{"1329158186":["hashtag1","hashtag2"]},{"1329158171":["hashtag1","hashtag2"]},{"1329158213":["hashtag1","hashtag2"]},{"1329158191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329158206, 1329158202, 1329158186, 1329158171, 1329158213, 1329158191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14734482765198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:57:22.741744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/56/image_15012025_15_56_26_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/56/image_15012025_15_56_26_2662.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158221"],"photo_id":"1329158221","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05518b89a14e0aecef1f7aa231f165be.jpg","text":"TemporaryFile(/tmp/multipartBody7993879728920982286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953103270,"filename":"image_15012025_15_56_26_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329158221"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329158221"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.489936828613281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 15:57:42.840506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_42_2867.jpg', '/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_49_3746.jpg', '/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_04_3669.jpg', '/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_16_3607.jpg', '/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_21_2717.jpg', '/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_25_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_42_2867.jpg
/home/pi/Desktop/images/12012025/08/38/image_12012025_08_38_49_3746.jpg
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_04_3669.jpg
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_16_3607.jpg
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_21_2717.jpg
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_25_3682.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158262","1329158244","1329158249","1329158240","1329158264","1329158254"],"photo_ids_order":["1329158240","1329158244","1329158249","1329158254","1329158262","1329158264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/411954eabeb15ab73b828d64521f4cda.jpg","text":"TemporaryFile(/tmp/multipartBody4824733131771847957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953123821,"filename":"image_12012025_08_39_21_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/973c8b27fc59e9f56db1f0c581ddd502.jpg","text":"TemporaryFile(/tmp/multipartBody5164658316110565675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953123821,"filename":"image_12012025_08_38_49_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/223e535afcdcbea2fa3e83f868848c2f.jpg","text":"TemporaryFile(/tmp/multipartBody1339925028252197217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953123821,"filename":"image_12012025_08_39_04_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/509df13bdd581049bd15c2a7d4f106fb.jpg","text":"TemporaryFile(/tmp/multipartBody485609981782391374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953123821,"filename":"image_12012025_08_38_42_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac27477070a295b66154ebff578ab212.jpg","text":"TemporaryFile(/tmp/multipartBody204910123532657229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953123821,"filename":"image_12012025_08_39_25_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/816a03c62d656bd332bddc78c65730f1.jpg","text":"TemporaryFile(/tmp/multipartBody2103254555020701399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953123821,"filename":"image_12012025_08_39_16_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329158249","file1":"1329158244","file0":"1329158240","file4":"1329158262","file5":"1329158264","file3":"1329158254"},"map_files_photo_id_array":[{"photo_id":"1329158264","filename":"file5"},{"photo_id":"1329158249","filename":"file2"},{"photo_id":"1329158262","filename":"file4"},{"photo_id":"1329158244","filename":"file1"},{"photo_id":"1329158240","filename":"file0"},{"photo_id":"1329158254","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329158262":["hashtag1","hashtag2"]},{"1329158244":["hashtag1","hashtag2"]},{"1329158249":["hashtag1","hashtag2"]},{"1329158240":["hashtag1","hashtag2"]},{"1329158264":["hashtag1","hashtag2"]},{"1329158254":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329158262, 1329158244, 1329158249, 1329158240, 1329158264, 1329158254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22643971443176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 15:59:03.335569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/57/image_15012025_15_57_29_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/57/image_15012025_15_57_29_2657.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158280"],"photo_id":"1329158280","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64529707628adf7dcc4af2a49d5c6c84.jpg","text":"TemporaryFile(/tmp/multipartBody8763911999479564919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953203992,"filename":"image_15012025_15_57_29_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329158280"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329158280"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.113840818405151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 15:59:22.403795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_24_2667.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_26_2622.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_47_2695.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_51_3682.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_53_2659.jpg', '/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_56_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_24_2667.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_26_2622.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_47_2695.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_51_3682.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_53_2659.jpg
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_24_56_2792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158376","1329158352","1329158321","1329158380","1329158383","1329158365"],"photo_ids_order":["1329158321","1329158352","1329158365","1329158376","1329158380","1329158383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/911a1617c8acb9b2131fa3676a72da29.jpg","text":"TemporaryFile(/tmp/multipartBody5117602502067303219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953224558,"filename":"image_10012025_14_24_51_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6b09eafb1266c563977d265227dd4d3.jpg","text":"TemporaryFile(/tmp/multipartBody4197197189485944928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953224558,"filename":"image_10012025_14_24_26_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73bc00a872b27b43a374aee07772ccd1.jpg","text":"TemporaryFile(/tmp/multipartBody891868598304909167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953224558,"filename":"image_10012025_14_24_24_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b1de6162196342927740a1c99bbc2e9.jpg","text":"TemporaryFile(/tmp/multipartBody8559782176396776070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953224558,"filename":"image_10012025_14_24_53_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9227702c828ccf4449d30cab81e83f0c.jpg","text":"TemporaryFile(/tmp/multipartBody1850219561356481985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953224558,"filename":"image_10012025_14_24_56_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc47871860c2bb6b4eb1fc794a100ab6.jpg","text":"TemporaryFile(/tmp/multipartBody1960317877622891118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953224558,"filename":"image_10012025_14_24_47_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329158365","file1":"1329158352","file0":"1329158321","file4":"1329158380","file5":"1329158383","file3":"1329158376"},"map_files_photo_id_array":[{"photo_id":"1329158383","filename":"file5"},{"photo_id":"1329158365","filename":"file2"},{"photo_id":"1329158380","filename":"file4"},{"photo_id":"1329158352","filename":"file1"},{"photo_id":"1329158321","filename":"file0"},{"photo_id":"1329158376","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329158376":["hashtag1","hashtag2"]},{"1329158352":["hashtag1","hashtag2"]},{"1329158321":["hashtag1","hashtag2"]},{"1329158380":["hashtag1","hashtag2"]},{"1329158383":["hashtag1","hashtag2"]},{"1329158365":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329158376, 1329158352, 1329158321, 1329158380, 1329158383, 1329158365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8112952709198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:00:22.445561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/15/58/image_15012025_15_58_41_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/15/58/image_15012025_15_58_41_2843.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158426"],"photo_id":"1329158426","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/239e65361c80a4572d8e3fe064c0e07d.jpg","text":"TemporaryFile(/tmp/multipartBody4598465055298997288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953282959,"filename":"image_15012025_15_58_41_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329158426"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329158426"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.702202320098877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:00:42.302306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_34_3543.jpg', '/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_45_2732.jpg', '/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_57_2654.jpg', '/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_09_2692.jpg', '/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_18_2695.jpg', '/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_34_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_34_3543.jpg
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_45_2732.jpg
/home/pi/Desktop/images/12012025/08/39/image_12012025_08_39_57_2654.jpg
/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_09_2692.jpg
/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_18_2695.jpg
/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_34_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158573","1329158587","1329158581","1329158575","1329158569","1329158578"],"photo_ids_order":["1329158569","1329158573","1329158575","1329158578","1329158581","1329158587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/babcaf92d9e5c5019cec5bbdb9c8e644.jpg","text":"TemporaryFile(/tmp/multipartBody1296745906401590848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953303271,"filename":"image_12012025_08_39_45_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/464114e46b8f784543dbc24faaa96c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5171733986339178538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953303271,"filename":"image_12012025_08_40_34_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a67ea21d36532f23566b3136f171fe8f.jpg","text":"TemporaryFile(/tmp/multipartBody7821342195284484991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953303271,"filename":"image_12012025_08_40_18_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4586738334ce6ae8b1e27f703d7bbd08.jpg","text":"TemporaryFile(/tmp/multipartBody5277252954086375874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953303271,"filename":"image_12012025_08_39_57_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/856433c6caf9db66f322ff13def34ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7740559800445895780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953303271,"filename":"image_12012025_08_39_34_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e69aa87cce0a8893e56338bd7e359bb3.jpg","text":"TemporaryFile(/tmp/multipartBody5070483587909846112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953303271,"filename":"image_12012025_08_40_09_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329158575","file1":"1329158573","file0":"1329158569","file4":"1329158581","file5":"1329158587","file3":"1329158578"},"map_files_photo_id_array":[{"photo_id":"1329158587","filename":"file5"},{"photo_id":"1329158575","filename":"file2"},{"photo_id":"1329158581","filename":"file4"},{"photo_id":"1329158573","filename":"file1"},{"photo_id":"1329158569","filename":"file0"},{"photo_id":"1329158578","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329158573":["hashtag1","hashtag2"]},{"1329158587":["hashtag1","hashtag2"]},{"1329158581":["hashtag1","hashtag2"]},{"1329158575":["hashtag1","hashtag2"]},{"1329158569":["hashtag1","hashtag2"]},{"1329158578":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329158573, 1329158587, 1329158581, 1329158575, 1329158569, 1329158578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.60526728630066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:01:42.555245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/00/image_15012025_16_00_08_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/00/image_15012025_16_00_08_3011.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158628"],"photo_id":"1329158628","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1400cb0b9ea15f28c552779a4ff11640.jpg","text":"TemporaryFile(/tmp/multipartBody2786878526219777452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953363074,"filename":"image_15012025_16_00_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329158628"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329158628"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.739545583724976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:02:02.449251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/24/image_10012025_14_25_00_3605.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_03_2793.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_05_2754.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_08_2736.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_12_3599.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_15_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/24/image_10012025_14_25_00_3605.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_03_2793.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_05_2754.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_08_2736.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_12_3599.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_15_2823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158679","1329158673","1329158676","1329158655","1329158674","1329158671"],"photo_ids_order":["1329158655","1329158671","1329158673","1329158674","1329158676","1329158679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e46504d40d2de95c1d40e7882af602d9.jpg","text":"TemporaryFile(/tmp/multipartBody8927471191949769514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953383972,"filename":"image_10012025_14_25_15_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/71810c1470eb5759fcdec9a9ecbc1955.jpg","text":"TemporaryFile(/tmp/multipartBody5815610695144544573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953383972,"filename":"image_10012025_14_25_05_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70d942b093de66a0434cf0015a8ec586.jpg","text":"TemporaryFile(/tmp/multipartBody7958009697443392928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953383972,"filename":"image_10012025_14_25_12_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c29effeee9e957c944192c6315e60071.jpg","text":"TemporaryFile(/tmp/multipartBody396728849649655581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953383972,"filename":"image_10012025_14_25_00_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/847d9ba147e244b2dd7f5c598b205974.jpg","text":"TemporaryFile(/tmp/multipartBody6952363307370650205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953383972,"filename":"image_10012025_14_25_08_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ce12a15dc0a9b09d29645e7d0f1b29d.jpg","text":"TemporaryFile(/tmp/multipartBody7256909459893465129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953383972,"filename":"image_10012025_14_25_03_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329158673","file1":"1329158671","file0":"1329158655","file4":"1329158676","file5":"1329158679","file3":"1329158674"},"map_files_photo_id_array":[{"photo_id":"1329158679","filename":"file5"},{"photo_id":"1329158673","filename":"file2"},{"photo_id":"1329158676","filename":"file4"},{"photo_id":"1329158671","filename":"file1"},{"photo_id":"1329158655","filename":"file0"},{"photo_id":"1329158674","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329158679":["hashtag1","hashtag2"]},{"1329158673":["hashtag1","hashtag2"]},{"1329158676":["hashtag1","hashtag2"]},{"1329158655":["hashtag1","hashtag2"]},{"1329158674":["hashtag1","hashtag2"]},{"1329158671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329158679, 1329158673, 1329158676, 1329158655, 1329158674, 1329158671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55662727355957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:02:41.927980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/01/image_15012025_16_01_44_3038.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/01/image_15012025_16_01_44_3038.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158686"],"photo_id":"1329158686","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6096aa779589037e41979fc3f4ffde74.jpg","text":"TemporaryFile(/tmp/multipartBody5648861197272126683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953422445,"filename":"image_15012025_16_01_44_3038.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329158686"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329158686"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.659238576889038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:03:03.278057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_17_2654.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_21_3599.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_24_2729.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_26_2621.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_29_2861.jpg', '/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_35_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_17_2654.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_21_3599.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_24_2729.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_26_2621.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_29_2861.jpg
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_35_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158715","1329158706","1329158726","1329158711","1329158717","1329158722"],"photo_ids_order":["1329158706","1329158711","1329158715","1329158717","1329158722","1329158726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/85caad84341c58ea399d6959e6c2b72f.jpg","text":"TemporaryFile(/tmp/multipartBody274479964055167731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953444967,"filename":"image_10012025_14_25_24_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64fd22e26e94f87fb02561a4874f44e0.jpg","text":"TemporaryFile(/tmp/multipartBody688539768629038061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953444967,"filename":"image_10012025_14_25_17_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/592d61f5bb73f2241b47bde844428716.jpg","text":"TemporaryFile(/tmp/multipartBody6514697246296093758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953444967,"filename":"image_10012025_14_25_35_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7792708e4f022522e94c2071d3ecdee8.jpg","text":"TemporaryFile(/tmp/multipartBody1740526082216120447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953444967,"filename":"image_10012025_14_25_21_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d401df06b57b3f65a3d9124f30ee9fb.jpg","text":"TemporaryFile(/tmp/multipartBody6228301078638348027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953444967,"filename":"image_10012025_14_25_26_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48fb39857c338147a18ff1cc4d7e689c.jpg","text":"TemporaryFile(/tmp/multipartBody8146848027703840011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953444967,"filename":"image_10012025_14_25_29_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329158715","file1":"1329158711","file0":"1329158706","file4":"1329158722","file5":"1329158726","file3":"1329158717"},"map_files_photo_id_array":[{"photo_id":"1329158726","filename":"file5"},{"photo_id":"1329158715","filename":"file2"},{"photo_id":"1329158722","filename":"file4"},{"photo_id":"1329158711","filename":"file1"},{"photo_id":"1329158706","filename":"file0"},{"photo_id":"1329158717","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329158715":["hashtag1","hashtag2"]},{"1329158706":["hashtag1","hashtag2"]},{"1329158726":["hashtag1","hashtag2"]},{"1329158711":["hashtag1","hashtag2"]},{"1329158717":["hashtag1","hashtag2"]},{"1329158722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329158715, 1329158706, 1329158726, 1329158711, 1329158717, 1329158722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54351544380188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:03:42.527329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_51_2653.jpg', '/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_48_2706.jpg', '/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_03_2720.jpg', '/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_20_2753.jpg', '/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_13_2559.jpg', '/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_24_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/08/40/image_12012025_08_40_51_2653.jpg
/home/pi/Desktop/images/12012025/08/42/image_12012025_08_42_48_2706.jpg
/home/pi/Desktop/images/12012025/08/45/image_12012025_08_45_03_2720.jpg
/home/pi/Desktop/images/12012025/08/46/image_12012025_08_46_20_2753.jpg
/home/pi/Desktop/images/12012025/08/56/image_12012025_08_56_13_2559.jpg
/home/pi/Desktop/images/12012025/09/17/image_12012025_09_17_24_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158733","1329158742","1329158738","1329158735","1329158740","1329158746"],"photo_ids_order":["1329158733","1329158735","1329158738","1329158740","1329158742","1329158746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c066c9ff55979a34c3a365071ff3ebd.jpg","text":"TemporaryFile(/tmp/multipartBody8834790783234178822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953483386,"filename":"image_12012025_08_40_51_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/37a19387352af3b4fa60a5e23c9df81d.jpg","text":"TemporaryFile(/tmp/multipartBody5628764926466232923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953483386,"filename":"image_12012025_08_56_13_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f7732b1f7bdf3726bd8bcdc2ccf347ec.jpg","text":"TemporaryFile(/tmp/multipartBody6209349617107832994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953483386,"filename":"image_12012025_08_45_03_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3698590b7a83b99b462cd983eb0fbec.jpg","text":"TemporaryFile(/tmp/multipartBody8322022839204978802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953483386,"filename":"image_12012025_08_42_48_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b654a1f08b0f6c7ea70f8e2bf95f106c.jpg","text":"TemporaryFile(/tmp/multipartBody7637725164204442579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953483386,"filename":"image_12012025_08_46_20_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/109cd85545ded967cd89ff44031901e1.jpg","text":"TemporaryFile(/tmp/multipartBody2296478419500876464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953483386,"filename":"image_12012025_09_17_24_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329158738","file1":"1329158735","file0":"1329158733","file4":"1329158742","file5":"1329158746","file3":"1329158740"},"map_files_photo_id_array":[{"photo_id":"1329158746","filename":"file5"},{"photo_id":"1329158738","filename":"file2"},{"photo_id":"1329158742","filename":"file4"},{"photo_id":"1329158735","filename":"file1"},{"photo_id":"1329158733","filename":"file0"},{"photo_id":"1329158740","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329158733":["hashtag1","hashtag2"]},{"1329158742":["hashtag1","hashtag2"]},{"1329158738":["hashtag1","hashtag2"]},{"1329158735":["hashtag1","hashtag2"]},{"1329158740":["hashtag1","hashtag2"]},{"1329158746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329158733, 1329158742, 1329158738, 1329158735, 1329158740, 1329158746)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.079745292663574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:04:42.182579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/02/image_15012025_16_02_59_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/02/image_15012025_16_02_59_2529.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329158780"],"photo_id":"1329158780","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f0d8e18e643510f1a1b9501058d42f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7635152893655423885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953542725,"filename":"image_15012025_16_02_59_2529.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329158780"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329158780"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.97382402420044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:05:03.168707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:05:27.107311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_56_2640.jpg', '/home/pi/Desktop/images/10012025/14/26/image_10012025_14_26_17_2662.jpg', '/home/pi/Desktop/images/10012025/14/26/image_10012025_14_26_29_2632.jpg', '/home/pi/Desktop/images/10012025/14/26/image_10012025_14_26_42_2954.jpg', '/home/pi/Desktop/images/10012025/14/27/image_10012025_14_27_09_3670.jpg', '/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_08_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/25/image_10012025_14_25_56_2640.jpg
/home/pi/Desktop/images/10012025/14/26/image_10012025_14_26_17_2662.jpg
/home/pi/Desktop/images/10012025/14/26/image_10012025_14_26_29_2632.jpg
/home/pi/Desktop/images/10012025/14/26/image_10012025_14_26_42_2954.jpg
/home/pi/Desktop/images/10012025/14/27/image_10012025_14_27_09_3670.jpg
/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_08_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329159666","1329159650","1329159323","1329159582","1329159202","1329159663"],"photo_ids_order":["1329159202","1329159323","1329159582","1329159650","1329159663","1329159666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59bc355123fabd6673ea62f9e83434ba.jpg","text":"TemporaryFile(/tmp/multipartBody5998430821985933650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953590062,"filename":"image_10012025_14_28_08_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bc82081ed4119d9f5d9b0c4b991fcd2c.jpg","text":"TemporaryFile(/tmp/multipartBody6083623859051032335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953590062,"filename":"image_10012025_14_26_42_2954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05be14af2c9f5b25da20851f2ed34277.jpg","text":"TemporaryFile(/tmp/multipartBody1859895962279286234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953590062,"filename":"image_10012025_14_26_17_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1bf94ec298d2d9b16b88230301c9e594.jpg","text":"TemporaryFile(/tmp/multipartBody6086573794177446733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953590062,"filename":"image_10012025_14_26_29_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8d70e943eb5fd6481c9187c85d96dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1919052313534195079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953590062,"filename":"image_10012025_14_25_56_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be24df48b46a0843a9016b8788ce5e21.jpg","text":"TemporaryFile(/tmp/multipartBody3338258261661334921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953590062,"filename":"image_10012025_14_27_09_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329159582","file1":"1329159323","file0":"1329159202","file4":"1329159663","file5":"1329159666","file3":"1329159650"},"map_files_photo_id_array":[{"photo_id":"1329159666","filename":"file5"},{"photo_id":"1329159582","filename":"file2"},{"photo_id":"1329159663","filename":"file4"},{"photo_id":"1329159323","filename":"file1"},{"photo_id":"1329159202","filename":"file0"},{"photo_id":"1329159650","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329159666":["hashtag1","hashtag2"]},{"1329159650":["hashtag1","hashtag2"]},{"1329159323":["hashtag1","hashtag2"]},{"1329159582":["hashtag1","hashtag2"]},{"1329159202":["hashtag1","hashtag2"]},{"1329159663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329159666, 1329159650, 1329159323, 1329159582, 1329159202, 1329159663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.25010347366333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:06:22.574627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/04/image_15012025_16_04_02_2685.jpg', '/home/pi/Desktop/images/15012025/16/05/image_15012025_16_05_38_9238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/04/image_15012025_16_04_02_2685.jpg
/home/pi/Desktop/images/15012025/16/05/image_15012025_16_05_38_9238.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329159680","1329159681"],"photo_ids_order":["1329159680","1329159681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e353d881768b4fdef8c7a0df8300c3ca.jpg","text":"TemporaryFile(/tmp/multipartBody13041040890783386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953643116,"filename":"image_15012025_16_04_02_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4359af68dab3ae2899f564d841d0c559.jpg","text":"TemporaryFile(/tmp/multipartBody6513687652861291306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953643116,"filename":"image_15012025_16_05_38_9238.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329159681","file0":"1329159680"},"map_files_photo_id_array":[{"photo_id":"1329159681","filename":"file1"},{"photo_id":"1329159680","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329159680":["hashtag1","hashtag2"]},{"1329159681":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329159680, 1329159681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.532889366149902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:06:42.578881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_39_2671.jpg', '/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_08_2683.jpg', '/home/pi/Desktop/images/12012025/09/32/image_12012025_09_32_17_2682.jpg', '/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_11_2803.jpg', '/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_59_3650.jpg', '/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_16_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/09/23/image_12012025_09_23_39_2671.jpg
/home/pi/Desktop/images/12012025/09/31/image_12012025_09_31_08_2683.jpg
/home/pi/Desktop/images/12012025/09/32/image_12012025_09_32_17_2682.jpg
/home/pi/Desktop/images/12012025/09/33/image_12012025_09_33_11_2803.jpg
/home/pi/Desktop/images/12012025/09/35/image_12012025_09_35_59_3650.jpg
/home/pi/Desktop/images/12012025/09/40/image_12012025_09_40_16_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329159708","1329159705","1329159821","1329159701","1329159691","1329159696"],"photo_ids_order":["1329159691","1329159696","1329159701","1329159705","1329159708","1329159821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d917f8b97bee7ba7f7f38df37a0427e6.jpg","text":"TemporaryFile(/tmp/multipartBody2151845141902214758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953663522,"filename":"image_12012025_09_35_59_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d538d40aa0be5a7aef0f0ea5897cd389.jpg","text":"TemporaryFile(/tmp/multipartBody7403906956710226667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953663522,"filename":"image_12012025_09_33_11_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5954f3405014aee0baa8915136319b4e.jpg","text":"TemporaryFile(/tmp/multipartBody7092408341254983548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953663522,"filename":"image_12012025_09_40_16_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ce4dd0ff5660c8124bbe21fbf39ea14.jpg","text":"TemporaryFile(/tmp/multipartBody6734036219628174754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953663522,"filename":"image_12012025_09_32_17_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1def6411f0f6098ff188839bd8609fec.jpg","text":"TemporaryFile(/tmp/multipartBody8553233670554981462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953663522,"filename":"image_12012025_09_23_39_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24cb7495ef465a4e45948ee6d73919e8.jpg","text":"TemporaryFile(/tmp/multipartBody7525316269193764761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953663522,"filename":"image_12012025_09_31_08_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329159701","file1":"1329159696","file0":"1329159691","file4":"1329159708","file5":"1329159821","file3":"1329159705"},"map_files_photo_id_array":[{"photo_id":"1329159821","filename":"file5"},{"photo_id":"1329159701","filename":"file2"},{"photo_id":"1329159708","filename":"file4"},{"photo_id":"1329159696","filename":"file1"},{"photo_id":"1329159691","filename":"file0"},{"photo_id":"1329159705","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329159708":["hashtag1","hashtag2"]},{"1329159705":["hashtag1","hashtag2"]},{"1329159821":["hashtag1","hashtag2"]},{"1329159701":["hashtag1","hashtag2"]},{"1329159691":["hashtag1","hashtag2"]},{"1329159696":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329159708, 1329159705, 1329159821, 1329159701, 1329159691, 1329159696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.402562618255615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:07:42.167198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/06/image_15012025_16_06_35_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/06/image_15012025_16_06_35_1648.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160148"],"photo_id":"1329160148","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/804f94ce1ed75000e14079dedbbe83d8.jpg","text":"TemporaryFile(/tmp/multipartBody5408743218287053331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953722684,"filename":"image_15012025_16_06_35_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329160148"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329160148"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.548930406570435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:08:02.664412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_14_3693.jpg', '/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_17_2706.jpg', '/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_20_2560.jpg', '/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_23_3663.jpg', '/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_30_3642.jpg', '/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_35_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_14_3693.jpg
/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_17_2706.jpg
/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_20_2560.jpg
/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_23_3663.jpg
/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_30_3642.jpg
/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_35_2559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160234","1329160239","1329160229","1329160237","1329160231","1329160225"],"photo_ids_order":["1329160225","1329160229","1329160231","1329160234","1329160237","1329160239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3aadeb286563ddad13bfc58c6806e1c6.jpg","text":"TemporaryFile(/tmp/multipartBody7782115107191313364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953744335,"filename":"image_10012025_14_28_23_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f48b33054b9ad5e21f0566e44c0c027.jpg","text":"TemporaryFile(/tmp/multipartBody7816349025006131254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953744335,"filename":"image_10012025_14_28_35_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/66c2788110c90ed8c36b0a5a9bcfc696.jpg","text":"TemporaryFile(/tmp/multipartBody2033795417514349921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953744335,"filename":"image_10012025_14_28_17_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/567775df12285a81b462f26ade48196a.jpg","text":"TemporaryFile(/tmp/multipartBody4809443424539269114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953744335,"filename":"image_10012025_14_28_30_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8fac762435cf2066acb709207be9d5bb.jpg","text":"TemporaryFile(/tmp/multipartBody911527669802019311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953744335,"filename":"image_10012025_14_28_20_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/963716359fadfcf6926941696bba6e6a.jpg","text":"TemporaryFile(/tmp/multipartBody5707956916995584353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953744335,"filename":"image_10012025_14_28_14_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329160231","file1":"1329160229","file0":"1329160225","file4":"1329160237","file5":"1329160239","file3":"1329160234"},"map_files_photo_id_array":[{"photo_id":"1329160239","filename":"file5"},{"photo_id":"1329160231","filename":"file2"},{"photo_id":"1329160237","filename":"file4"},{"photo_id":"1329160229","filename":"file1"},{"photo_id":"1329160225","filename":"file0"},{"photo_id":"1329160234","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329160234":["hashtag1","hashtag2"]},{"1329160239":["hashtag1","hashtag2"]},{"1329160229":["hashtag1","hashtag2"]},{"1329160237":["hashtag1","hashtag2"]},{"1329160231":["hashtag1","hashtag2"]},{"1329160225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329160234, 1329160239, 1329160229, 1329160237, 1329160231, 1329160225)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.5632541179657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:09:03.421727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/07/image_15012025_16_07_34_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/07/image_15012025_16_07_34_2723.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160259"],"photo_id":"1329160259","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/343468106646bb094b9958369621a75c.jpg","text":"TemporaryFile(/tmp/multipartBody957942445587144593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953804030,"filename":"image_15012025_16_07_34_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329160259"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329160259"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.204129219055176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:09:22.681303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/08/image_15012025_16_08_49_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/08/image_15012025_16_08_49_3568.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.44007134437561035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:09:42.633088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/08/image_15012025_16_08_49_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/08/image_15012025_16_08_49_3568.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160459"],"photo_id":"1329160459","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb24ee36e4c90ae6a61e54ec611351ba.jpg","text":"TemporaryFile(/tmp/multipartBody225252135857383602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953843167,"filename":"image_15012025_16_08_49_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329160459"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329160459"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.728959560394287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:10:06.693260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_41_2653.jpg', '/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_44_2788.jpg', '/home/pi/Desktop/images/10012025/14/29/image_10012025_14_29_23_2697.jpg', '/home/pi/Desktop/images/10012025/14/29/image_10012025_14_29_35_2820.jpg', '/home/pi/Desktop/images/10012025/14/29/image_10012025_14_29_56_3802.jpg', '/home/pi/Desktop/images/10012025/14/29/image_10012025_14_29_59_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_41_2653.jpg
/home/pi/Desktop/images/10012025/14/28/image_10012025_14_28_44_2788.jpg
/home/pi/Desktop/images/10012025/14/29/image_10012025_14_29_23_2697.jpg
/home/pi/Desktop/images/10012025/14/29/image_10012025_14_29_35_2820.jpg
/home/pi/Desktop/images/10012025/14/29/image_10012025_14_29_56_3802.jpg
/home/pi/Desktop/images/10012025/14/29/image_10012025_14_29_59_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160497","1329160506","1329160499","1329160493","1329160502","1329160495"],"photo_ids_order":["1329160493","1329160495","1329160497","1329160499","1329160502","1329160506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/434a0c5b5cb44e6c3b9207d034f6c3c3.jpg","text":"TemporaryFile(/tmp/multipartBody1428919265085851017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953869805,"filename":"image_10012025_14_29_23_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/71a05167f561d9c92987df10431c377e.jpg","text":"TemporaryFile(/tmp/multipartBody3137464882261252140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953869805,"filename":"image_10012025_14_29_59_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ed5d1c54c92ea9f09280cb2856409905.jpg","text":"TemporaryFile(/tmp/multipartBody7507111640804252606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953869805,"filename":"image_10012025_14_29_35_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/45c7e05d8774ee7355ded98026cbffd2.jpg","text":"TemporaryFile(/tmp/multipartBody1369585672193158956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953869805,"filename":"image_10012025_14_28_41_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2482d64b42b122c5e20c5d4cf8d3e237.jpg","text":"TemporaryFile(/tmp/multipartBody8808686725345580032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953869805,"filename":"image_10012025_14_29_56_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/774cfaae03638785383651c71eee9831.jpg","text":"TemporaryFile(/tmp/multipartBody1912022773555875165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953869805,"filename":"image_10012025_14_28_44_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329160497","file1":"1329160495","file0":"1329160493","file4":"1329160502","file5":"1329160506","file3":"1329160499"},"map_files_photo_id_array":[{"photo_id":"1329160506","filename":"file5"},{"photo_id":"1329160497","filename":"file2"},{"photo_id":"1329160502","filename":"file4"},{"photo_id":"1329160495","filename":"file1"},{"photo_id":"1329160493","filename":"file0"},{"photo_id":"1329160499","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329160497":["hashtag1","hashtag2"]},{"1329160506":["hashtag1","hashtag2"]},{"1329160499":["hashtag1","hashtag2"]},{"1329160493":["hashtag1","hashtag2"]},{"1329160502":["hashtag1","hashtag2"]},{"1329160495":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329160497, 1329160506, 1329160499, 1329160493, 1329160502, 1329160495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.327783823013306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:11:03.124571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:11:23.734295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/09/image_15012025_16_09_46_5797.jpg', '/home/pi/Desktop/images/15012025/16/11/image_15012025_16_11_11_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/09/image_15012025_16_09_46_5797.jpg
/home/pi/Desktop/images/15012025/16/11/image_15012025_16_11_11_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160546","1329160534"],"photo_ids_order":["1329160534","1329160546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/43bed122c3eea81060e4a4c6574bbff4.jpg","text":"TemporaryFile(/tmp/multipartBody1856846583800156631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953948460,"filename":"image_15012025_16_11_11_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/109797edea108874dc166aabf178c021.jpg","text":"TemporaryFile(/tmp/multipartBody4940703787119530719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736953948460,"filename":"image_15012025_16_09_46_5797.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329160546","file0":"1329160534"},"map_files_photo_id_array":[{"photo_id":"1329160546","filename":"file1"},{"photo_id":"1329160534","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329160546":["hashtag1","hashtag2"]},{"1329160534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329160546, 1329160534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 34.861714601516724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:12:10.192251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 291, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:12:27.445846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_07_3011.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_11_3695.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_26_2860.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_29_2730.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_32_3783.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_35_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_07_3011.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_11_3695.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_26_2860.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_29_2730.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_32_3783.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_35_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160644","1329160638","1329160647","1329160632","1329160640","1329160634"],"photo_ids_order":["1329160632","1329160634","1329160638","1329160640","1329160644","1329160647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c1228c2ee16991eb20f1c3c0b1e60cf2.jpg","text":"TemporaryFile(/tmp/multipartBody302314369508419349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954009823,"filename":"image_10012025_14_30_32_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28c316be61dc20b36c476eacba1dcf88.jpg","text":"TemporaryFile(/tmp/multipartBody8247833490420933016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954009823,"filename":"image_10012025_14_30_26_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/39ad68f584877add2a90b381d497b266.jpg","text":"TemporaryFile(/tmp/multipartBody5693416067243364968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954009823,"filename":"image_10012025_14_30_35_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3df5dc3b46fd07fafecbd0f3fb5f945.jpg","text":"TemporaryFile(/tmp/multipartBody5555534591782060480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954009823,"filename":"image_10012025_14_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d128421d060f5168eaad263ceb90731.jpg","text":"TemporaryFile(/tmp/multipartBody3308168404505876328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954009823,"filename":"image_10012025_14_30_29_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8bdc350717b7bdc52b97443cfe8d78d2.jpg","text":"TemporaryFile(/tmp/multipartBody4499389222944900591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954009823,"filename":"image_10012025_14_30_11_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329160638","file1":"1329160634","file0":"1329160632","file4":"1329160644","file5":"1329160647","file3":"1329160640"},"map_files_photo_id_array":[{"photo_id":"1329160647","filename":"file5"},{"photo_id":"1329160638","filename":"file2"},{"photo_id":"1329160644","filename":"file4"},{"photo_id":"1329160634","filename":"file1"},{"photo_id":"1329160632","filename":"file0"},{"photo_id":"1329160640","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329160644":["hashtag1","hashtag2"]},{"1329160638":["hashtag1","hashtag2"]},{"1329160647":["hashtag1","hashtag2"]},{"1329160632":["hashtag1","hashtag2"]},{"1329160640":["hashtag1","hashtag2"]},{"1329160634":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329160644, 1329160638, 1329160647, 1329160632, 1329160640, 1329160634)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1329160638 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_26_2860.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1329160638 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_26_2860.jpg";
uploaded 6 photos
time to upload: 60.90208315849304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:13:43.965527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/11/image_15012025_16_11_50_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/11/image_15012025_16_11_50_3704.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160770"],"photo_id":"1329160770","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80e002b94712040e695527378f444098.jpg","text":"TemporaryFile(/tmp/multipartBody7852249273726036154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954084482,"filename":"image_15012025_16_11_50_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329160770"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329160770"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.578221797943115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:14:03.262546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_07_3011.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_11_3695.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_26_2860.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_29_2730.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_32_3783.jpg', '/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_35_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_07_3011.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_11_3695.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_26_2860.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_29_2730.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_32_3783.jpg
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_35_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160799","1329160793","1329160787","1329160853","1329160856","1329160861"],"photo_ids_order":["1329160787","1329160793","1329160799","1329160853","1329160856","1329160861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0ec2d53d269da7d896b59c0f72b9b1b.jpg","text":"TemporaryFile(/tmp/multipartBody5006131153788145309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954104807,"filename":"image_10012025_14_30_26_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14b589caa25d573bf26b0a2a466a8c86.jpg","text":"TemporaryFile(/tmp/multipartBody6102684040054123980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954104807,"filename":"image_10012025_14_30_11_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5854859e9844cb1acf24169a7695bd4e.jpg","text":"TemporaryFile(/tmp/multipartBody4929824688048085411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954104807,"filename":"image_10012025_14_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0903d397abfacb094e8186025663e191.jpg","text":"TemporaryFile(/tmp/multipartBody7496981429960239186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954104807,"filename":"image_10012025_14_30_29_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/55810abdefa20a35b8ab49334f0b6fd3.jpg","text":"TemporaryFile(/tmp/multipartBody639444133444454006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954104807,"filename":"image_10012025_14_30_32_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d5deaf5262e1650d770541a710340be.jpg","text":"TemporaryFile(/tmp/multipartBody8298130186539423473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954104807,"filename":"image_10012025_14_30_35_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329160799","file1":"1329160793","file0":"1329160787","file4":"1329160856","file5":"1329160861","file3":"1329160853"},"map_files_photo_id_array":[{"photo_id":"1329160861","filename":"file5"},{"photo_id":"1329160799","filename":"file2"},{"photo_id":"1329160856","filename":"file4"},{"photo_id":"1329160793","filename":"file1"},{"photo_id":"1329160787","filename":"file0"},{"photo_id":"1329160853","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329160799":["hashtag1","hashtag2"]},{"1329160793":["hashtag1","hashtag2"]},{"1329160787":["hashtag1","hashtag2"]},{"1329160853":["hashtag1","hashtag2"]},{"1329160856":["hashtag1","hashtag2"]},{"1329160861":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329160799, 1329160793, 1329160787, 1329160853, 1329160856, 1329160861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.702330589294434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:15:03.025496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/13/image_15012025_16_13_13_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/13/image_15012025_16_13_13_1617.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160906"],"photo_id":"1329160906","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b7d023884b72492ac6dc43cd89e971b.jpg","text":"TemporaryFile(/tmp/multipartBody4901774846190874045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954163689,"filename":"image_15012025_16_13_13_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329160906"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329160906"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.401081562042236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:15:22.368807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/14/image_15012025_16_14_11_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/14/image_15012025_16_14_11_2800.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329160914"],"photo_id":"1329160914","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c21f320f1f926beb58f559dd3d564735.jpg","text":"TemporaryFile(/tmp/multipartBody6276386200402501399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954182892,"filename":"image_15012025_16_14_11_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329160914"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329160914"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.241734981536865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:15:42.324214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_54_2762.jpg', '/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_40_3636.jpg', '/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_36_3692.jpg', '/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_33_2619.jpg', '/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_15_3612.jpg', '/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_55_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/09/48/image_12012025_09_48_54_2762.jpg
/home/pi/Desktop/images/12012025/09/49/image_12012025_09_49_40_3636.jpg
/home/pi/Desktop/images/12012025/09/52/image_12012025_09_52_36_3692.jpg
/home/pi/Desktop/images/12012025/09/54/image_12012025_09_54_33_2619.jpg
/home/pi/Desktop/images/12012025/09/58/image_12012025_09_58_15_3612.jpg
/home/pi/Desktop/images/12012025/10/02/image_12012025_10_02_55_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161148","1329161076","1329161058","1329160926","1329160990","1329161140"],"photo_ids_order":["1329160926","1329160990","1329161058","1329161076","1329161140","1329161148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac83a079baed866dbcab8ac01aa93108.jpg","text":"TemporaryFile(/tmp/multipartBody954048015078324584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954203257,"filename":"image_12012025_10_02_55_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9471c6984b046e6c8845bf4395c7567c.jpg","text":"TemporaryFile(/tmp/multipartBody2066175021553121350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954203257,"filename":"image_12012025_09_54_33_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87cff9ff3a5753cd62d403c9638ae3fa.jpg","text":"TemporaryFile(/tmp/multipartBody1545445333610680439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954203257,"filename":"image_12012025_09_52_36_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b9fa3c2219adf854914bb6630571b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4276238817667050798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954203257,"filename":"image_12012025_09_48_54_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/560821b5226ee5dd5db532b1625928bf.jpg","text":"TemporaryFile(/tmp/multipartBody3024859991774612344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954203257,"filename":"image_12012025_09_49_40_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/116102c97ef6090f17098656652d1fc9.jpg","text":"TemporaryFile(/tmp/multipartBody1041681354923407604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954203257,"filename":"image_12012025_09_58_15_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329161058","file1":"1329160990","file0":"1329160926","file4":"1329161140","file5":"1329161148","file3":"1329161076"},"map_files_photo_id_array":[{"photo_id":"1329161148","filename":"file5"},{"photo_id":"1329161058","filename":"file2"},{"photo_id":"1329161140","filename":"file4"},{"photo_id":"1329160990","filename":"file1"},{"photo_id":"1329160926","filename":"file0"},{"photo_id":"1329161076","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329161148":["hashtag1","hashtag2"]},{"1329161076":["hashtag1","hashtag2"]},{"1329161058":["hashtag1","hashtag2"]},{"1329160926":["hashtag1","hashtag2"]},{"1329160990":["hashtag1","hashtag2"]},{"1329161140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329161148, 1329161076, 1329161058, 1329160926, 1329160990, 1329161140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80664873123169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:16:21.891662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/15/image_15012025_16_15_11_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/15/image_15012025_16_15_11_3775.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161200"],"photo_id":"1329161200","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59e66a0640564118dbf6c37ce8979558.jpg","text":"TemporaryFile(/tmp/multipartBody7579508015895689569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954242407,"filename":"image_15012025_16_15_11_3775.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329161200"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329161200"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.981774806976318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:16:41.876532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_43_2643.jpg', '/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_34_2629.jpg', '/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_28_2788.jpg', '/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_49_2705.jpg', '/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_01_2699.jpg', '/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_49_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_43_2643.jpg
/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_34_2629.jpg
/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_28_2788.jpg
/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_49_2705.jpg
/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_01_2699.jpg
/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_49_2600.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.874744176864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:17:02.979831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_41_3657.jpg', '/home/pi/Desktop/images/10012025/14/31/image_10012025_14_31_38_2682.jpg', '/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_29_2529.jpg', '/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_34_2781.jpg', '/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_41_2765.jpg', '/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_44_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/30/image_10012025_14_30_41_3657.jpg
/home/pi/Desktop/images/10012025/14/31/image_10012025_14_31_38_2682.jpg
/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_29_2529.jpg
/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_34_2781.jpg
/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_41_2765.jpg
/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_44_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161271","1329161264","1329161258","1329161266","1329161269","1329161262"],"photo_ids_order":["1329161258","1329161262","1329161264","1329161266","1329161269","1329161271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8e661f28a8efb34a1bfd1a3d140e6270.jpg","text":"TemporaryFile(/tmp/multipartBody4340764825981622930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954284638,"filename":"image_10012025_14_32_44_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4b6f99b95922397b8ae3283f410d411d.jpg","text":"TemporaryFile(/tmp/multipartBody5771675951279754236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954284638,"filename":"image_10012025_14_32_29_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da9f93841ae00460fb7bef4d9767d505.jpg","text":"TemporaryFile(/tmp/multipartBody8949292705903715164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954284638,"filename":"image_10012025_14_30_41_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a2846d4f61ac8348c703075eee227a75.jpg","text":"TemporaryFile(/tmp/multipartBody3068997275278376404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954284638,"filename":"image_10012025_14_32_34_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a8ba7a8105e508ce8ab61a078ab9e8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1486170215725838373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954284638,"filename":"image_10012025_14_32_41_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0d8f196140bc809ba2b298461c9834bb.jpg","text":"TemporaryFile(/tmp/multipartBody4497920030651375618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954284638,"filename":"image_10012025_14_31_38_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329161264","file1":"1329161262","file0":"1329161258","file4":"1329161269","file5":"1329161271","file3":"1329161266"},"map_files_photo_id_array":[{"photo_id":"1329161271","filename":"file5"},{"photo_id":"1329161264","filename":"file2"},{"photo_id":"1329161269","filename":"file4"},{"photo_id":"1329161262","filename":"file1"},{"photo_id":"1329161258","filename":"file0"},{"photo_id":"1329161266","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329161271":["hashtag1","hashtag2"]},{"1329161264":["hashtag1","hashtag2"]},{"1329161258":["hashtag1","hashtag2"]},{"1329161266":["hashtag1","hashtag2"]},{"1329161269":["hashtag1","hashtag2"]},{"1329161262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329161271, 1329161264, 1329161258, 1329161266, 1329161269, 1329161262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61854124069214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:17:42.268033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/16/image_15012025_16_16_07_2541.jpg', '/home/pi/Desktop/images/15012025/16/17/image_15012025_16_17_01_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/16/image_15012025_16_16_07_2541.jpg
/home/pi/Desktop/images/15012025/16/17/image_15012025_16_17_01_2598.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161285","1329161280"],"photo_ids_order":["1329161280","1329161285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21128f7156d235c7ec4d4f6fccb3127d.jpg","text":"TemporaryFile(/tmp/multipartBody7117755217932949709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954322816,"filename":"image_15012025_16_17_01_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/34a73a86da7373b3f08b3da6dbc581b1.jpg","text":"TemporaryFile(/tmp/multipartBody6421188942934069692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954322816,"filename":"image_15012025_16_16_07_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329161285","file0":"1329161280"},"map_files_photo_id_array":[{"photo_id":"1329161285","filename":"file1"},{"photo_id":"1329161280","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329161285":["hashtag1","hashtag2"]},{"1329161280":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329161285, 1329161280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.119015216827393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:18:02.500247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_46_2678.jpg', '/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_53_2811.jpg', '/home/pi/Desktop/images/10012025/14/33/image_10012025_14_33_07_2701.jpg', '/home/pi/Desktop/images/10012025/14/33/image_10012025_14_33_55_2814.jpg', '/home/pi/Desktop/images/10012025/14/34/image_10012025_14_34_32_2730.jpg', '/home/pi/Desktop/images/10012025/14/34/image_10012025_14_34_59_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_46_2678.jpg
/home/pi/Desktop/images/10012025/14/32/image_10012025_14_32_53_2811.jpg
/home/pi/Desktop/images/10012025/14/33/image_10012025_14_33_07_2701.jpg
/home/pi/Desktop/images/10012025/14/33/image_10012025_14_33_55_2814.jpg
/home/pi/Desktop/images/10012025/14/34/image_10012025_14_34_32_2730.jpg
/home/pi/Desktop/images/10012025/14/34/image_10012025_14_34_59_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161385","1329161343","1329161406","1329161399","1329161339","1329161326"],"photo_ids_order":["1329161326","1329161339","1329161343","1329161385","1329161399","1329161406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/86101ade46ef26cf8952562c23b846d3.jpg","text":"TemporaryFile(/tmp/multipartBody756303063753165698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954344102,"filename":"image_10012025_14_33_55_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eef79e80b06eb4e0f1480c5158b295bc.jpg","text":"TemporaryFile(/tmp/multipartBody8189416916935512390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954344102,"filename":"image_10012025_14_33_07_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/108a7f97beaae44210b773835e39eab6.jpg","text":"TemporaryFile(/tmp/multipartBody8484080402200005514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954344102,"filename":"image_10012025_14_34_59_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ddb3c5979c3f3488e2b6e32f22e8349d.jpg","text":"TemporaryFile(/tmp/multipartBody1974383515153041675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954344102,"filename":"image_10012025_14_34_32_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/50883b10f64ec8ecd4d672f647b5bd86.jpg","text":"TemporaryFile(/tmp/multipartBody8736956903634357767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954344102,"filename":"image_10012025_14_32_53_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1426903c3c348fbb6307fe3f5096f829.jpg","text":"TemporaryFile(/tmp/multipartBody6172660448535791525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954344102,"filename":"image_10012025_14_32_46_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329161343","file1":"1329161339","file0":"1329161326","file4":"1329161399","file5":"1329161406","file3":"1329161385"},"map_files_photo_id_array":[{"photo_id":"1329161406","filename":"file5"},{"photo_id":"1329161343","filename":"file2"},{"photo_id":"1329161399","filename":"file4"},{"photo_id":"1329161339","filename":"file1"},{"photo_id":"1329161326","filename":"file0"},{"photo_id":"1329161385","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329161385":["hashtag1","hashtag2"]},{"1329161343":["hashtag1","hashtag2"]},{"1329161406":["hashtag1","hashtag2"]},{"1329161399":["hashtag1","hashtag2"]},{"1329161339":["hashtag1","hashtag2"]},{"1329161326":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329161385, 1329161343, 1329161406, 1329161399, 1329161339, 1329161326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35449719429016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:18:41.871849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/17/image_15012025_16_17_37_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/17/image_15012025_16_17_37_2626.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161433"],"photo_id":"1329161433","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52b43203710c116378b3f6e47a29f071.jpg","text":"TemporaryFile(/tmp/multipartBody2869069076687803063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954382391,"filename":"image_15012025_16_17_37_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329161433"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329161433"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.843316316604614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:19:03.436943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/35/image_10012025_14_35_59_3684.jpg', '/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_04_2694.jpg', '/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_08_3661.jpg', '/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_11_2691.jpg', '/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_13_2619.jpg', '/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_17_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/35/image_10012025_14_35_59_3684.jpg
/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_04_2694.jpg
/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_08_3661.jpg
/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_11_2691.jpg
/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_13_2619.jpg
/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_17_3603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161466","1329161477","1329161482","1329161476","1329161464","1329161481"],"photo_ids_order":["1329161464","1329161466","1329161476","1329161477","1329161481","1329161482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8b42929f7aaa537ce318d3dccf2bba9.jpg","text":"TemporaryFile(/tmp/multipartBody3882015240938024677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954405399,"filename":"image_10012025_14_36_04_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be5eb79207573f1a9c0e12e70ea227aa.jpg","text":"TemporaryFile(/tmp/multipartBody7151551294044838146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954405399,"filename":"image_10012025_14_36_11_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31909c844ac1596a92ccde1307324da6.jpg","text":"TemporaryFile(/tmp/multipartBody1911150006424144660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954405399,"filename":"image_10012025_14_36_17_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4a374048f44c561f5b1a6f6a2c2b7996.jpg","text":"TemporaryFile(/tmp/multipartBody4366886458379848712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954405399,"filename":"image_10012025_14_36_08_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e88701e2bc42331fd1e414d73d87d609.jpg","text":"TemporaryFile(/tmp/multipartBody7281297258092748502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954405399,"filename":"image_10012025_14_35_59_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40537fb805f357c174525bd569bd75b4.jpg","text":"TemporaryFile(/tmp/multipartBody533689984007521005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954405399,"filename":"image_10012025_14_36_13_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329161476","file1":"1329161466","file0":"1329161464","file4":"1329161481","file5":"1329161482","file3":"1329161477"},"map_files_photo_id_array":[{"photo_id":"1329161482","filename":"file5"},{"photo_id":"1329161476","filename":"file2"},{"photo_id":"1329161481","filename":"file4"},{"photo_id":"1329161466","filename":"file1"},{"photo_id":"1329161464","filename":"file0"},{"photo_id":"1329161477","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329161466":["hashtag1","hashtag2"]},{"1329161477":["hashtag1","hashtag2"]},{"1329161482":["hashtag1","hashtag2"]},{"1329161476":["hashtag1","hashtag2"]},{"1329161464":["hashtag1","hashtag2"]},{"1329161481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329161466, 1329161477, 1329161482, 1329161476, 1329161464, 1329161481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30540752410889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:19:42.532090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/18/image_15012025_16_18_47_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/18/image_15012025_16_18_47_3674.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161608"],"photo_id":"1329161608","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/965f6f51a530e35535cb23a63b645f50.jpg","text":"TemporaryFile(/tmp/multipartBody1624415442636632222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954443060,"filename":"image_15012025_16_18_47_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329161608"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329161608"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.982697248458862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:20:02.558051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_20_2736.jpg', '/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_22_2588.jpg', '/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_52_2658.jpg', '/home/pi/Desktop/images/10012025/14/37/image_10012025_14_37_43_2680.jpg', '/home/pi/Desktop/images/10012025/14/37/image_10012025_14_37_53_3839.jpg', '/home/pi/Desktop/images/10012025/14/38/image_10012025_14_38_11_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_20_2736.jpg
/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_22_2588.jpg
/home/pi/Desktop/images/10012025/14/36/image_10012025_14_36_52_2658.jpg
/home/pi/Desktop/images/10012025/14/37/image_10012025_14_37_43_2680.jpg
/home/pi/Desktop/images/10012025/14/37/image_10012025_14_37_53_3839.jpg
/home/pi/Desktop/images/10012025/14/38/image_10012025_14_38_11_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161655","1329161633","1329161644","1329161638","1329161653","1329161647"],"photo_ids_order":["1329161633","1329161638","1329161644","1329161647","1329161653","1329161655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0768593e14abbc5167127e534e865b45.jpg","text":"TemporaryFile(/tmp/multipartBody4475569487881775630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954464149,"filename":"image_10012025_14_38_11_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cad1f4c9e8fa26851af8a0a8009b1b41.jpg","text":"TemporaryFile(/tmp/multipartBody8083905319008524626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954464149,"filename":"image_10012025_14_36_20_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/622aa6081387b7158225808b8ea9de47.jpg","text":"TemporaryFile(/tmp/multipartBody8131129792653009788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954464149,"filename":"image_10012025_14_36_52_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8fff95846250b54dd558b58ebc87d23.jpg","text":"TemporaryFile(/tmp/multipartBody1164993545014232771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954464149,"filename":"image_10012025_14_36_22_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b50c2774bc7c60fc2b2cd7418ae7c6e1.jpg","text":"TemporaryFile(/tmp/multipartBody3063822153671427726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954464149,"filename":"image_10012025_14_37_53_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c54f1059447954963316f66279944132.jpg","text":"TemporaryFile(/tmp/multipartBody6115321151622977984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954464149,"filename":"image_10012025_14_37_43_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329161644","file1":"1329161638","file0":"1329161633","file4":"1329161653","file5":"1329161655","file3":"1329161647"},"map_files_photo_id_array":[{"photo_id":"1329161655","filename":"file5"},{"photo_id":"1329161644","filename":"file2"},{"photo_id":"1329161653","filename":"file4"},{"photo_id":"1329161638","filename":"file1"},{"photo_id":"1329161633","filename":"file0"},{"photo_id":"1329161647","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329161655":["hashtag1","hashtag2"]},{"1329161633":["hashtag1","hashtag2"]},{"1329161644":["hashtag1","hashtag2"]},{"1329161638":["hashtag1","hashtag2"]},{"1329161653":["hashtag1","hashtag2"]},{"1329161647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329161655, 1329161633, 1329161644, 1329161638, 1329161653, 1329161647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.720813035964966 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:21:02.794340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/19/image_15012025_16_19_47_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/19/image_15012025_16_19_47_3534.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161716"],"photo_id":"1329161716","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf5a481f0ad8a1865a1b13cb9c507d55.jpg","text":"TemporaryFile(/tmp/multipartBody1863449080680047532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954523393,"filename":"image_15012025_16_19_47_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329161716"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329161716"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.677693128585815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:21:22.121233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/38/image_10012025_14_38_13_2748.jpg', '/home/pi/Desktop/images/10012025/14/38/image_10012025_14_38_16_2756.jpg', '/home/pi/Desktop/images/10012025/14/39/image_10012025_14_39_43_2797.jpg', '/home/pi/Desktop/images/10012025/14/40/image_10012025_14_40_28_2616.jpg', '/home/pi/Desktop/images/10012025/14/40/image_10012025_14_40_37_2907.jpg', '/home/pi/Desktop/images/10012025/14/41/image_10012025_14_41_52_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/38/image_10012025_14_38_13_2748.jpg
/home/pi/Desktop/images/10012025/14/38/image_10012025_14_38_16_2756.jpg
/home/pi/Desktop/images/10012025/14/39/image_10012025_14_39_43_2797.jpg
/home/pi/Desktop/images/10012025/14/40/image_10012025_14_40_28_2616.jpg
/home/pi/Desktop/images/10012025/14/40/image_10012025_14_40_37_2907.jpg
/home/pi/Desktop/images/10012025/14/41/image_10012025_14_41_52_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161727","1329161736","1329161730","1329161747","1329161741","1329161725"],"photo_ids_order":["1329161725","1329161727","1329161730","1329161736","1329161741","1329161747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1473613934fc285b1468c63132538913.jpg","text":"TemporaryFile(/tmp/multipartBody409604427216221672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954544304,"filename":"image_10012025_14_38_16_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/775a13e865b7f8df99092818bd7226f9.jpg","text":"TemporaryFile(/tmp/multipartBody7802740517923967132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954544304,"filename":"image_10012025_14_40_28_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59704cf81ad184e4e913d84d62408668.jpg","text":"TemporaryFile(/tmp/multipartBody8699784005719856195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954544304,"filename":"image_10012025_14_39_43_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5d093b42e70c54bf12e31478d63566c1.jpg","text":"TemporaryFile(/tmp/multipartBody7512248278796111890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954544304,"filename":"image_10012025_14_41_52_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6c6f28a0e92635baa9fbe848645b2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5611198117241100309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954544304,"filename":"image_10012025_14_40_37_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a7852dc20e07e02d2f14214b862334f.jpg","text":"TemporaryFile(/tmp/multipartBody4767379212278580799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954544304,"filename":"image_10012025_14_38_13_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329161730","file1":"1329161727","file0":"1329161725","file4":"1329161741","file5":"1329161747","file3":"1329161736"},"map_files_photo_id_array":[{"photo_id":"1329161747","filename":"file5"},{"photo_id":"1329161730","filename":"file2"},{"photo_id":"1329161741","filename":"file4"},{"photo_id":"1329161727","filename":"file1"},{"photo_id":"1329161725","filename":"file0"},{"photo_id":"1329161736","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329161727":["hashtag1","hashtag2"]},{"1329161736":["hashtag1","hashtag2"]},{"1329161730":["hashtag1","hashtag2"]},{"1329161747":["hashtag1","hashtag2"]},{"1329161741":["hashtag1","hashtag2"]},{"1329161725":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329161727, 1329161736, 1329161730, 1329161747, 1329161741, 1329161725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14147353172302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:22:03.409834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_07_2671.jpg', '/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_09_2736.jpg', '/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_12_2760.jpg', '/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_16_3832.jpg', '/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_24_2751.jpg', '/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_27_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_07_2671.jpg
/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_09_2736.jpg
/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_12_2760.jpg
/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_16_3832.jpg
/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_24_2751.jpg
/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_27_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161757","1329161780","1329161756","1329161753","1329161755","1329161784"],"photo_ids_order":["1329161753","1329161755","1329161756","1329161757","1329161780","1329161784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b73f3c33d38df8c6153af5dd4dee8d0.jpg","text":"TemporaryFile(/tmp/multipartBody8076279851396662409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954585024,"filename":"image_10012025_14_43_16_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e82d0c4213f4d4208698a44ced590d26.jpg","text":"TemporaryFile(/tmp/multipartBody8189309668550611962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954585024,"filename":"image_10012025_14_43_24_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74f569c365abff276aace6301704cdc5.jpg","text":"TemporaryFile(/tmp/multipartBody5624081771630084426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954585024,"filename":"image_10012025_14_43_12_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/491b2ae0c6fa4897a719105363b80653.jpg","text":"TemporaryFile(/tmp/multipartBody8439859607221749897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954585024,"filename":"image_10012025_14_43_07_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/47a13201ca75b81cc27d3f3e35d7770b.jpg","text":"TemporaryFile(/tmp/multipartBody8093502666544519330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954585024,"filename":"image_10012025_14_43_09_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/46c941f549cf59b2882b82dc199f1960.jpg","text":"TemporaryFile(/tmp/multipartBody5617787520062695289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954585024,"filename":"image_10012025_14_43_27_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329161756","file1":"1329161755","file0":"1329161753","file4":"1329161780","file5":"1329161784","file3":"1329161757"},"map_files_photo_id_array":[{"photo_id":"1329161784","filename":"file5"},{"photo_id":"1329161756","filename":"file2"},{"photo_id":"1329161780","filename":"file4"},{"photo_id":"1329161755","filename":"file1"},{"photo_id":"1329161753","filename":"file0"},{"photo_id":"1329161757","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329161757":["hashtag1","hashtag2"]},{"1329161780":["hashtag1","hashtag2"]},{"1329161756":["hashtag1","hashtag2"]},{"1329161753":["hashtag1","hashtag2"]},{"1329161755":["hashtag1","hashtag2"]},{"1329161784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329161757, 1329161780, 1329161756, 1329161753, 1329161755, 1329161784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.766390800476074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:22:42.705941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/20/image_15012025_16_20_45_3598.jpg', '/home/pi/Desktop/images/15012025/16/22/image_15012025_16_22_02_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/20/image_15012025_16_20_45_3598.jpg
/home/pi/Desktop/images/15012025/16/22/image_15012025_16_22_02_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161838","1329161825"],"photo_ids_order":["1329161825","1329161838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d91a0aa4481fb1f1b6f8a3f32e3772a0.jpg","text":"TemporaryFile(/tmp/multipartBody4504044371708467225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954623256,"filename":"image_15012025_16_22_02_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77ef9de34dbc3223ee53c5a2de2d6bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1859027931282515458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954623256,"filename":"image_15012025_16_20_45_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329161838","file0":"1329161825"},"map_files_photo_id_array":[{"photo_id":"1329161838","filename":"file1"},{"photo_id":"1329161825","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329161838":["hashtag1","hashtag2"]},{"1329161825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329161838, 1329161825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.055031299591064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:23:22.408583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/22/image_15012025_16_22_39_3591.jpg', '/home/pi/Desktop/images/15012025/16/23/image_15012025_16_23_08_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/22/image_15012025_16_22_39_3591.jpg
/home/pi/Desktop/images/15012025/16/23/image_15012025_16_23_08_3600.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46334028244018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:23:42.420601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/22/image_15012025_16_22_39_3591.jpg', '/home/pi/Desktop/images/15012025/16/23/image_15012025_16_23_08_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/22/image_15012025_16_22_39_3591.jpg
/home/pi/Desktop/images/15012025/16/23/image_15012025_16_23_08_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329161880","1329161886"],"photo_ids_order":["1329161880","1329161886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48341ee164ea10e118a3969ee923cb6d.jpg","text":"TemporaryFile(/tmp/multipartBody6376098716787014707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954683007,"filename":"image_15012025_16_22_39_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67597b4e74d91b0c189fb5a667f16e52.jpg","text":"TemporaryFile(/tmp/multipartBody7144911969753325984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954683007,"filename":"image_15012025_16_23_08_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329161886","file0":"1329161880"},"map_files_photo_id_array":[{"photo_id":"1329161886","filename":"file1"},{"photo_id":"1329161880","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329161880":["hashtag1","hashtag2"]},{"1329161886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329161880, 1329161886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.266668558120728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:24:21.981300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/23/image_15012025_16_23_53_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/23/image_15012025_16_23_53_2631.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162017"],"photo_id":"1329162017","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/66160a92871e812f3ea044cc64d19e5c.jpg","text":"TemporaryFile(/tmp/multipartBody886138771831424047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954722495,"filename":"image_15012025_16_23_53_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329162017"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329162017"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.562462329864502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:24:41.926521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_43_2643.jpg', '/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_34_2629.jpg', '/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_28_2788.jpg', '/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_49_2705.jpg', '/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_01_2699.jpg', '/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_49_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/10/04/image_12012025_10_04_43_2643.jpg
/home/pi/Desktop/images/12012025/10/08/image_12012025_10_08_34_2629.jpg
/home/pi/Desktop/images/12012025/10/17/image_12012025_10_17_28_2788.jpg
/home/pi/Desktop/images/12012025/10/26/image_12012025_10_26_49_2705.jpg
/home/pi/Desktop/images/12012025/10/31/image_12012025_10_31_01_2699.jpg
/home/pi/Desktop/images/12012025/10/32/image_12012025_10_32_49_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162038","1329162032","1329162052","1329162049","1329162045","1329162054"],"photo_ids_order":["1329162032","1329162038","1329162045","1329162049","1329162052","1329162054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/963ac4e20d5b41e0725999935802c1ec.jpg","text":"TemporaryFile(/tmp/multipartBody4649259802090847271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954742860,"filename":"image_12012025_10_08_34_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d19a211f95483fb96dec9660324a64cd.jpg","text":"TemporaryFile(/tmp/multipartBody4526132672543597169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954742860,"filename":"image_12012025_10_04_43_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf758458492eb2c668b92b2ab2c315c2.jpg","text":"TemporaryFile(/tmp/multipartBody5156807275811011242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954742860,"filename":"image_12012025_10_31_01_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c805716312556faf11e1a6110952b13.jpg","text":"TemporaryFile(/tmp/multipartBody4867245151738005120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954742860,"filename":"image_12012025_10_26_49_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b716a0fe07aeaa5f89054015fc876668.jpg","text":"TemporaryFile(/tmp/multipartBody5246550745206942087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954742860,"filename":"image_12012025_10_17_28_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1083138ba007c2e216190e00d592fc0c.jpg","text":"TemporaryFile(/tmp/multipartBody8946754976025222796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954742860,"filename":"image_12012025_10_32_49_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329162045","file1":"1329162038","file0":"1329162032","file4":"1329162052","file5":"1329162054","file3":"1329162049"},"map_files_photo_id_array":[{"photo_id":"1329162054","filename":"file5"},{"photo_id":"1329162045","filename":"file2"},{"photo_id":"1329162052","filename":"file4"},{"photo_id":"1329162038","filename":"file1"},{"photo_id":"1329162032","filename":"file0"},{"photo_id":"1329162049","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329162038":["hashtag1","hashtag2"]},{"1329162032":["hashtag1","hashtag2"]},{"1329162052":["hashtag1","hashtag2"]},{"1329162049":["hashtag1","hashtag2"]},{"1329162045":["hashtag1","hashtag2"]},{"1329162054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329162038, 1329162032, 1329162052, 1329162049, 1329162045, 1329162054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31048083305359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:25:22.619038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/24/image_15012025_16_24_44_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/24/image_15012025_16_24_44_3682.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162058"],"photo_id":"1329162058","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f83a172fdff9bc85d424de0eeac638e3.jpg","text":"TemporaryFile(/tmp/multipartBody2231607509499056742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954783139,"filename":"image_15012025_16_24_44_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329162058"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329162058"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.833157539367676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:25:42.513590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_34_2762.jpg', '/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_43_2599.jpg', '/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_29_3730.jpg', '/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_53_3766.jpg', '/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_50_3678.jpg', '/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_31_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/10/34/image_12012025_10_34_34_2762.jpg
/home/pi/Desktop/images/12012025/10/36/image_12012025_10_36_43_2599.jpg
/home/pi/Desktop/images/12012025/10/38/image_12012025_10_38_29_3730.jpg
/home/pi/Desktop/images/12012025/10/39/image_12012025_10_39_53_3766.jpg
/home/pi/Desktop/images/12012025/10/40/image_12012025_10_40_50_3678.jpg
/home/pi/Desktop/images/12012025/10/41/image_12012025_10_41_31_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162092","1329162085","1329162079","1329162087","1329162075","1329162090"],"photo_ids_order":["1329162075","1329162079","1329162085","1329162087","1329162090","1329162092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/37eb4778184dcc15adceb4c5369a8211.jpg","text":"TemporaryFile(/tmp/multipartBody1918457427453864577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954803449,"filename":"image_12012025_10_41_31_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c56d0a7e90844d5dafdcd96169161766.jpg","text":"TemporaryFile(/tmp/multipartBody3732804254831636517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954803449,"filename":"image_12012025_10_38_29_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/32af43bac00d9e8ba79d837690aecc56.jpg","text":"TemporaryFile(/tmp/multipartBody5409687579762506249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954803449,"filename":"image_12012025_10_36_43_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67ace5cfa3876d4b97f946d80d7a0ec6.jpg","text":"TemporaryFile(/tmp/multipartBody525701541815990911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954803449,"filename":"image_12012025_10_39_53_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5626446acc3835be5bd8bfeafd227735.jpg","text":"TemporaryFile(/tmp/multipartBody4680591288641731711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954803449,"filename":"image_12012025_10_34_34_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e27a97a60d6f16c6d1e6989e6952cd35.jpg","text":"TemporaryFile(/tmp/multipartBody246723540293059859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954803449,"filename":"image_12012025_10_40_50_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329162085","file1":"1329162079","file0":"1329162075","file4":"1329162090","file5":"1329162092","file3":"1329162087"},"map_files_photo_id_array":[{"photo_id":"1329162092","filename":"file5"},{"photo_id":"1329162085","filename":"file2"},{"photo_id":"1329162090","filename":"file4"},{"photo_id":"1329162079","filename":"file1"},{"photo_id":"1329162075","filename":"file0"},{"photo_id":"1329162087","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329162092":["hashtag1","hashtag2"]},{"1329162085":["hashtag1","hashtag2"]},{"1329162079":["hashtag1","hashtag2"]},{"1329162087":["hashtag1","hashtag2"]},{"1329162075":["hashtag1","hashtag2"]},{"1329162090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329162092, 1329162085, 1329162079, 1329162087, 1329162075, 1329162090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54470896720886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:26:22.732576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/25/image_15012025_16_25_37_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/25/image_15012025_16_25_37_3691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162099"],"photo_id":"1329162099","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/32b9e55395f297769d38c85ad0b3a4e5.jpg","text":"TemporaryFile(/tmp/multipartBody2147503817107253263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954843254,"filename":"image_15012025_16_25_37_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329162099"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329162099"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.663798570632935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:26:42.682845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_52_2705.jpg', '/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_34_2680.jpg', '/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_43_2611.jpg', '/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_37_3671.jpg', '/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_14_2629.jpg', '/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_43_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_52_2705.jpg
/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_34_2680.jpg
/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_43_2611.jpg
/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_37_3671.jpg
/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_14_2629.jpg
/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_43_2694.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.862586259841919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:27:02.759327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_31_3689.jpg', '/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_04_3684.jpg', '/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_18_2821.jpg', '/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_25_3652.jpg', '/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_34_3732.jpg', '/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_36_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/43/image_10012025_14_43_31_3689.jpg
/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_04_3684.jpg
/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_18_2821.jpg
/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_25_3652.jpg
/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_34_3732.jpg
/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_36_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162149","1329162140","1329162137","1329162145","1329162133","1329162142"],"photo_ids_order":["1329162133","1329162137","1329162140","1329162142","1329162145","1329162149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3cdb95d275b60ac10bb0ac897ca25087.jpg","text":"TemporaryFile(/tmp/multipartBody887009497730474059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954884585,"filename":"image_10012025_14_46_36_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da859f60f7df198f66a587e6c0a24053.jpg","text":"TemporaryFile(/tmp/multipartBody5787942087932579519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954884585,"filename":"image_10012025_14_46_18_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/805451c73be7478028a021b7438eab75.jpg","text":"TemporaryFile(/tmp/multipartBody6136399110479314421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954884585,"filename":"image_10012025_14_46_04_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1dae49d905aaaa3647b098ba79cb1420.jpg","text":"TemporaryFile(/tmp/multipartBody6832362382026700042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954884585,"filename":"image_10012025_14_46_34_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f0cf32e3ea70ec60d109965fba31270.jpg","text":"TemporaryFile(/tmp/multipartBody8184100203443855551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954884585,"filename":"image_10012025_14_43_31_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76c902f855f9a9f3f07cc4fbcbbbfee3.jpg","text":"TemporaryFile(/tmp/multipartBody4045521950078158288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954884585,"filename":"image_10012025_14_46_25_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329162140","file1":"1329162137","file0":"1329162133","file4":"1329162145","file5":"1329162149","file3":"1329162142"},"map_files_photo_id_array":[{"photo_id":"1329162149","filename":"file5"},{"photo_id":"1329162140","filename":"file2"},{"photo_id":"1329162145","filename":"file4"},{"photo_id":"1329162137","filename":"file1"},{"photo_id":"1329162133","filename":"file0"},{"photo_id":"1329162142","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329162149":["hashtag1","hashtag2"]},{"1329162140":["hashtag1","hashtag2"]},{"1329162137":["hashtag1","hashtag2"]},{"1329162145":["hashtag1","hashtag2"]},{"1329162133":["hashtag1","hashtag2"]},{"1329162142":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329162149, 1329162140, 1329162137, 1329162145, 1329162133, 1329162142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6538348197937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:27:41.963517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/26/image_15012025_16_26_40_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/26/image_15012025_16_26_40_3532.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162186"],"photo_id":"1329162186","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d93f57bfafb7a23b3820d6ff0e534f9c.jpg","text":"TemporaryFile(/tmp/multipartBody8568400527787566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954922487,"filename":"image_15012025_16_26_40_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329162186"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329162186"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.379756689071655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:28:02.674922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_39_2658.jpg', '/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_43_1812.jpg', '/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_54_1861.jpg', '/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_59_1632.jpg', '/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_04_1549.jpg', '/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_06_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_39_2658.jpg
/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_43_1812.jpg
/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_54_1861.jpg
/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_59_1632.jpg
/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_04_1549.jpg
/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_06_2645.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.4802730083465576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:28:22.162190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/27/image_15012025_16_27_31_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/27/image_15012025_16_27_31_2521.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162250"],"photo_id":"1329162250","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bcfbcda5c4e9a359ea9b82b4a950f184.jpg","text":"TemporaryFile(/tmp/multipartBody3005018204197045286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954962691,"filename":"image_15012025_16_27_31_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329162250"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329162250"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.3875150680542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:28:41.976562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_52_2705.jpg', '/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_34_2680.jpg', '/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_43_2611.jpg', '/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_37_3671.jpg', '/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_14_2629.jpg', '/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_43_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/10/42/image_12012025_10_42_52_2705.jpg
/home/pi/Desktop/images/12012025/10/44/image_12012025_10_44_34_2680.jpg
/home/pi/Desktop/images/12012025/10/46/image_12012025_10_46_43_2611.jpg
/home/pi/Desktop/images/12012025/10/48/image_12012025_10_48_37_3671.jpg
/home/pi/Desktop/images/12012025/10/50/image_12012025_10_50_14_2629.jpg
/home/pi/Desktop/images/12012025/10/51/image_12012025_10_51_43_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162365","1329162530","1329162500","1329162518","1329162328","1329162471"],"photo_ids_order":["1329162328","1329162365","1329162471","1329162500","1329162518","1329162530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b718d1ce4ff6a926db684001d60dc894.jpg","text":"TemporaryFile(/tmp/multipartBody3250561971957512007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954982997,"filename":"image_12012025_10_44_34_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de09678e4033cf2860c9d53203524459.jpg","text":"TemporaryFile(/tmp/multipartBody2200084345031459607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954982997,"filename":"image_12012025_10_51_43_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/53e9ee515070c86aade3f2426879c1bd.jpg","text":"TemporaryFile(/tmp/multipartBody3642541239250646992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954982997,"filename":"image_12012025_10_48_37_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c5452b98bd07e700fda99fa5af4c676.jpg","text":"TemporaryFile(/tmp/multipartBody7939706140615456039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954982997,"filename":"image_12012025_10_50_14_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca39a8405728e5a85f8199b2ab83f777.jpg","text":"TemporaryFile(/tmp/multipartBody7228047910691089843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954982997,"filename":"image_12012025_10_42_52_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/04b1d5ec82d9c403b49cb67d0a6c22f6.jpg","text":"TemporaryFile(/tmp/multipartBody2860074241325459882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736954982997,"filename":"image_12012025_10_46_43_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329162471","file1":"1329162365","file0":"1329162328","file4":"1329162518","file5":"1329162530","file3":"1329162500"},"map_files_photo_id_array":[{"photo_id":"1329162530","filename":"file5"},{"photo_id":"1329162471","filename":"file2"},{"photo_id":"1329162518","filename":"file4"},{"photo_id":"1329162365","filename":"file1"},{"photo_id":"1329162328","filename":"file0"},{"photo_id":"1329162500","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329162365":["hashtag1","hashtag2"]},{"1329162530":["hashtag1","hashtag2"]},{"1329162500":["hashtag1","hashtag2"]},{"1329162518":["hashtag1","hashtag2"]},{"1329162328":["hashtag1","hashtag2"]},{"1329162471":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329162365, 1329162530, 1329162500, 1329162518, 1329162328, 1329162471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.451699018478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:29:22.689294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/28/image_15012025_16_28_22_3587.jpg', '/home/pi/Desktop/images/15012025/16/29/image_15012025_16_29_13_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/28/image_15012025_16_28_22_3587.jpg
/home/pi/Desktop/images/15012025/16/29/image_15012025_16_29_13_2655.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162563","1329162566"],"photo_ids_order":["1329162563","1329162566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/71fedcb4698790df3081b5b1977cab95.jpg","text":"TemporaryFile(/tmp/multipartBody7068611277569980552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955023237,"filename":"image_15012025_16_28_22_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4640b7fc51a88d2846e98b22730e49f8.jpg","text":"TemporaryFile(/tmp/multipartBody5691310375203682428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955023237,"filename":"image_15012025_16_29_13_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329162566","file0":"1329162563"},"map_files_photo_id_array":[{"photo_id":"1329162566","filename":"file1"},{"photo_id":"1329162563","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329162563":["hashtag1","hashtag2"]},{"1329162566":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329162563, 1329162566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.00186514854431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:29:42.638186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_46_2596.jpg', '/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_31_2779.jpg', '/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_07_3011.jpg', '/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_59_3748.jpg', '/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_14_2799.jpg', '/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_16_2921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/10/53/image_12012025_10_53_46_2596.jpg
/home/pi/Desktop/images/12012025/10/54/image_12012025_10_54_31_2779.jpg
/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_07_3011.jpg
/home/pi/Desktop/images/12012025/10/56/image_12012025_10_56_59_3748.jpg
/home/pi/Desktop/images/12012025/10/58/image_12012025_10_58_14_2799.jpg
/home/pi/Desktop/images/12012025/11/00/image_12012025_11_00_16_2921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162740","1329162748","1329162724","1329162753","1329162648","1329162621"],"photo_ids_order":["1329162621","1329162648","1329162724","1329162740","1329162748","1329162753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/13cb0ab05a90e24b492fb1236f6cc2e1.jpg","text":"TemporaryFile(/tmp/multipartBody6690645025511545692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955043639,"filename":"image_12012025_10_56_59_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bd3c6628e7c565ed8df5ca342a7b8c01.jpg","text":"TemporaryFile(/tmp/multipartBody5805794612417210718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955043639,"filename":"image_12012025_10_58_14_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/910b5a22fe373bb5723199cf59020bee.jpg","text":"TemporaryFile(/tmp/multipartBody8447589698127157957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955043639,"filename":"image_12012025_10_56_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c999ee2a8606675a6dd5959c0af957b7.jpg","text":"TemporaryFile(/tmp/multipartBody955994629916973595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955043639,"filename":"image_12012025_11_00_16_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de75e5932ab000fdd16e13654c038a53.jpg","text":"TemporaryFile(/tmp/multipartBody8767434154233465292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955043639,"filename":"image_12012025_10_54_31_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a213ce37af5faa79fa8646d1cee88e54.jpg","text":"TemporaryFile(/tmp/multipartBody7598041407370503510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955043639,"filename":"image_12012025_10_53_46_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329162724","file1":"1329162648","file0":"1329162621","file4":"1329162748","file5":"1329162753","file3":"1329162740"},"map_files_photo_id_array":[{"photo_id":"1329162753","filename":"file5"},{"photo_id":"1329162724","filename":"file2"},{"photo_id":"1329162748","filename":"file4"},{"photo_id":"1329162648","filename":"file1"},{"photo_id":"1329162621","filename":"file0"},{"photo_id":"1329162740","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329162740":["hashtag1","hashtag2"]},{"1329162748":["hashtag1","hashtag2"]},{"1329162724":["hashtag1","hashtag2"]},{"1329162753":["hashtag1","hashtag2"]},{"1329162648":["hashtag1","hashtag2"]},{"1329162621":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329162740, 1329162748, 1329162724, 1329162753, 1329162648, 1329162621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61824417114258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:30:22.456804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_39_2658.jpg', '/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_43_1812.jpg', '/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_54_1861.jpg', '/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_59_1632.jpg', '/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_04_1549.jpg', '/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_06_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/46/image_10012025_14_46_39_2658.jpg
/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_43_1812.jpg
/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_54_1861.jpg
/home/pi/Desktop/images/10012025/14/47/image_10012025_14_47_59_1632.jpg
/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_04_1549.jpg
/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_06_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162794","1329162788","1329162821","1329162800","1329162831","1329162810"],"photo_ids_order":["1329162788","1329162794","1329162800","1329162810","1329162821","1329162831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/488a6ae6c245f3ef7c0f46eb55a8c5d3.jpg","text":"TemporaryFile(/tmp/multipartBody5556291738197491805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955084491,"filename":"image_10012025_14_47_43_1812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca580c6f657a8adb84ff025e7c6d665d.jpg","text":"TemporaryFile(/tmp/multipartBody1674366845968254527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955084491,"filename":"image_10012025_14_46_39_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc10050e8889bfeb1e42bd5ffb920283.jpg","text":"TemporaryFile(/tmp/multipartBody1310999377284242576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955084491,"filename":"image_10012025_14_48_04_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a40268e68947e9e82f44445aa205dba8.jpg","text":"TemporaryFile(/tmp/multipartBody961875626788919880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955084491,"filename":"image_10012025_14_47_54_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3aec91f535597adf22ddc1a4beca70e6.jpg","text":"TemporaryFile(/tmp/multipartBody3194176312777324700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955084491,"filename":"image_10012025_14_48_06_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/07e3951ec75cf4875c93cd9280f6a608.jpg","text":"TemporaryFile(/tmp/multipartBody7378756553683147502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955084491,"filename":"image_10012025_14_47_59_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329162800","file1":"1329162794","file0":"1329162788","file4":"1329162821","file5":"1329162831","file3":"1329162810"},"map_files_photo_id_array":[{"photo_id":"1329162831","filename":"file5"},{"photo_id":"1329162800","filename":"file2"},{"photo_id":"1329162821","filename":"file4"},{"photo_id":"1329162794","filename":"file1"},{"photo_id":"1329162788","filename":"file0"},{"photo_id":"1329162810","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329162794":["hashtag1","hashtag2"]},{"1329162788":["hashtag1","hashtag2"]},{"1329162821":["hashtag1","hashtag2"]},{"1329162800":["hashtag1","hashtag2"]},{"1329162831":["hashtag1","hashtag2"]},{"1329162810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329162794, 1329162788, 1329162821, 1329162800, 1329162831, 1329162810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.824318647384644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:31:22.683634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/29/image_15012025_16_29_39_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/29/image_15012025_16_29_39_2649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162881"],"photo_id":"1329162881","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52b8b3f89231275c230c15309c37a241.jpg","text":"TemporaryFile(/tmp/multipartBody8141953761726700638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955143204,"filename":"image_15012025_16_29_39_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329162881"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329162881"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.610254049301147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:31:42.684075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_31_2759.jpg', '/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_46_2634.jpg', '/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_52_2696.jpg', '/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_28_2695.jpg', '/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_07_3011.jpg', '/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_07_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/11/02/image_12012025_11_02_31_2759.jpg
/home/pi/Desktop/images/12012025/11/03/image_12012025_11_03_46_2634.jpg
/home/pi/Desktop/images/12012025/11/07/image_12012025_11_07_52_2696.jpg
/home/pi/Desktop/images/12012025/11/09/image_12012025_11_09_28_2695.jpg
/home/pi/Desktop/images/12012025/11/11/image_12012025_11_11_07_3011.jpg
/home/pi/Desktop/images/12012025/11/12/image_12012025_11_12_07_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162903","1329162929","1329162911","1329162936","1329162924","1329162933"],"photo_ids_order":["1329162903","1329162911","1329162924","1329162929","1329162933","1329162936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c9ba70f671ccc5296714d4b3fff6ecec.jpg","text":"TemporaryFile(/tmp/multipartBody7526867155892525466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955163671,"filename":"image_12012025_11_02_31_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/96195ba583cfd518b0b0816b56821e4e.jpg","text":"TemporaryFile(/tmp/multipartBody2395217533200676289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955163671,"filename":"image_12012025_11_09_28_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/08621fd86a5af0280e41498f505392ef.jpg","text":"TemporaryFile(/tmp/multipartBody7694810554253485869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955163671,"filename":"image_12012025_11_03_46_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0b894ddbc007cab5be4579e501c8c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3251982236699787883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955163671,"filename":"image_12012025_11_12_07_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/647e932a0cc1a1f759a89946542f8350.jpg","text":"TemporaryFile(/tmp/multipartBody4812800941508551755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955163671,"filename":"image_12012025_11_07_52_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33dd1051bcc06c5133579806b03b396c.jpg","text":"TemporaryFile(/tmp/multipartBody3447723737702458197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955163671,"filename":"image_12012025_11_11_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329162924","file1":"1329162911","file0":"1329162903","file4":"1329162933","file5":"1329162936","file3":"1329162929"},"map_files_photo_id_array":[{"photo_id":"1329162936","filename":"file5"},{"photo_id":"1329162924","filename":"file2"},{"photo_id":"1329162933","filename":"file4"},{"photo_id":"1329162911","filename":"file1"},{"photo_id":"1329162903","filename":"file0"},{"photo_id":"1329162929","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329162903":["hashtag1","hashtag2"]},{"1329162929":["hashtag1","hashtag2"]},{"1329162911":["hashtag1","hashtag2"]},{"1329162936":["hashtag1","hashtag2"]},{"1329162924":["hashtag1","hashtag2"]},{"1329162933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329162903, 1329162929, 1329162911, 1329162936, 1329162924, 1329162933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.445578813552856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:32:22.128411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/31/image_15012025_16_31_07_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/31/image_15012025_16_31_07_3010.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4754202365875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:32:42.069353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/31/image_15012025_16_31_07_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/31/image_15012025_16_31_07_3010.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329162952"],"photo_id":"1329162952","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/60e0496603e2b62198e405b292cac4a0.jpg","text":"TemporaryFile(/tmp/multipartBody6327437953529218473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955222586,"filename":"image_15012025_16_31_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329162952"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329162952"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.066359281539917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:33:03.241131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_34_1745.jpg', '/home/pi/Desktop/images/10012025/14/49/image_10012025_14_49_54_1522.jpg', '/home/pi/Desktop/images/10012025/14/49/image_10012025_14_50_00_1621.jpg', '/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_21_1733.jpg', '/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_28_1698.jpg', '/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_39_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/48/image_10012025_14_48_34_1745.jpg
/home/pi/Desktop/images/10012025/14/49/image_10012025_14_49_54_1522.jpg
/home/pi/Desktop/images/10012025/14/49/image_10012025_14_50_00_1621.jpg
/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_21_1733.jpg
/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_28_1698.jpg
/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_39_1633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329163046","1329163043","1329163030","1329163036","1329162999","1329163032"],"photo_ids_order":["1329162999","1329163030","1329163032","1329163036","1329163043","1329163046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/077ee1abc93e47d0ef6bcd470e661de5.jpg","text":"TemporaryFile(/tmp/multipartBody6657584181132011744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955244933,"filename":"image_10012025_14_50_39_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/001d98bb295d4e7951eff5f34c0b0957.jpg","text":"TemporaryFile(/tmp/multipartBody4185980367205520150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955244933,"filename":"image_10012025_14_50_28_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/46960403fc8f8a7b2bffd63f5a7a6d5c.jpg","text":"TemporaryFile(/tmp/multipartBody5470787297781885196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955244933,"filename":"image_10012025_14_49_54_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b07c60c46741f10de85971e74a080b42.jpg","text":"TemporaryFile(/tmp/multipartBody3246192506324966813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955244933,"filename":"image_10012025_14_50_21_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58d6b43e2711ab69e2a6eaf35a597e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1747514823270038098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955244933,"filename":"image_10012025_14_48_34_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cd95f3dc8c9b93eb3edba495789b66e7.jpg","text":"TemporaryFile(/tmp/multipartBody875265067739429385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955244933,"filename":"image_10012025_14_50_00_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329163032","file1":"1329163030","file0":"1329162999","file4":"1329163043","file5":"1329163046","file3":"1329163036"},"map_files_photo_id_array":[{"photo_id":"1329163046","filename":"file5"},{"photo_id":"1329163032","filename":"file2"},{"photo_id":"1329163043","filename":"file4"},{"photo_id":"1329163030","filename":"file1"},{"photo_id":"1329162999","filename":"file0"},{"photo_id":"1329163036","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329163046":["hashtag1","hashtag2"]},{"1329163043":["hashtag1","hashtag2"]},{"1329163030":["hashtag1","hashtag2"]},{"1329163036":["hashtag1","hashtag2"]},{"1329162999":["hashtag1","hashtag2"]},{"1329163032":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329163046, 1329163043, 1329163030, 1329163036, 1329162999, 1329163032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80392074584961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:33:42.313876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/32/image_15012025_16_32_22_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/32/image_15012025_16_32_22_2607.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329163077"],"photo_id":"1329163077","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/991426e0632f961e24a34b19cfcbab76.jpg","text":"TemporaryFile(/tmp/multipartBody1289151961879766991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955282848,"filename":"image_15012025_16_32_22_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329163077"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329163077"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.504295349121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:34:02.880119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_41_1690.jpg', '/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_46_5750.jpg', '/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_48_1621.jpg', '/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_50_1751.jpg', '/home/pi/Desktop/images/10012025/14/52/image_10012025_14_53_00_2574.jpg', '/home/pi/Desktop/images/10012025/14/53/image_10012025_14_53_06_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_41_1690.jpg
/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_46_5750.jpg
/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_48_1621.jpg
/home/pi/Desktop/images/10012025/14/50/image_10012025_14_50_50_1751.jpg
/home/pi/Desktop/images/10012025/14/52/image_10012025_14_53_00_2574.jpg
/home/pi/Desktop/images/10012025/14/53/image_10012025_14_53_06_3736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329163121","1329163118","1329163108","1329163116","1329163125","1329163113"],"photo_ids_order":["1329163108","1329163113","1329163116","1329163118","1329163121","1329163125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48ce9d3d6d784d0500938af9cd4ea9ab.jpg","text":"TemporaryFile(/tmp/multipartBody4538509025939900190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955304414,"filename":"image_10012025_14_53_00_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d335766ede93012edb553e7e20d9d553.jpg","text":"TemporaryFile(/tmp/multipartBody1602176579798803740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955304414,"filename":"image_10012025_14_50_50_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc277560627a3cac6f6f3cd1a2fee8d5.jpg","text":"TemporaryFile(/tmp/multipartBody7786451839125615269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955304414,"filename":"image_10012025_14_50_41_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5c2bff8afee1c400683f99ffc832c77.jpg","text":"TemporaryFile(/tmp/multipartBody688027083322722617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955304414,"filename":"image_10012025_14_50_48_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d8097f7e4ef0462377ce5a148a0c7f5.jpg","text":"TemporaryFile(/tmp/multipartBody4654682722943441539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955304414,"filename":"image_10012025_14_53_06_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c0ce69ecc0d0ed95875f2e53d7c7cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6772328226533137113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955304414,"filename":"image_10012025_14_50_46_5750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329163116","file1":"1329163113","file0":"1329163108","file4":"1329163121","file5":"1329163125","file3":"1329163118"},"map_files_photo_id_array":[{"photo_id":"1329163125","filename":"file5"},{"photo_id":"1329163116","filename":"file2"},{"photo_id":"1329163121","filename":"file4"},{"photo_id":"1329163113","filename":"file1"},{"photo_id":"1329163108","filename":"file0"},{"photo_id":"1329163118","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329163121":["hashtag1","hashtag2"]},{"1329163118":["hashtag1","hashtag2"]},{"1329163108":["hashtag1","hashtag2"]},{"1329163116":["hashtag1","hashtag2"]},{"1329163125":["hashtag1","hashtag2"]},{"1329163113":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329163121, 1329163118, 1329163108, 1329163116, 1329163125, 1329163113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04840540885925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:34:42.182792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/33/image_15012025_16_33_22_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/33/image_15012025_16_33_22_3709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4383358955383301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:35:02.630412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/33/image_15012025_16_33_22_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/33/image_15012025_16_33_22_3709.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329163155"],"photo_id":"1329163155","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dbca69467f3f47caaf72d3491505622b.jpg","text":"TemporaryFile(/tmp/multipartBody3338804946512217815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955363223,"filename":"image_15012025_16_33_22_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329163155"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329163155"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.133269548416138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:35:21.943225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/14/53/image_10012025_14_53_09_2714.jpg', '/home/pi/Desktop/images/10012025/14/53/image_10012025_14_53_11_2582.jpg', '/home/pi/Desktop/images/10012025/14/54/image_10012025_14_54_56_2690.jpg', '/home/pi/Desktop/images/10012025/14/55/image_10012025_14_55_39_2703.jpg', '/home/pi/Desktop/images/10012025/15/04/image_10012025_15_04_21_2701.jpg', '/home/pi/Desktop/images/10012025/15/04/image_10012025_15_05_00_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/14/53/image_10012025_14_53_09_2714.jpg
/home/pi/Desktop/images/10012025/14/53/image_10012025_14_53_11_2582.jpg
/home/pi/Desktop/images/10012025/14/54/image_10012025_14_54_56_2690.jpg
/home/pi/Desktop/images/10012025/14/55/image_10012025_14_55_39_2703.jpg
/home/pi/Desktop/images/10012025/15/04/image_10012025_15_04_21_2701.jpg
/home/pi/Desktop/images/10012025/15/04/image_10012025_15_05_00_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329163177","1329163171","1329163197","1329163203","1329163181","1329163190"],"photo_ids_order":["1329163171","1329163177","1329163181","1329163190","1329163197","1329163203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b75ac37ad2542c458ef48e95c8b78938.jpg","text":"TemporaryFile(/tmp/multipartBody2752604823130559652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955384171,"filename":"image_10012025_14_53_11_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0c20a8fe51d70a35342ebd3833cb559.jpg","text":"TemporaryFile(/tmp/multipartBody3519556997286596500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955384171,"filename":"image_10012025_14_53_09_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a52afea12e891639312858cc7460609.jpg","text":"TemporaryFile(/tmp/multipartBody5287648326210587515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955384171,"filename":"image_10012025_15_04_21_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2cbc401b72fb34f0d4be7a4a49bf29eb.jpg","text":"TemporaryFile(/tmp/multipartBody5618117932771082743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955384171,"filename":"image_10012025_15_05_00_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/03310d3a004c041df3f9a9ae7e9b42b3.jpg","text":"TemporaryFile(/tmp/multipartBody4159848758041345289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955384171,"filename":"image_10012025_14_54_56_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59fb3c7eed12eb50c5f0b340761d80d6.jpg","text":"TemporaryFile(/tmp/multipartBody211885290543291416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955384171,"filename":"image_10012025_14_55_39_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329163181","file1":"1329163177","file0":"1329163171","file4":"1329163197","file5":"1329163203","file3":"1329163190"},"map_files_photo_id_array":[{"photo_id":"1329163203","filename":"file5"},{"photo_id":"1329163181","filename":"file2"},{"photo_id":"1329163197","filename":"file4"},{"photo_id":"1329163177","filename":"file1"},{"photo_id":"1329163171","filename":"file0"},{"photo_id":"1329163190","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329163177":["hashtag1","hashtag2"]},{"1329163171":["hashtag1","hashtag2"]},{"1329163197":["hashtag1","hashtag2"]},{"1329163203":["hashtag1","hashtag2"]},{"1329163181":["hashtag1","hashtag2"]},{"1329163190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329163177, 1329163171, 1329163197, 1329163203, 1329163181, 1329163190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46847891807556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:36:03.101579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:36:22.190050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:36:52.119160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:37:04.469336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:37:35.915881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:37:44.024690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:38:03.222356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:39:14.060978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-01-15 16:39:33.851081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:40:03.154017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/05/image_10012025_15_05_03_3678.jpg', '/home/pi/Desktop/images/10012025/15/08/image_10012025_15_08_44_2754.jpg', '/home/pi/Desktop/images/10012025/15/08/image_10012025_15_08_57_3648.jpg', '/home/pi/Desktop/images/10012025/15/14/image_10012025_15_14_09_3742.jpg', '/home/pi/Desktop/images/10012025/15/16/image_10012025_15_16_29_2792.jpg', '/home/pi/Desktop/images/10012025/15/16/image_10012025_15_16_31_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/05/image_10012025_15_05_03_3678.jpg
/home/pi/Desktop/images/10012025/15/08/image_10012025_15_08_44_2754.jpg
/home/pi/Desktop/images/10012025/15/08/image_10012025_15_08_57_3648.jpg
/home/pi/Desktop/images/10012025/15/14/image_10012025_15_14_09_3742.jpg
/home/pi/Desktop/images/10012025/15/16/image_10012025_15_16_29_2792.jpg
/home/pi/Desktop/images/10012025/15/16/image_10012025_15_16_31_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329164785","1329164788","1329164782","1329164796","1329164786","1329164783"],"photo_ids_order":["1329164782","1329164783","1329164785","1329164786","1329164788","1329164796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9b4f2e6679a1c949990874974f62aec2.jpg","text":"TemporaryFile(/tmp/multipartBody49592879918795061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955664700,"filename":"image_10012025_15_08_57_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d421749024c0797b80577ef7f8ea27e.jpg","text":"TemporaryFile(/tmp/multipartBody6915213730222649481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955664700,"filename":"image_10012025_15_16_29_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe63974112da046c12cca000d36a613d.jpg","text":"TemporaryFile(/tmp/multipartBody3741765976848440736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955664700,"filename":"image_10012025_15_05_03_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e1eb2ad9b6fea101687c4247e4d2bc69.jpg","text":"TemporaryFile(/tmp/multipartBody5757564782653821476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955664700,"filename":"image_10012025_15_16_31_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/150f48b5bc3fc16a854408a82dc14586.jpg","text":"TemporaryFile(/tmp/multipartBody4322216026054028537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955664700,"filename":"image_10012025_15_14_09_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/13d5e0fd87d63b16a79ba6c4ca8ccd29.jpg","text":"TemporaryFile(/tmp/multipartBody6684192153257561835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955664700,"filename":"image_10012025_15_08_44_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329164785","file1":"1329164783","file0":"1329164782","file4":"1329164788","file5":"1329164796","file3":"1329164786"},"map_files_photo_id_array":[{"photo_id":"1329164796","filename":"file5"},{"photo_id":"1329164785","filename":"file2"},{"photo_id":"1329164788","filename":"file4"},{"photo_id":"1329164783","filename":"file1"},{"photo_id":"1329164782","filename":"file0"},{"photo_id":"1329164786","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329164785":["hashtag1","hashtag2"]},{"1329164788":["hashtag1","hashtag2"]},{"1329164782":["hashtag1","hashtag2"]},{"1329164796":["hashtag1","hashtag2"]},{"1329164786":["hashtag1","hashtag2"]},{"1329164783":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329164785, 1329164788, 1329164782, 1329164796, 1329164786, 1329164783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48783802986145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:40:42.636557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/34/image_15012025_16_34_16_3527.jpg', '/home/pi/Desktop/images/15012025/16/36/image_15012025_16_36_07_3011.jpg', '/home/pi/Desktop/images/15012025/16/36/image_15012025_16_36_56_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/34/image_15012025_16_34_16_3527.jpg
/home/pi/Desktop/images/15012025/16/36/image_15012025_16_36_07_3011.jpg
/home/pi/Desktop/images/15012025/16/36/image_15012025_16_36_56_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329164826","1329164811","1329164822"],"photo_ids_order":["1329164811","1329164822","1329164826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aed6cd78e9e01bbdae6747eb8485ea21.jpg","text":"TemporaryFile(/tmp/multipartBody7944156419283395024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955703323,"filename":"image_15012025_16_36_56_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/90c0874aff589b8b589b34c76b5587ac.jpg","text":"TemporaryFile(/tmp/multipartBody4712796411686260137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955703323,"filename":"image_15012025_16_34_16_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca7349b38608296d05fad67e3d88bd0d.jpg","text":"TemporaryFile(/tmp/multipartBody1962699727186694790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955703323,"filename":"image_15012025_16_36_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329164826","file1":"1329164822","file0":"1329164811"},"map_files_photo_id_array":[{"photo_id":"1329164826","filename":"file2"},{"photo_id":"1329164822","filename":"file1"},{"photo_id":"1329164811","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329164826":["hashtag1","hashtag2"]},{"1329164811":["hashtag1","hashtag2"]},{"1329164822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329164826, 1329164811, 1329164822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.987017154693604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:41:21.794870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/37/image_15012025_16_37_54_1766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/37/image_15012025_16_37_54_1766.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329164833"],"photo_id":"1329164833","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c2634f87732fd7ce101e62d91a6d2b60.jpg","text":"TemporaryFile(/tmp/multipartBody5413286072238448770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955742315,"filename":"image_15012025_16_37_54_1766.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329164833"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329164833"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.306840181350708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:41:41.832352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_22_2755.jpg', '/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_28_2701.jpg', '/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_01_2595.jpg', '/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_40_2643.jpg', '/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_43_2954.jpg', '/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_16_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/11/14/image_12012025_11_14_22_2755.jpg
/home/pi/Desktop/images/12012025/11/18/image_12012025_11_18_28_2701.jpg
/home/pi/Desktop/images/12012025/11/20/image_12012025_11_20_01_2595.jpg
/home/pi/Desktop/images/12012025/11/23/image_12012025_11_23_40_2643.jpg
/home/pi/Desktop/images/12012025/11/24/image_12012025_11_24_43_2954.jpg
/home/pi/Desktop/images/12012025/11/27/image_12012025_11_27_16_2878.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329164872","1329164883","1329164868","1329164870","1329164852","1329164846"],"photo_ids_order":["1329164846","1329164852","1329164868","1329164870","1329164872","1329164883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d84ae438c1f8532691f45aa14e0af8a.jpg","text":"TemporaryFile(/tmp/multipartBody5361727920429882329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955762889,"filename":"image_12012025_11_24_43_2954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28fa91a31f23ef0a593e0e3e1b313ef5.jpg","text":"TemporaryFile(/tmp/multipartBody53755939634855007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955762889,"filename":"image_12012025_11_27_16_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/685343bd6e636a1da3b9d0a9a7936fe6.jpg","text":"TemporaryFile(/tmp/multipartBody3225066910032479189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955762889,"filename":"image_12012025_11_20_01_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b28a2316e31daf9f0d45586a22ebbadf.jpg","text":"TemporaryFile(/tmp/multipartBody6520584194511358147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955762889,"filename":"image_12012025_11_23_40_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/19badf39e7c8e2cb13819d4fd664043c.jpg","text":"TemporaryFile(/tmp/multipartBody2072181745180091226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955762889,"filename":"image_12012025_11_18_28_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73fb2f40960f815902891dad320ee7ee.jpg","text":"TemporaryFile(/tmp/multipartBody5996250857734722227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955762889,"filename":"image_12012025_11_14_22_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329164868","file1":"1329164852","file0":"1329164846","file4":"1329164872","file5":"1329164883","file3":"1329164870"},"map_files_photo_id_array":[{"photo_id":"1329164883","filename":"file5"},{"photo_id":"1329164868","filename":"file2"},{"photo_id":"1329164872","filename":"file4"},{"photo_id":"1329164852","filename":"file1"},{"photo_id":"1329164846","filename":"file0"},{"photo_id":"1329164870","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329164872":["hashtag1","hashtag2"]},{"1329164883":["hashtag1","hashtag2"]},{"1329164868":["hashtag1","hashtag2"]},{"1329164870":["hashtag1","hashtag2"]},{"1329164852":["hashtag1","hashtag2"]},{"1329164846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329164872, 1329164883, 1329164868, 1329164870, 1329164852, 1329164846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46072053909302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:42:22.267135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/39/image_15012025_16_39_27_1502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/39/image_15012025_16_39_27_1502.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329164908"],"photo_id":"1329164908","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac5e762def4fb952859c3b91510571a7.jpg","text":"TemporaryFile(/tmp/multipartBody1669148904441482106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955802783,"filename":"image_15012025_16_39_27_1502.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329164908"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329164908"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.31624984741211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:42:42.211376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_28_2809.jpg', '/home/pi/Desktop/images/12012025/11/30/image_12012025_11_30_17_2870.jpg', '/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_23_2628.jpg', '/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_20_2628.jpg', '/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_20_2723.jpg', '/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_03_3995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/11/28/image_12012025_11_28_28_2809.jpg
/home/pi/Desktop/images/12012025/11/30/image_12012025_11_30_17_2870.jpg
/home/pi/Desktop/images/12012025/11/31/image_12012025_11_31_23_2628.jpg
/home/pi/Desktop/images/12012025/11/32/image_12012025_11_32_20_2628.jpg
/home/pi/Desktop/images/12012025/11/33/image_12012025_11_33_20_2723.jpg
/home/pi/Desktop/images/12012025/11/34/image_12012025_11_34_03_3995.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329164965","1329164953","1329164962","1329164956","1329164935","1329164960"],"photo_ids_order":["1329164935","1329164953","1329164956","1329164960","1329164962","1329164965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/841bd2da6285d6c89d653a4de2a8c8fc.jpg","text":"TemporaryFile(/tmp/multipartBody2710605579788509027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955823216,"filename":"image_12012025_11_34_03_3995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7c73cadead7310089c91f0c451ba98e.jpg","text":"TemporaryFile(/tmp/multipartBody737250386109769523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955823216,"filename":"image_12012025_11_30_17_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac9c1e7a551120e73e5266e04688c9dd.jpg","text":"TemporaryFile(/tmp/multipartBody6652439458823635866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955823216,"filename":"image_12012025_11_33_20_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a455f615828ef280136d498701d96b96.jpg","text":"TemporaryFile(/tmp/multipartBody2646405560387823966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955823216,"filename":"image_12012025_11_31_23_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a3007279014a40383e279fab019ee6ad.jpg","text":"TemporaryFile(/tmp/multipartBody6233283402254821166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955823216,"filename":"image_12012025_11_28_28_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/85d56061f0f00e0db62e8016a4f66d21.jpg","text":"TemporaryFile(/tmp/multipartBody6894843262342810945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955823216,"filename":"image_12012025_11_32_20_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329164956","file1":"1329164953","file0":"1329164935","file4":"1329164962","file5":"1329164965","file3":"1329164960"},"map_files_photo_id_array":[{"photo_id":"1329164965","filename":"file5"},{"photo_id":"1329164956","filename":"file2"},{"photo_id":"1329164962","filename":"file4"},{"photo_id":"1329164953","filename":"file1"},{"photo_id":"1329164935","filename":"file0"},{"photo_id":"1329164960","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329164965":["hashtag1","hashtag2"]},{"1329164953":["hashtag1","hashtag2"]},{"1329164962":["hashtag1","hashtag2"]},{"1329164956":["hashtag1","hashtag2"]},{"1329164935":["hashtag1","hashtag2"]},{"1329164960":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329164965, 1329164953, 1329164962, 1329164956, 1329164935, 1329164960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25259208679199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:43:22.450870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/42/image_15012025_16_42_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/42/image_15012025_16_42_06_3011.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329164988"],"photo_id":"1329164988","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5d541328ca25c83e4bde6efc0ea05ab.jpg","text":"TemporaryFile(/tmp/multipartBody110437860861963359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955862969,"filename":"image_15012025_16_42_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329164988"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329164988"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.135891914367676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:43:42.382203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/35/image_12012025_11_35_44_2758.jpg', '/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_34_2717.jpg', '/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_23_3759.jpg', '/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_32_2921.jpg', '/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_56_2898.jpg', '/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_32_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/11/35/image_12012025_11_35_44_2758.jpg
/home/pi/Desktop/images/12012025/11/36/image_12012025_11_36_34_2717.jpg
/home/pi/Desktop/images/12012025/11/38/image_12012025_11_38_23_3759.jpg
/home/pi/Desktop/images/12012025/11/40/image_12012025_11_40_32_2921.jpg
/home/pi/Desktop/images/12012025/11/41/image_12012025_11_41_56_2898.jpg
/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_32_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165004","1329165000","1329165023","1329165011","1329165014","1329165008"],"photo_ids_order":["1329165000","1329165004","1329165008","1329165011","1329165014","1329165023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97fc8b84f577caa96be187a19a377669.jpg","text":"TemporaryFile(/tmp/multipartBody929036116682635502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955883421,"filename":"image_12012025_11_36_34_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a43db9239ba9befedfaa316b78f029ee.jpg","text":"TemporaryFile(/tmp/multipartBody6211866932571664788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955883421,"filename":"image_12012025_11_35_44_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31fa92d17edb72abe960512a8aa9f6d6.jpg","text":"TemporaryFile(/tmp/multipartBody5771408715246607077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955883421,"filename":"image_12012025_11_42_32_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/033334eeaf644e9cb6c1ee74b00d448d.jpg","text":"TemporaryFile(/tmp/multipartBody4159588206677162237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955883421,"filename":"image_12012025_11_40_32_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b760c946c4441fd1605bc45244b70f4e.jpg","text":"TemporaryFile(/tmp/multipartBody8670793276422158851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955883421,"filename":"image_12012025_11_41_56_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b6b2cd7eae180bdbac94da8aa49f2cdc.jpg","text":"TemporaryFile(/tmp/multipartBody7166630282989381999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955883421,"filename":"image_12012025_11_38_23_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329165008","file1":"1329165004","file0":"1329165000","file4":"1329165014","file5":"1329165023","file3":"1329165011"},"map_files_photo_id_array":[{"photo_id":"1329165023","filename":"file5"},{"photo_id":"1329165008","filename":"file2"},{"photo_id":"1329165014","filename":"file4"},{"photo_id":"1329165004","filename":"file1"},{"photo_id":"1329165000","filename":"file0"},{"photo_id":"1329165011","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329165004":["hashtag1","hashtag2"]},{"1329165000":["hashtag1","hashtag2"]},{"1329165023":["hashtag1","hashtag2"]},{"1329165011":["hashtag1","hashtag2"]},{"1329165014":["hashtag1","hashtag2"]},{"1329165008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329165004, 1329165000, 1329165023, 1329165011, 1329165014, 1329165008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71204686164856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:44:22.859638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/43/image_15012025_16_43_04_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/43/image_15012025_16_43_04_2717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165048"],"photo_id":"1329165048","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3cde017439615db0c96733c27e7fb3d8.jpg","text":"TemporaryFile(/tmp/multipartBody969237497332535398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955923380,"filename":"image_15012025_16_43_04_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329165048"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329165048"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.05289912223816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:44:42.742540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_50_2685.jpg', '/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_02_2785.jpg', '/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_53_3877.jpg', '/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_50_1781.jpg', '/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_58_3808.jpg', '/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_34_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/11/42/image_12012025_11_42_50_2685.jpg
/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_02_2785.jpg
/home/pi/Desktop/images/12012025/11/44/image_12012025_11_44_53_3877.jpg
/home/pi/Desktop/images/12012025/11/45/image_12012025_11_45_50_1781.jpg
/home/pi/Desktop/images/12012025/11/47/image_12012025_11_47_58_3808.jpg
/home/pi/Desktop/images/12012025/11/49/image_12012025_11_49_34_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165127","1329165135","1329165078","1329165144","1329165074","1329165116"],"photo_ids_order":["1329165074","1329165078","1329165116","1329165127","1329165135","1329165144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad0489b005cba7425925b866dc5b093b.jpg","text":"TemporaryFile(/tmp/multipartBody5953579593824199947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955943772,"filename":"image_12012025_11_45_50_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4bd7e62ad9bcbc259f8ef7e897d20eec.jpg","text":"TemporaryFile(/tmp/multipartBody968112806473902819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955943772,"filename":"image_12012025_11_47_58_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6255e28319fdfa5edd00e502dcbb4ad.jpg","text":"TemporaryFile(/tmp/multipartBody7328765980246193837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955943772,"filename":"image_12012025_11_44_02_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b941b6a753f1d017e9c3e509b1c7f292.jpg","text":"TemporaryFile(/tmp/multipartBody5020208396033625382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955943772,"filename":"image_12012025_11_49_34_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff7043e1a8fd8bc222b6ebfaa751d88c.jpg","text":"TemporaryFile(/tmp/multipartBody4951429108691339850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955943772,"filename":"image_12012025_11_42_50_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9629e4d16c5c8a5dbf80ea71c4781f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5366684701671112438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736955943772,"filename":"image_12012025_11_44_53_3877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329165116","file1":"1329165078","file0":"1329165074","file4":"1329165135","file5":"1329165144","file3":"1329165127"},"map_files_photo_id_array":[{"photo_id":"1329165144","filename":"file5"},{"photo_id":"1329165116","filename":"file2"},{"photo_id":"1329165135","filename":"file4"},{"photo_id":"1329165078","filename":"file1"},{"photo_id":"1329165074","filename":"file0"},{"photo_id":"1329165127","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329165127":["hashtag1","hashtag2"]},{"1329165135":["hashtag1","hashtag2"]},{"1329165078":["hashtag1","hashtag2"]},{"1329165144":["hashtag1","hashtag2"]},{"1329165074":["hashtag1","hashtag2"]},{"1329165116":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329165127, 1329165135, 1329165078, 1329165144, 1329165074, 1329165116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.700849533081055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:45:22.046308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/44/image_15012025_16_44_18_2695.jpg', '/home/pi/Desktop/images/15012025/16/45/image_15012025_16_45_11_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/44/image_15012025_16_44_18_2695.jpg
/home/pi/Desktop/images/15012025/16/45/image_15012025_16_45_11_3579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5037391185760498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:45:41.987627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/44/image_15012025_16_44_18_2695.jpg', '/home/pi/Desktop/images/15012025/16/45/image_15012025_16_45_11_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/44/image_15012025_16_44_18_2695.jpg
/home/pi/Desktop/images/15012025/16/45/image_15012025_16_45_11_3579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165192","1329165183"],"photo_ids_order":["1329165183","1329165192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c86df759af552078ca9ef00a8cdd21c6.jpg","text":"TemporaryFile(/tmp/multipartBody7012168116965415659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956002539,"filename":"image_15012025_16_45_11_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc225260b8cc10ba63d6cdb34d5ef97a.jpg","text":"TemporaryFile(/tmp/multipartBody6494747444522960622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956002539,"filename":"image_15012025_16_44_18_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329165192","file0":"1329165183"},"map_files_photo_id_array":[{"photo_id":"1329165192","filename":"file1"},{"photo_id":"1329165183","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329165192":["hashtag1","hashtag2"]},{"1329165183":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329165192, 1329165183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.244428873062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:46:02.698634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/17/image_10012025_15_17_23_3788.jpg', '/home/pi/Desktop/images/10012025/15/17/image_10012025_15_17_44_2767.jpg', '/home/pi/Desktop/images/10012025/15/19/image_10012025_15_19_05_3897.jpg', '/home/pi/Desktop/images/10012025/15/19/image_10012025_15_19_08_2730.jpg', '/home/pi/Desktop/images/10012025/15/21/image_10012025_15_21_05_2792.jpg', '/home/pi/Desktop/images/10012025/15/22/image_10012025_15_22_28_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/17/image_10012025_15_17_23_3788.jpg
/home/pi/Desktop/images/10012025/15/17/image_10012025_15_17_44_2767.jpg
/home/pi/Desktop/images/10012025/15/19/image_10012025_15_19_05_3897.jpg
/home/pi/Desktop/images/10012025/15/19/image_10012025_15_19_08_2730.jpg
/home/pi/Desktop/images/10012025/15/21/image_10012025_15_21_05_2792.jpg
/home/pi/Desktop/images/10012025/15/22/image_10012025_15_22_28_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165328","1329165402","1329165365","1329165397","1329165355","1329165241"],"photo_ids_order":["1329165241","1329165328","1329165355","1329165365","1329165397","1329165402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e14399ce36c9b69e5dfca99d92ab4a19.jpg","text":"TemporaryFile(/tmp/multipartBody5578280962544934404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956024267,"filename":"image_10012025_15_17_44_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/650b7cafa926c2e77ba94a26c02fd771.jpg","text":"TemporaryFile(/tmp/multipartBody6638186009080009931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956024267,"filename":"image_10012025_15_22_28_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6b1a7f64b9596646adcad525f8341795.jpg","text":"TemporaryFile(/tmp/multipartBody7179873389924038750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956024267,"filename":"image_10012025_15_19_08_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f930e94a47aca7ec6a5ea5760d21cc2.jpg","text":"TemporaryFile(/tmp/multipartBody1954884737408564807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956024267,"filename":"image_10012025_15_21_05_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14885d2f1683caa50ccc1df06aea5da2.jpg","text":"TemporaryFile(/tmp/multipartBody5675077071496334123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956024267,"filename":"image_10012025_15_19_05_3897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8cfd37c5414a2152684e24881faefc21.jpg","text":"TemporaryFile(/tmp/multipartBody7627692218030416823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956024267,"filename":"image_10012025_15_17_23_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329165355","file1":"1329165328","file0":"1329165241","file4":"1329165397","file5":"1329165402","file3":"1329165365"},"map_files_photo_id_array":[{"photo_id":"1329165402","filename":"file5"},{"photo_id":"1329165355","filename":"file2"},{"photo_id":"1329165397","filename":"file4"},{"photo_id":"1329165328","filename":"file1"},{"photo_id":"1329165241","filename":"file0"},{"photo_id":"1329165365","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329165328":["hashtag1","hashtag2"]},{"1329165402":["hashtag1","hashtag2"]},{"1329165365":["hashtag1","hashtag2"]},{"1329165397":["hashtag1","hashtag2"]},{"1329165355":["hashtag1","hashtag2"]},{"1329165241":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329165328, 1329165402, 1329165365, 1329165397, 1329165355, 1329165241)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.46729898452759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:47:02.639840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/45/image_15012025_16_45_47_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/45/image_15012025_16_45_47_2803.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165425"],"photo_id":"1329165425","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/afc5543592d053b39b778af533773850.jpg","text":"TemporaryFile(/tmp/multipartBody1567101096150698866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956083245,"filename":"image_15012025_16_45_47_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329165425"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329165425"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.7750244140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:47:21.846578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/46/image_15012025_16_46_47_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/46/image_15012025_16_46_47_3566.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165436"],"photo_id":"1329165436","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d96d052c39bf238c77a45abfd3017419.jpg","text":"TemporaryFile(/tmp/multipartBody9110221577625476417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956102367,"filename":"image_15012025_16_46_47_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329165436"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329165436"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.528308868408203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:47:41.918093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_01_2713.jpg', '/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_11_3741.jpg', '/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_22_3780.jpg', '/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_04_2786.jpg', '/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_58_2659.jpg', '/home/pi/Desktop/images/12012025/12/01/image_12012025_12_01_34_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/11/54/image_12012025_11_54_01_2713.jpg
/home/pi/Desktop/images/12012025/11/56/image_12012025_11_56_11_3741.jpg
/home/pi/Desktop/images/12012025/11/58/image_12012025_11_58_22_3780.jpg
/home/pi/Desktop/images/12012025/11/59/image_12012025_11_59_04_2786.jpg
/home/pi/Desktop/images/12012025/12/00/image_12012025_12_00_58_2659.jpg
/home/pi/Desktop/images/12012025/12/01/image_12012025_12_01_34_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165463","1329165468","1329165491","1329165488","1329165493","1329165472"],"photo_ids_order":["1329165463","1329165468","1329165472","1329165488","1329165491","1329165493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/43b53e042e3d26ed72db8c2f976f26cf.jpg","text":"TemporaryFile(/tmp/multipartBody2155051660146053337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956122934,"filename":"image_12012025_11_54_01_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f274338e82b7d4ece96649b5fc382a24.jpg","text":"TemporaryFile(/tmp/multipartBody6414014468380994106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956122934,"filename":"image_12012025_11_56_11_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/376b0258665125d6cea11b1eb1d2d6fe.jpg","text":"TemporaryFile(/tmp/multipartBody251196461036231285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956122934,"filename":"image_12012025_12_00_58_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/475b77bcf3a157707dd0fc7246384ebe.jpg","text":"TemporaryFile(/tmp/multipartBody1561164460770659632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956122934,"filename":"image_12012025_11_59_04_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f456c8dcd24f3587b97f60cc724be7a4.jpg","text":"TemporaryFile(/tmp/multipartBody6075715397157302179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956122934,"filename":"image_12012025_12_01_34_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7e82678a5f0e9a474c551a5bb1f70b51.jpg","text":"TemporaryFile(/tmp/multipartBody249096674098925089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956122934,"filename":"image_12012025_11_58_22_3780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329165472","file1":"1329165468","file0":"1329165463","file4":"1329165491","file5":"1329165493","file3":"1329165488"},"map_files_photo_id_array":[{"photo_id":"1329165493","filename":"file5"},{"photo_id":"1329165472","filename":"file2"},{"photo_id":"1329165491","filename":"file4"},{"photo_id":"1329165468","filename":"file1"},{"photo_id":"1329165463","filename":"file0"},{"photo_id":"1329165488","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329165463":["hashtag1","hashtag2"]},{"1329165468":["hashtag1","hashtag2"]},{"1329165491":["hashtag1","hashtag2"]},{"1329165488":["hashtag1","hashtag2"]},{"1329165493":["hashtag1","hashtag2"]},{"1329165472":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329165463, 1329165468, 1329165491, 1329165488, 1329165493, 1329165472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.661834955215454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:48:22.702913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/47/image_15012025_16_47_29_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/47/image_15012025_16_47_29_3677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165496"],"photo_id":"1329165496","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7141a630152b8386c9ab3c09942c9db.jpg","text":"TemporaryFile(/tmp/multipartBody5760820413748499766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956163233,"filename":"image_15012025_16_47_29_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329165496"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329165496"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.288286209106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:48:42.599325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_32_3763.jpg', '/home/pi/Desktop/images/12012025/12/03/image_12012025_12_03_25_2669.jpg', '/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_31_3780.jpg', '/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_28_2873.jpg', '/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_43_2721.jpg', '/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_10_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/12/02/image_12012025_12_02_32_3763.jpg
/home/pi/Desktop/images/12012025/12/03/image_12012025_12_03_25_2669.jpg
/home/pi/Desktop/images/12012025/12/04/image_12012025_12_04_31_3780.jpg
/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_28_2873.jpg
/home/pi/Desktop/images/12012025/12/05/image_12012025_12_05_43_2721.jpg
/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_10_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165535","1329165529","1329165532","1329165534","1329165516","1329165524"],"photo_ids_order":["1329165516","1329165524","1329165529","1329165532","1329165534","1329165535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7c2f618b746e86d47a10920847b793a.jpg","text":"TemporaryFile(/tmp/multipartBody4429129136556676398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956184019,"filename":"image_12012025_12_06_10_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70c51de983c386d0a8b6c5bfdecb80c3.jpg","text":"TemporaryFile(/tmp/multipartBody2105674473085275170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956184019,"filename":"image_12012025_12_04_31_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/35d075130c681d6c010c3999a8168d45.jpg","text":"TemporaryFile(/tmp/multipartBody1296549811772734964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956184019,"filename":"image_12012025_12_05_28_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/703a5bb3ae33584456173402b46dd24e.jpg","text":"TemporaryFile(/tmp/multipartBody1399264407779488202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956184019,"filename":"image_12012025_12_05_43_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80ffd87241257cb3f3d81fdaadd60c18.jpg","text":"TemporaryFile(/tmp/multipartBody6070574906190415928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956184019,"filename":"image_12012025_12_02_32_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/351262bb4ac521b554accbc3772b12e1.jpg","text":"TemporaryFile(/tmp/multipartBody7802750846480832111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956184019,"filename":"image_12012025_12_03_25_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329165529","file1":"1329165524","file0":"1329165516","file4":"1329165534","file5":"1329165535","file3":"1329165532"},"map_files_photo_id_array":[{"photo_id":"1329165535","filename":"file5"},{"photo_id":"1329165529","filename":"file2"},{"photo_id":"1329165534","filename":"file4"},{"photo_id":"1329165524","filename":"file1"},{"photo_id":"1329165516","filename":"file0"},{"photo_id":"1329165532","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329165535":["hashtag1","hashtag2"]},{"1329165529":["hashtag1","hashtag2"]},{"1329165532":["hashtag1","hashtag2"]},{"1329165534":["hashtag1","hashtag2"]},{"1329165516":["hashtag1","hashtag2"]},{"1329165524":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329165535, 1329165529, 1329165532, 1329165534, 1329165516, 1329165524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26314663887024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:49:21.895732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/48/image_15012025_16_48_38_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/48/image_15012025_16_48_38_2720.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165540"],"photo_id":"1329165540","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0867b47de71097042010b2e6c1b541ff.jpg","text":"TemporaryFile(/tmp/multipartBody7050857154135442340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956222459,"filename":"image_15012025_16_48_38_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329165540"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329165540"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.34738826751709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:49:41.809566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_25_3710.jpg', '/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_55_2860.jpg', '/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_34_2982.jpg', '/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_22_2770.jpg', '/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_28_3629.jpg', '/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_11_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_25_3710.jpg
/home/pi/Desktop/images/12012025/12/06/image_12012025_12_06_55_2860.jpg
/home/pi/Desktop/images/12012025/12/07/image_12012025_12_07_34_2982.jpg
/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_22_2770.jpg
/home/pi/Desktop/images/12012025/12/08/image_12012025_12_08_28_3629.jpg
/home/pi/Desktop/images/12012025/12/09/image_12012025_12_09_11_1717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165562","1329165759","1329165750","1329165747","1329165707","1329165568"],"photo_ids_order":["1329165562","1329165568","1329165707","1329165747","1329165750","1329165759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/95ca2f161772f344653ec3efdd02a411.jpg","text":"TemporaryFile(/tmp/multipartBody8751130502630969245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956243118,"filename":"image_12012025_12_06_25_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c04c3c88bac538fa68f92df5d94a99c0.jpg","text":"TemporaryFile(/tmp/multipartBody1412311428985212444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956243118,"filename":"image_12012025_12_09_11_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1c4dac63f90789bd9d530c1722d5d45.jpg","text":"TemporaryFile(/tmp/multipartBody2957134731365402153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956243118,"filename":"image_12012025_12_08_28_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f8afaffc45abc04d6f685dc28eb44bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3875698857998007839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956243118,"filename":"image_12012025_12_08_22_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/96beccc6f76c7830efba94ff20b88dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1961593776510919642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956243118,"filename":"image_12012025_12_07_34_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38ae060e41dc38e028823bc3a57a2a48.jpg","text":"TemporaryFile(/tmp/multipartBody9028924680847078080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956243118,"filename":"image_12012025_12_06_55_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329165707","file1":"1329165568","file0":"1329165562","file4":"1329165750","file5":"1329165759","file3":"1329165747"},"map_files_photo_id_array":[{"photo_id":"1329165759","filename":"file5"},{"photo_id":"1329165707","filename":"file2"},{"photo_id":"1329165750","filename":"file4"},{"photo_id":"1329165568","filename":"file1"},{"photo_id":"1329165562","filename":"file0"},{"photo_id":"1329165747","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329165562":["hashtag1","hashtag2"]},{"1329165759":["hashtag1","hashtag2"]},{"1329165750":["hashtag1","hashtag2"]},{"1329165747":["hashtag1","hashtag2"]},{"1329165707":["hashtag1","hashtag2"]},{"1329165568":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329165562, 1329165759, 1329165750, 1329165747, 1329165707, 1329165568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.672574281692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:50:22.763596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/49/image_15012025_16_49_29_3762.jpg', '/home/pi/Desktop/images/15012025/16/50/image_15012025_16_50_16_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/49/image_15012025_16_49_29_3762.jpg
/home/pi/Desktop/images/15012025/16/50/image_15012025_16_50_16_3536.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165785","1329165790"],"photo_ids_order":["1329165785","1329165790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/105635832a612a80d470593d572ae08e.jpg","text":"TemporaryFile(/tmp/multipartBody3109521390860539296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956283458,"filename":"image_15012025_16_49_29_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58ae48d382f34e8e3759d8d93a444bfd.jpg","text":"TemporaryFile(/tmp/multipartBody7590135982172463386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956283458,"filename":"image_15012025_16_50_16_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329165790","file0":"1329165785"},"map_files_photo_id_array":[{"photo_id":"1329165790","filename":"file1"},{"photo_id":"1329165785","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329165785":["hashtag1","hashtag2"]},{"1329165790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329165785, 1329165790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.811399221420288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:50:42.746255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_24_2801.jpg', '/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_21_2728.jpg', '/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_39_2666.jpg', '/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_51_2749.jpg', '/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_30_3730.jpg', '/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_45_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/12/10/image_12012025_12_10_24_2801.jpg
/home/pi/Desktop/images/12012025/12/12/image_12012025_12_12_21_2728.jpg
/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_39_2666.jpg
/home/pi/Desktop/images/12012025/12/13/image_12012025_12_13_51_2749.jpg
/home/pi/Desktop/images/12012025/12/14/image_12012025_12_14_30_3730.jpg
/home/pi/Desktop/images/12012025/12/15/image_12012025_12_15_45_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165835","1329165829","1329165822","1329165831","1329165818","1329165827"],"photo_ids_order":["1329165818","1329165822","1329165827","1329165829","1329165831","1329165835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de622717da9c0c6f596afef0566b46ac.jpg","text":"TemporaryFile(/tmp/multipartBody5169284229150492506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956303888,"filename":"image_12012025_12_15_45_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/282fb0eac3663c1e59def9025629bebb.jpg","text":"TemporaryFile(/tmp/multipartBody7911911514676944792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956303888,"filename":"image_12012025_12_13_51_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3ea68af29f394840d5a72b5c7210110a.jpg","text":"TemporaryFile(/tmp/multipartBody1435881870002741635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956303888,"filename":"image_12012025_12_12_21_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7e35fbab6cc30b573a50bb95cfcb8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2765382708091192953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956303888,"filename":"image_12012025_12_14_30_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e6ce202decd0b7d552486870c59f2f9c.jpg","text":"TemporaryFile(/tmp/multipartBody2560104225273220064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956303888,"filename":"image_12012025_12_10_24_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a61af49e13d2a60ae84ad453371f1065.jpg","text":"TemporaryFile(/tmp/multipartBody7649673196344615866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956303888,"filename":"image_12012025_12_13_39_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329165827","file1":"1329165822","file0":"1329165818","file4":"1329165831","file5":"1329165835","file3":"1329165829"},"map_files_photo_id_array":[{"photo_id":"1329165835","filename":"file5"},{"photo_id":"1329165827","filename":"file2"},{"photo_id":"1329165831","filename":"file4"},{"photo_id":"1329165822","filename":"file1"},{"photo_id":"1329165818","filename":"file0"},{"photo_id":"1329165829","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329165835":["hashtag1","hashtag2"]},{"1329165829":["hashtag1","hashtag2"]},{"1329165822":["hashtag1","hashtag2"]},{"1329165831":["hashtag1","hashtag2"]},{"1329165818":["hashtag1","hashtag2"]},{"1329165827":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329165835, 1329165829, 1329165822, 1329165831, 1329165818, 1329165827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22308874130249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:51:21.967256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/50/image_15012025_16_50_52_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/50/image_15012025_16_50_52_3644.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329165853"],"photo_id":"1329165853","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0339091a0e41338e0f42915a62809c11.jpg","text":"TemporaryFile(/tmp/multipartBody6827390792503969049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956342500,"filename":"image_15012025_16_50_52_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329165853"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329165853"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.84004521369934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:51:41.916175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_39_2777.jpg', '/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_23_2719.jpg', '/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_03_2731.jpg', '/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_29_2703.jpg', '/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_14_2659.jpg', '/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_47_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/12/16/image_12012025_12_16_39_2777.jpg
/home/pi/Desktop/images/12012025/12/17/image_12012025_12_17_23_2719.jpg
/home/pi/Desktop/images/12012025/12/18/image_12012025_12_18_03_2731.jpg
/home/pi/Desktop/images/12012025/12/22/image_12012025_12_22_29_2703.jpg
/home/pi/Desktop/images/12012025/12/25/image_12012025_12_25_14_2659.jpg
/home/pi/Desktop/images/12012025/12/26/image_12012025_12_26_47_2797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166068","1329166047","1329166050","1329166052","1329166042","1329166036"],"photo_ids_order":["1329166036","1329166042","1329166047","1329166050","1329166052","1329166068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7e9238e1bbf44edb82ad35e8f19aec5e.jpg","text":"TemporaryFile(/tmp/multipartBody6806708107090763190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956362955,"filename":"image_12012025_12_26_47_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06c86fc067de977b1b7c36427415d3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3250147919089293764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956362955,"filename":"image_12012025_12_18_03_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9299c7d0644d3fe2ef3ba4954858aa02.jpg","text":"TemporaryFile(/tmp/multipartBody6210981957527866843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956362955,"filename":"image_12012025_12_22_29_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a19f67d7d742c7448e834a3308348d23.jpg","text":"TemporaryFile(/tmp/multipartBody5253685646256603234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956362955,"filename":"image_12012025_12_25_14_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea43e578dbe23daf1c839f8a574b5b24.jpg","text":"TemporaryFile(/tmp/multipartBody5901399825061317299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956362955,"filename":"image_12012025_12_17_23_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d3a2ffb3c43eb673eea3280313b8965.jpg","text":"TemporaryFile(/tmp/multipartBody713429064394829556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956362955,"filename":"image_12012025_12_16_39_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329166047","file1":"1329166042","file0":"1329166036","file4":"1329166052","file5":"1329166068","file3":"1329166050"},"map_files_photo_id_array":[{"photo_id":"1329166068","filename":"file5"},{"photo_id":"1329166047","filename":"file2"},{"photo_id":"1329166052","filename":"file4"},{"photo_id":"1329166042","filename":"file1"},{"photo_id":"1329166036","filename":"file0"},{"photo_id":"1329166050","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329166068":["hashtag1","hashtag2"]},{"1329166047":["hashtag1","hashtag2"]},{"1329166050":["hashtag1","hashtag2"]},{"1329166052":["hashtag1","hashtag2"]},{"1329166042":["hashtag1","hashtag2"]},{"1329166036":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329166068, 1329166047, 1329166050, 1329166052, 1329166042, 1329166036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68757605552673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:52:22.739444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/51/image_15012025_16_51_52_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/51/image_15012025_16_51_52_3692.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166106"],"photo_id":"1329166106","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/106635bcefa5c1022038313a089f8f8e.jpg","text":"TemporaryFile(/tmp/multipartBody3592578971703199211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956403262,"filename":"image_15012025_16_51_52_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329166106"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329166106"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.676603078842163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:52:42.624149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_26_2759.jpg', '/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_09_2780.jpg', '/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_31_2665.jpg', '/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_30_2637.jpg', '/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_59_2712.jpg', '/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_50_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/12/34/image_12012025_12_34_26_2759.jpg
/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_09_2780.jpg
/home/pi/Desktop/images/12012025/12/39/image_12012025_12_39_31_2665.jpg
/home/pi/Desktop/images/12012025/12/45/image_12012025_12_45_30_2637.jpg
/home/pi/Desktop/images/12012025/12/50/image_12012025_12_50_59_2712.jpg
/home/pi/Desktop/images/12012025/12/56/image_12012025_12_56_50_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166176","1329166170","1329166173","1329166160","1329166168","1329166165"],"photo_ids_order":["1329166160","1329166165","1329166168","1329166170","1329166173","1329166176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d63e2e467c25d0a289c1c50bfc266fa.jpg","text":"TemporaryFile(/tmp/multipartBody4634536950014228870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956423682,"filename":"image_12012025_12_56_50_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4ad0fc0d9d2270aebc9901a5f79c72ef.jpg","text":"TemporaryFile(/tmp/multipartBody4906797574375898303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956423682,"filename":"image_12012025_12_45_30_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c85b68ef35e0ed510b61a1eb090869b.jpg","text":"TemporaryFile(/tmp/multipartBody7199558151793499274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956423682,"filename":"image_12012025_12_50_59_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c152d618db347baaa7b7385185bae7d.jpg","text":"TemporaryFile(/tmp/multipartBody5600240706279973819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956423682,"filename":"image_12012025_12_34_26_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/312f7870239b69fd927175ee8bd8648a.jpg","text":"TemporaryFile(/tmp/multipartBody673764801836328899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956423682,"filename":"image_12012025_12_39_31_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ba2e47bd7dba2e9cb24adfa25006ad2.jpg","text":"TemporaryFile(/tmp/multipartBody319697514355933881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956423682,"filename":"image_12012025_12_39_09_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329166168","file1":"1329166165","file0":"1329166160","file4":"1329166173","file5":"1329166176","file3":"1329166170"},"map_files_photo_id_array":[{"photo_id":"1329166176","filename":"file5"},{"photo_id":"1329166168","filename":"file2"},{"photo_id":"1329166173","filename":"file4"},{"photo_id":"1329166165","filename":"file1"},{"photo_id":"1329166160","filename":"file0"},{"photo_id":"1329166170","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329166176":["hashtag1","hashtag2"]},{"1329166170":["hashtag1","hashtag2"]},{"1329166173":["hashtag1","hashtag2"]},{"1329166160":["hashtag1","hashtag2"]},{"1329166168":["hashtag1","hashtag2"]},{"1329166165":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329166176, 1329166170, 1329166173, 1329166160, 1329166168, 1329166165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81354594230652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:53:21.959082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/52/image_15012025_16_52_55_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/52/image_15012025_16_52_55_2811.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43941569328308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:53:41.953184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/52/image_15012025_16_52_55_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/52/image_15012025_16_52_55_2811.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166208"],"photo_id":"1329166208","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b54d0c51bf87b139d1aad2c5864b765f.jpg","text":"TemporaryFile(/tmp/multipartBody3960468198176144870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956482504,"filename":"image_15012025_16_52_55_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329166208"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329166208"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.777023315429688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:54:03.381437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_16_2896.jpg', '/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_19_2726.jpg', '/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_31_2601.jpg', '/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_35_3786.jpg', '/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_37_2691.jpg', '/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_40_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_16_2896.jpg
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_19_2726.jpg
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_31_2601.jpg
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_35_3786.jpg
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_37_2691.jpg
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_40_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166275","1329166278","1329166272","1329166280","1329166267","1329166225"],"photo_ids_order":["1329166225","1329166267","1329166272","1329166275","1329166278","1329166280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e1c63af581722a129846797b3708e954.jpg","text":"TemporaryFile(/tmp/multipartBody8862471050161117170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956504935,"filename":"image_10012025_15_35_35_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b53736481d57ea853cae8af48275ec1a.jpg","text":"TemporaryFile(/tmp/multipartBody4394679443463221347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956504935,"filename":"image_10012025_15_35_37_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1560cac7a3fbdbe26ca2f57ec9ad1156.jpg","text":"TemporaryFile(/tmp/multipartBody908017303325539312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956504935,"filename":"image_10012025_15_35_31_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3c8639745882db31bf90bdde8d66692.jpg","text":"TemporaryFile(/tmp/multipartBody5355371234798142862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956504935,"filename":"image_10012025_15_35_40_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5715b8b1d056a01fa1e57498598b840f.jpg","text":"TemporaryFile(/tmp/multipartBody8903199268223346634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956504935,"filename":"image_10012025_15_35_19_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/844ea0de566362fd013cfdc74cfb3b98.jpg","text":"TemporaryFile(/tmp/multipartBody2322244682510258567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956504935,"filename":"image_10012025_15_35_16_2896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329166272","file1":"1329166267","file0":"1329166225","file4":"1329166278","file5":"1329166280","file3":"1329166275"},"map_files_photo_id_array":[{"photo_id":"1329166280","filename":"file5"},{"photo_id":"1329166272","filename":"file2"},{"photo_id":"1329166278","filename":"file4"},{"photo_id":"1329166267","filename":"file1"},{"photo_id":"1329166225","filename":"file0"},{"photo_id":"1329166275","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329166275":["hashtag1","hashtag2"]},{"1329166278":["hashtag1","hashtag2"]},{"1329166272":["hashtag1","hashtag2"]},{"1329166280":["hashtag1","hashtag2"]},{"1329166267":["hashtag1","hashtag2"]},{"1329166225":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329166275, 1329166278, 1329166272, 1329166280, 1329166267, 1329166225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64420557022095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:54:42.558187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_01_2772.jpg', '/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_10_2653.jpg', '/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_12_2576.jpg', '/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_16_3694.jpg', '/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_19_2670.jpg', '/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_21_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_01_2772.jpg
/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_10_2653.jpg
/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_12_2576.jpg
/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_16_3694.jpg
/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_19_2670.jpg
/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_21_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166299","1329166317","1329166310","1329166313","1329166315","1329166318"],"photo_ids_order":["1329166299","1329166310","1329166313","1329166315","1329166317","1329166318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/60776a5b964f090dfa6196b48613f25c.jpg","text":"TemporaryFile(/tmp/multipartBody6559802680170766054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956543237,"filename":"image_15012025_16_54_01_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a1a7ef50fd73c2505323b7eda4d4e29d.jpg","text":"TemporaryFile(/tmp/multipartBody9057602459080379311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956543237,"filename":"image_15012025_16_54_19_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6baa1304bc77513018f666e151ed5148.jpg","text":"TemporaryFile(/tmp/multipartBody7280555890811780993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956543237,"filename":"image_15012025_16_54_10_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e06990778cf0523ecb66d5ea6122b7a.jpg","text":"TemporaryFile(/tmp/multipartBody3964688167031856160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956543237,"filename":"image_15012025_16_54_12_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab71ec5d750a65fa3d2145e1cb1e400f.jpg","text":"TemporaryFile(/tmp/multipartBody8484995883539189596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956543237,"filename":"image_15012025_16_54_16_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca1ee1d45d0d7ff857c9d747362ab2b1.jpg","text":"TemporaryFile(/tmp/multipartBody2440666443283689285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956543237,"filename":"image_15012025_16_54_21_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329166313","file1":"1329166310","file0":"1329166299","file4":"1329166317","file5":"1329166318","file3":"1329166315"},"map_files_photo_id_array":[{"photo_id":"1329166318","filename":"file5"},{"photo_id":"1329166313","filename":"file2"},{"photo_id":"1329166317","filename":"file4"},{"photo_id":"1329166310","filename":"file1"},{"photo_id":"1329166299","filename":"file0"},{"photo_id":"1329166315","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329166299":["hashtag1","hashtag2"]},{"1329166317":["hashtag1","hashtag2"]},{"1329166310":["hashtag1","hashtag2"]},{"1329166313":["hashtag1","hashtag2"]},{"1329166315":["hashtag1","hashtag2"]},{"1329166318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329166299, 1329166317, 1329166310, 1329166313, 1329166315, 1329166318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44480586051941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:55:22.208057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_25_3530.jpg', '/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_34_3580.jpg', '/home/pi/Desktop/images/15012025/16/55/image_15012025_16_55_14_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_25_3530.jpg
/home/pi/Desktop/images/15012025/16/54/image_15012025_16_54_34_3580.jpg
/home/pi/Desktop/images/15012025/16/55/image_15012025_16_55_14_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166338","1329166326","1329166322"],"photo_ids_order":["1329166322","1329166326","1329166338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/edfd3b4d4acbcd40ccda28be089badea.jpg","text":"TemporaryFile(/tmp/multipartBody3443637443685885702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956582799,"filename":"image_15012025_16_55_14_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7f48b54192433c334fdc43566c69e3d4.jpg","text":"TemporaryFile(/tmp/multipartBody3686306557494450906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956582799,"filename":"image_15012025_16_54_34_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29fa8fa746000f8c2c6586fb9dcc7a65.jpg","text":"TemporaryFile(/tmp/multipartBody7588939672844659001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956582799,"filename":"image_15012025_16_54_25_3530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329166338","file1":"1329166326","file0":"1329166322"},"map_files_photo_id_array":[{"photo_id":"1329166338","filename":"file2"},{"photo_id":"1329166326","filename":"file1"},{"photo_id":"1329166322","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329166338":["hashtag1","hashtag2"]},{"1329166326":["hashtag1","hashtag2"]},{"1329166322":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329166338, 1329166326, 1329166322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.349563121795654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:56:03.356559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_44_3561.jpg', '/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_46_2828.jpg', '/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_49_2649.jpg', '/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_52_2869.jpg', '/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_56_3599.jpg', '/home/pi/Desktop/images/10012025/15/36/image_10012025_15_36_04_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_44_3561.jpg
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_46_2828.jpg
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_49_2649.jpg
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_52_2869.jpg
/home/pi/Desktop/images/10012025/15/35/image_10012025_15_35_56_3599.jpg
/home/pi/Desktop/images/10012025/15/36/image_10012025_15_36_04_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166374","1329166371","1329166368","1329166366","1329166369","1329166363"],"photo_ids_order":["1329166363","1329166366","1329166368","1329166369","1329166371","1329166374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/505ada719f393b24cbbd80976b00e9e9.jpg","text":"TemporaryFile(/tmp/multipartBody8380277272766042484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956624999,"filename":"image_10012025_15_36_04_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4fcf8e5bee8394f8db4b9349b9563e8d.jpg","text":"TemporaryFile(/tmp/multipartBody1777130887376873502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956624999,"filename":"image_10012025_15_35_56_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e42114f2939a29c560db5f5ff594f514.jpg","text":"TemporaryFile(/tmp/multipartBody6080787595961588941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956624999,"filename":"image_10012025_15_35_49_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5b47d8d8f057b529b5189b55968f127.jpg","text":"TemporaryFile(/tmp/multipartBody3735387122019205727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956624999,"filename":"image_10012025_15_35_46_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3fdf9d3b1c8b27357cd1060a0dd34808.jpg","text":"TemporaryFile(/tmp/multipartBody7105969058454037484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956624999,"filename":"image_10012025_15_35_52_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9552d9549f1e39e1ab100d4f9b68b33c.jpg","text":"TemporaryFile(/tmp/multipartBody8199761389790580043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956624999,"filename":"image_10012025_15_35_44_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329166368","file1":"1329166366","file0":"1329166363","file4":"1329166371","file5":"1329166374","file3":"1329166369"},"map_files_photo_id_array":[{"photo_id":"1329166374","filename":"file5"},{"photo_id":"1329166368","filename":"file2"},{"photo_id":"1329166371","filename":"file4"},{"photo_id":"1329166366","filename":"file1"},{"photo_id":"1329166363","filename":"file0"},{"photo_id":"1329166369","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329166374":["hashtag1","hashtag2"]},{"1329166371":["hashtag1","hashtag2"]},{"1329166368":["hashtag1","hashtag2"]},{"1329166366":["hashtag1","hashtag2"]},{"1329166369":["hashtag1","hashtag2"]},{"1329166363":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329166374, 1329166371, 1329166368, 1329166366, 1329166369, 1329166363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19063878059387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:56:42.722277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/55/image_15012025_16_55_53_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/55/image_15012025_16_55_53_3751.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166389"],"photo_id":"1329166389","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2cf18838ac06603bd7356c80a39de02e.jpg","text":"TemporaryFile(/tmp/multipartBody5691837619874029168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956663264,"filename":"image_15012025_16_55_53_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329166389"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329166389"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.65456509590149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:57:03.261144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/36/image_10012025_15_36_08_3652.jpg', '/home/pi/Desktop/images/10012025/15/36/image_10012025_15_36_22_2729.jpg', '/home/pi/Desktop/images/10012025/15/36/image_10012025_15_36_49_2617.jpg', '/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_22_2866.jpg', '/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_31_3559.jpg', '/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_38_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/36/image_10012025_15_36_08_3652.jpg
/home/pi/Desktop/images/10012025/15/36/image_10012025_15_36_22_2729.jpg
/home/pi/Desktop/images/10012025/15/36/image_10012025_15_36_49_2617.jpg
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_22_2866.jpg
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_31_3559.jpg
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_38_3541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166428","1329166421","1329166424","1329166426","1329166423","1329166417"],"photo_ids_order":["1329166417","1329166421","1329166423","1329166424","1329166426","1329166428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bd32de04e7a7321b23dc7347c0e08bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5410750455238707732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956684936,"filename":"image_10012025_15_37_38_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6447d01a3380d772534b920a492df871.jpg","text":"TemporaryFile(/tmp/multipartBody1323573184705929617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956684936,"filename":"image_10012025_15_36_22_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/601b6b614eadd2ff0786a4c67774d7ea.jpg","text":"TemporaryFile(/tmp/multipartBody6860613827216192085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956684936,"filename":"image_10012025_15_37_22_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a9f0d196dd120e939d90aeac9c580cb.jpg","text":"TemporaryFile(/tmp/multipartBody7115034200412462592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956684936,"filename":"image_10012025_15_37_31_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/394e55505bd49e4e7dbde3c846aa9a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4371420787476875537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956684936,"filename":"image_10012025_15_36_49_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/397c7f98a7e432e5c0f02c709863d8fe.jpg","text":"TemporaryFile(/tmp/multipartBody1159593481946004551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956684936,"filename":"image_10012025_15_36_08_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329166423","file1":"1329166421","file0":"1329166417","file4":"1329166426","file5":"1329166428","file3":"1329166424"},"map_files_photo_id_array":[{"photo_id":"1329166428","filename":"file5"},{"photo_id":"1329166423","filename":"file2"},{"photo_id":"1329166426","filename":"file4"},{"photo_id":"1329166421","filename":"file1"},{"photo_id":"1329166417","filename":"file0"},{"photo_id":"1329166424","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329166428":["hashtag1","hashtag2"]},{"1329166421":["hashtag1","hashtag2"]},{"1329166424":["hashtag1","hashtag2"]},{"1329166426":["hashtag1","hashtag2"]},{"1329166423":["hashtag1","hashtag2"]},{"1329166417":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329166428, 1329166421, 1329166424, 1329166426, 1329166423, 1329166417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6235716342926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:57:42.538241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/56/image_15012025_16_56_41_2577.jpg', '/home/pi/Desktop/images/15012025/16/57/image_15012025_16_57_01_2739.jpg', '/home/pi/Desktop/images/15012025/16/57/image_15012025_16_57_05_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/56/image_15012025_16_56_41_2577.jpg
/home/pi/Desktop/images/15012025/16/57/image_15012025_16_57_01_2739.jpg
/home/pi/Desktop/images/15012025/16/57/image_15012025_16_57_05_3636.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166485","1329166477","1329166456"],"photo_ids_order":["1329166456","1329166477","1329166485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2cfd839a422869195da5821744150e7.jpg","text":"TemporaryFile(/tmp/multipartBody8196902102855265422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956723153,"filename":"image_15012025_16_57_05_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/269b57be2ee7fab44c03e4c63b34c1f2.jpg","text":"TemporaryFile(/tmp/multipartBody2996647271530775755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956723153,"filename":"image_15012025_16_57_01_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f82cd3e34cec2a715bde3e3bfe14d67f.jpg","text":"TemporaryFile(/tmp/multipartBody2634909137843152760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956723153,"filename":"image_15012025_16_56_41_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329166485","file1":"1329166477","file0":"1329166456"},"map_files_photo_id_array":[{"photo_id":"1329166485","filename":"file2"},{"photo_id":"1329166477","filename":"file1"},{"photo_id":"1329166456","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329166485":["hashtag1","hashtag2"]},{"1329166477":["hashtag1","hashtag2"]},{"1329166456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329166485, 1329166477, 1329166456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.470821380615234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 16:59:03.602624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/57/image_15012025_16_57_08_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/57/image_15012025_16_57_08_2752.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166867"],"photo_id":"1329166867","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2a6a4d4d0a9ef80b33187d0f66e71cc.jpg","text":"TemporaryFile(/tmp/multipartBody201359022669927512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956804315,"filename":"image_15012025_16_57_08_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329166867"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329166867"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.232404470443726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 16:59:22.490500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/58/image_15012025_16_58_17_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/58/image_15012025_16_58_17_3678.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329166892"],"photo_id":"1329166892","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28be7e975d8bd6248aa0bbecd40bf420.jpg","text":"TemporaryFile(/tmp/multipartBody4092367054735209379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956823074,"filename":"image_15012025_16_58_17_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329166892"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329166892"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.010838031768799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 16:59:42.518626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_28_2766.jpg', '/home/pi/Desktop/images/12012025/13/08/image_12012025_13_08_34_3664.jpg', '/home/pi/Desktop/images/12012025/13/14/image_12012025_13_14_03_2764.jpg', '/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_32_3018.jpg', '/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_38_2764.jpg', '/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_38_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/13/05/image_12012025_13_05_28_2766.jpg
/home/pi/Desktop/images/12012025/13/08/image_12012025_13_08_34_3664.jpg
/home/pi/Desktop/images/12012025/13/14/image_12012025_13_14_03_2764.jpg
/home/pi/Desktop/images/12012025/13/19/image_12012025_13_19_32_3018.jpg
/home/pi/Desktop/images/12012025/13/23/image_12012025_13_23_38_2764.jpg
/home/pi/Desktop/images/12012025/13/28/image_12012025_13_28_38_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167204","1329167228","1329167207","1329167201","1329167286","1329167169"],"photo_ids_order":["1329167169","1329167201","1329167204","1329167207","1329167228","1329167286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/68e9b2c5662af31e55370961de7b1801.jpg","text":"TemporaryFile(/tmp/multipartBody6664181410184297848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956843514,"filename":"image_12012025_13_14_03_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5029df4be73da86e57ccee7d4b3e03e1.jpg","text":"TemporaryFile(/tmp/multipartBody1891128001481784026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956843514,"filename":"image_12012025_13_23_38_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/defd5e3b6e5cd4e967f702fc37b2ac98.jpg","text":"TemporaryFile(/tmp/multipartBody6775149381723183175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956843514,"filename":"image_12012025_13_19_32_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/446192e4dbc448cc730bdc7ccd516c42.jpg","text":"TemporaryFile(/tmp/multipartBody3175443050541835827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956843514,"filename":"image_12012025_13_08_34_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0354ba46d2f7297ddc6b48aa8104e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody2925792777899271158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956843514,"filename":"image_12012025_13_28_38_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2141ca1fccdbda7cc4bd5bc757530b83.jpg","text":"TemporaryFile(/tmp/multipartBody6777879571744409139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956843514,"filename":"image_12012025_13_05_28_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329167204","file1":"1329167201","file0":"1329167169","file4":"1329167228","file5":"1329167286","file3":"1329167207"},"map_files_photo_id_array":[{"photo_id":"1329167286","filename":"file5"},{"photo_id":"1329167204","filename":"file2"},{"photo_id":"1329167228","filename":"file4"},{"photo_id":"1329167201","filename":"file1"},{"photo_id":"1329167169","filename":"file0"},{"photo_id":"1329167207","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329167204":["hashtag1","hashtag2"]},{"1329167228":["hashtag1","hashtag2"]},{"1329167207":["hashtag1","hashtag2"]},{"1329167201":["hashtag1","hashtag2"]},{"1329167286":["hashtag1","hashtag2"]},{"1329167169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329167204, 1329167228, 1329167207, 1329167201, 1329167286, 1329167169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.328065395355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:00:22.809684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/16/59/image_15012025_16_59_16_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/16/59/image_15012025_16_59_16_2582.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167339"],"photo_id":"1329167339","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e9842679c18e0180aa52f8b0b9d35760.jpg","text":"TemporaryFile(/tmp/multipartBody6956399353608211032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956883335,"filename":"image_15012025_16_59_16_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329167339"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329167339"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.539886474609375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:00:42.750625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_17_2740.jpg', '/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_44_2899.jpg', '/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_25_2631.jpg', '/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_43_3751.jpg', '/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_15_2928.jpg', '/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_12_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/13/31/image_12012025_13_31_17_2740.jpg
/home/pi/Desktop/images/12012025/13/33/image_12012025_13_33_44_2899.jpg
/home/pi/Desktop/images/12012025/13/40/image_12012025_13_40_25_2631.jpg
/home/pi/Desktop/images/12012025/13/41/image_12012025_13_41_43_3751.jpg
/home/pi/Desktop/images/12012025/13/43/image_12012025_13_43_15_2928.jpg
/home/pi/Desktop/images/12012025/13/48/image_12012025_13_48_12_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167585","1329167570","1329167546","1329167578","1329167467","1329167553"],"photo_ids_order":["1329167467","1329167546","1329167553","1329167570","1329167578","1329167585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/193671f916fd12259950481cddf426c8.jpg","text":"TemporaryFile(/tmp/multipartBody9126615385168453279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956903717,"filename":"image_12012025_13_48_12_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58253a13b65e9ec22da80f60645e433d.jpg","text":"TemporaryFile(/tmp/multipartBody8939973756928978918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956903717,"filename":"image_12012025_13_41_43_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c6bce882883d446f5734912d39965d4d.jpg","text":"TemporaryFile(/tmp/multipartBody333909333219685045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956903717,"filename":"image_12012025_13_33_44_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b52bcac8a4952e4e2573a98472ec271.jpg","text":"TemporaryFile(/tmp/multipartBody6015820267998577932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956903717,"filename":"image_12012025_13_43_15_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48a075c69861e9ac2cb815deb25ff634.jpg","text":"TemporaryFile(/tmp/multipartBody752048629264719149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956903717,"filename":"image_12012025_13_31_17_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/faf945cd246a905affab2a7f6d028cf8.jpg","text":"TemporaryFile(/tmp/multipartBody4316244036418462856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956903717,"filename":"image_12012025_13_40_25_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329167553","file1":"1329167546","file0":"1329167467","file4":"1329167578","file5":"1329167585","file3":"1329167570"},"map_files_photo_id_array":[{"photo_id":"1329167585","filename":"file5"},{"photo_id":"1329167553","filename":"file2"},{"photo_id":"1329167578","filename":"file4"},{"photo_id":"1329167546","filename":"file1"},{"photo_id":"1329167467","filename":"file0"},{"photo_id":"1329167570","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329167585":["hashtag1","hashtag2"]},{"1329167570":["hashtag1","hashtag2"]},{"1329167546":["hashtag1","hashtag2"]},{"1329167578":["hashtag1","hashtag2"]},{"1329167467":["hashtag1","hashtag2"]},{"1329167553":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329167585, 1329167570, 1329167546, 1329167578, 1329167467, 1329167553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68871712684631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:01:21.993887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/00/image_15012025_17_00_23_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/00/image_15012025_17_00_23_2631.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167597"],"photo_id":"1329167597","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c31bcb6d2cdaa3219a79b1dbf7e01343.jpg","text":"TemporaryFile(/tmp/multipartBody2976194826278147182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956942515,"filename":"image_15012025_17_00_23_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329167597"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329167597"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.466957569122314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:01:41.882933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/13/54/image_12012025_13_54_05_2767.jpg', '/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_36_1667.jpg', '/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_07_2671.jpg', '/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_19_3719.jpg', '/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_22_2590.jpg', '/home/pi/Desktop/images/12012025/14/09/image_12012025_14_10_01_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/13/54/image_12012025_13_54_05_2767.jpg
/home/pi/Desktop/images/12012025/13/58/image_12012025_13_58_36_1667.jpg
/home/pi/Desktop/images/12012025/14/04/image_12012025_14_04_07_2671.jpg
/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_19_3719.jpg
/home/pi/Desktop/images/12012025/14/09/image_12012025_14_09_22_2590.jpg
/home/pi/Desktop/images/12012025/14/09/image_12012025_14_10_01_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167622","1329167625","1329167610","1329167630","1329167615","1329167618"],"photo_ids_order":["1329167610","1329167615","1329167618","1329167622","1329167625","1329167630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/89a9d7b0affe534380af8f248089c627.jpg","text":"TemporaryFile(/tmp/multipartBody7551350757255650157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956962915,"filename":"image_12012025_14_09_19_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/693c7663906a169ff6ca7281a134c066.jpg","text":"TemporaryFile(/tmp/multipartBody826382045595201886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956962915,"filename":"image_12012025_14_09_22_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9da675bbaf5e46c218cda5deedf787f7.jpg","text":"TemporaryFile(/tmp/multipartBody8889869514152881831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956962915,"filename":"image_12012025_13_54_05_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd8864ae9c28e78da432071bb226aec2.jpg","text":"TemporaryFile(/tmp/multipartBody3361228631841887402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956962915,"filename":"image_12012025_14_10_01_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c9f704ab94941a1147128a371816b137.jpg","text":"TemporaryFile(/tmp/multipartBody1734046340790731846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956962915,"filename":"image_12012025_13_58_36_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cafd6d89b6b36faef33c353b7b07ad72.jpg","text":"TemporaryFile(/tmp/multipartBody1588237284969869472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736956962915,"filename":"image_12012025_14_04_07_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329167618","file1":"1329167615","file0":"1329167610","file4":"1329167625","file5":"1329167630","file3":"1329167622"},"map_files_photo_id_array":[{"photo_id":"1329167630","filename":"file5"},{"photo_id":"1329167618","filename":"file2"},{"photo_id":"1329167625","filename":"file4"},{"photo_id":"1329167615","filename":"file1"},{"photo_id":"1329167610","filename":"file0"},{"photo_id":"1329167622","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329167622":["hashtag1","hashtag2"]},{"1329167625":["hashtag1","hashtag2"]},{"1329167610":["hashtag1","hashtag2"]},{"1329167630":["hashtag1","hashtag2"]},{"1329167615":["hashtag1","hashtag2"]},{"1329167618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329167622, 1329167625, 1329167610, 1329167630, 1329167615, 1329167618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17788863182068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:02:22.805691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_40_2668.jpg', '/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_47_3672.jpg', '/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_55_2773.jpg', '/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_58_2772.jpg', '/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_37_3637.jpg', '/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_46_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_40_2668.jpg
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_47_3672.jpg
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_55_2773.jpg
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_58_2772.jpg
/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_37_3637.jpg
/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_46_2636.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.2051892280578613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:02:42.869370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_04_2774.jpg', '/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_07_2844.jpg', '/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_10_2737.jpg', '/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_13_3821.jpg', '/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_01_2927.jpg', '/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_04_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_04_2774.jpg
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_07_2844.jpg
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_10_2737.jpg
/home/pi/Desktop/images/12012025/14/10/image_12012025_14_10_13_3821.jpg
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_01_2927.jpg
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_04_2773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167657","1329167672","1329167665","1329167668","1329167647","1329167673"],"photo_ids_order":["1329167647","1329167657","1329167665","1329167668","1329167672","1329167673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f283e61e0b6302cf4b3f68cba5da6b3.jpg","text":"TemporaryFile(/tmp/multipartBody4104345970343150294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957024301,"filename":"image_12012025_14_10_07_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6564a9b1950d774bdc6d1c7cdf7560fd.jpg","text":"TemporaryFile(/tmp/multipartBody3875693231253762213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957024301,"filename":"image_12012025_14_11_01_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/597e51351377c7431f338ec52921216e.jpg","text":"TemporaryFile(/tmp/multipartBody5276627149490870477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957024301,"filename":"image_12012025_14_10_10_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dcb80104bab7acc9a30b5daf087c24e3.jpg","text":"TemporaryFile(/tmp/multipartBody8967573304334517777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957024301,"filename":"image_12012025_14_10_13_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/69c5be7bf1f03455aa445053bf26825d.jpg","text":"TemporaryFile(/tmp/multipartBody2509088256468646098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957024301,"filename":"image_12012025_14_10_04_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b7df24a7053e1e9725dfcc51fe7d3ca.jpg","text":"TemporaryFile(/tmp/multipartBody3631423570781389498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957024301,"filename":"image_12012025_14_11_04_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329167665","file1":"1329167657","file0":"1329167647","file4":"1329167672","file5":"1329167673","file3":"1329167668"},"map_files_photo_id_array":[{"photo_id":"1329167673","filename":"file5"},{"photo_id":"1329167665","filename":"file2"},{"photo_id":"1329167672","filename":"file4"},{"photo_id":"1329167657","filename":"file1"},{"photo_id":"1329167647","filename":"file0"},{"photo_id":"1329167668","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329167657":["hashtag1","hashtag2"]},{"1329167672":["hashtag1","hashtag2"]},{"1329167665":["hashtag1","hashtag2"]},{"1329167668":["hashtag1","hashtag2"]},{"1329167647":["hashtag1","hashtag2"]},{"1329167673":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329167657, 1329167672, 1329167665, 1329167668, 1329167647, 1329167673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.253145694732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:03:41.990798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/01/image_15012025_17_01_56_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/01/image_15012025_17_01_56_2585.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167712"],"photo_id":"1329167712","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88ad9cfc88c9fca4aea5994ea0d19522.jpg","text":"TemporaryFile(/tmp/multipartBody313125461770419428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957082544,"filename":"image_15012025_17_01_56_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329167712"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329167712"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.905978918075562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:04:03.569690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_40_2668.jpg', '/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_47_3672.jpg', '/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_55_2773.jpg', '/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_58_2772.jpg', '/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_37_3637.jpg', '/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_46_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_40_2668.jpg
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_47_3672.jpg
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_55_2773.jpg
/home/pi/Desktop/images/10012025/15/37/image_10012025_15_37_58_2772.jpg
/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_37_3637.jpg
/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_46_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167760","1329167754","1329167748","1329167750","1329167752","1329167758"],"photo_ids_order":["1329167748","1329167750","1329167752","1329167754","1329167758","1329167760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a960b3fd9b62a28164b4176c63b8ec09.jpg","text":"TemporaryFile(/tmp/multipartBody101887299935382534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957105055,"filename":"image_10012025_15_38_46_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c88022cd50f3f392102f7a9df49f693.jpg","text":"TemporaryFile(/tmp/multipartBody9082803264069800953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957105055,"filename":"image_10012025_15_37_58_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd8b70e23dcf9369d1f2bfe17c539e35.jpg","text":"TemporaryFile(/tmp/multipartBody4585236580622277335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957105055,"filename":"image_10012025_15_37_40_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b646401dec5b2fd48864c252a45588c7.jpg","text":"TemporaryFile(/tmp/multipartBody1797827338904739316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957105055,"filename":"image_10012025_15_37_47_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa4f15c8f8c5b6d0cd7bf3f7bcd8a83b.jpg","text":"TemporaryFile(/tmp/multipartBody7233275356851929821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957105055,"filename":"image_10012025_15_37_55_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7806c93f3f1b8a261254814dba93e529.jpg","text":"TemporaryFile(/tmp/multipartBody8285985911256917218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957105055,"filename":"image_10012025_15_38_37_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329167752","file1":"1329167750","file0":"1329167748","file4":"1329167758","file5":"1329167760","file3":"1329167754"},"map_files_photo_id_array":[{"photo_id":"1329167760","filename":"file5"},{"photo_id":"1329167752","filename":"file2"},{"photo_id":"1329167758","filename":"file4"},{"photo_id":"1329167750","filename":"file1"},{"photo_id":"1329167748","filename":"file0"},{"photo_id":"1329167754","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329167760":["hashtag1","hashtag2"]},{"1329167754":["hashtag1","hashtag2"]},{"1329167748":["hashtag1","hashtag2"]},{"1329167750":["hashtag1","hashtag2"]},{"1329167752":["hashtag1","hashtag2"]},{"1329167758":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329167760, 1329167754, 1329167748, 1329167750, 1329167752, 1329167758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05276370048523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:04:42.734850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/03/image_15012025_17_03_38_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/03/image_15012025_17_03_38_2549.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167791"],"photo_id":"1329167791","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8737000503cea481c0b20aa78ccfa765.jpg","text":"TemporaryFile(/tmp/multipartBody4146877658927988605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957143263,"filename":"image_15012025_17_03_38_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329167791"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329167791"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.76605486869812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:05:03.402652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_55_2688.jpg', '/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_13_2647.jpg', '/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_25_2631.jpg', '/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_28_3764.jpg', '/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_31_2713.jpg', '/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_40_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/38/image_10012025_15_38_55_2688.jpg
/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_13_2647.jpg
/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_25_2631.jpg
/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_28_3764.jpg
/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_31_2713.jpg
/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_40_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167907","1329167901","1329167904","1329167903","1329167917","1329167898"],"photo_ids_order":["1329167898","1329167901","1329167903","1329167904","1329167907","1329167917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b8b36182a73770b8427e0af8c496a754.jpg","text":"TemporaryFile(/tmp/multipartBody184978858301145585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957165185,"filename":"image_10012025_15_39_31_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1fad6808ea4d55da0aabd49785f39d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4003809994637391785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957165185,"filename":"image_10012025_15_39_13_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a991d3336a753c393097065fc5343d3.jpg","text":"TemporaryFile(/tmp/multipartBody8482031521178207853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957165185,"filename":"image_10012025_15_39_28_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d3cab52278b22b59a68f91bec27f900.jpg","text":"TemporaryFile(/tmp/multipartBody7817464295445433353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957165185,"filename":"image_10012025_15_39_25_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0a4b73d975d202f877f2bc1d5022892a.jpg","text":"TemporaryFile(/tmp/multipartBody8391060950521268249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957165185,"filename":"image_10012025_15_39_40_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d879753d6cceb9b56d2aba90d524ceba.jpg","text":"TemporaryFile(/tmp/multipartBody3924153905837355716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957165185,"filename":"image_10012025_15_38_55_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329167903","file1":"1329167901","file0":"1329167898","file4":"1329167907","file5":"1329167917","file3":"1329167904"},"map_files_photo_id_array":[{"photo_id":"1329167917","filename":"file5"},{"photo_id":"1329167903","filename":"file2"},{"photo_id":"1329167907","filename":"file4"},{"photo_id":"1329167901","filename":"file1"},{"photo_id":"1329167898","filename":"file0"},{"photo_id":"1329167904","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329167907":["hashtag1","hashtag2"]},{"1329167901":["hashtag1","hashtag2"]},{"1329167904":["hashtag1","hashtag2"]},{"1329167903":["hashtag1","hashtag2"]},{"1329167917":["hashtag1","hashtag2"]},{"1329167898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329167907, 1329167901, 1329167904, 1329167903, 1329167917, 1329167898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90880250930786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:05:42.640030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/04/image_15012025_17_04_38_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/04/image_15012025_17_04_38_2827.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167948"],"photo_id":"1329167948","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8bb8df91d734182fccc4c5cec528009e.jpg","text":"TemporaryFile(/tmp/multipartBody832203956523519856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957203181,"filename":"image_15012025_17_04_38_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329167948"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329167948"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.691672086715698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:06:03.316839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_55_2764.jpg', '/home/pi/Desktop/images/10012025/15/40/image_10012025_15_40_07_2759.jpg', '/home/pi/Desktop/images/10012025/15/40/image_10012025_15_40_28_2807.jpg', '/home/pi/Desktop/images/10012025/15/40/image_10012025_15_40_43_2621.jpg', '/home/pi/Desktop/images/10012025/15/40/image_10012025_15_41_01_3668.jpg', '/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_07_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/39/image_10012025_15_39_55_2764.jpg
/home/pi/Desktop/images/10012025/15/40/image_10012025_15_40_07_2759.jpg
/home/pi/Desktop/images/10012025/15/40/image_10012025_15_40_28_2807.jpg
/home/pi/Desktop/images/10012025/15/40/image_10012025_15_40_43_2621.jpg
/home/pi/Desktop/images/10012025/15/40/image_10012025_15_41_01_3668.jpg
/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_07_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329167978","1329167981","1329167975","1329167977","1329167974","1329167988"],"photo_ids_order":["1329167974","1329167975","1329167977","1329167978","1329167981","1329167988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bbe92d9bb5f4a3e504a7f0f701d33141.jpg","text":"TemporaryFile(/tmp/multipartBody7541800309681087370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957224925,"filename":"image_10012025_15_40_43_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4eb90149ad9d0f8e9a36d88a7cf37af.jpg","text":"TemporaryFile(/tmp/multipartBody3136004460477918064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957224925,"filename":"image_10012025_15_41_01_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e487f59e5f9eec3f15b691768439e019.jpg","text":"TemporaryFile(/tmp/multipartBody6237798746013582858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957224925,"filename":"image_10012025_15_40_07_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b6eda3a4857f0cf9414ed60759695b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8920376997534312904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957224925,"filename":"image_10012025_15_40_28_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7841cc97065b638daa2a2db8574d97c3.jpg","text":"TemporaryFile(/tmp/multipartBody5232456316272512578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957224925,"filename":"image_10012025_15_39_55_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/348e1b6139d61ef29cdcce28f369f2ec.jpg","text":"TemporaryFile(/tmp/multipartBody6239526061918380541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957224925,"filename":"image_10012025_15_41_07_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329167977","file1":"1329167975","file0":"1329167974","file4":"1329167981","file5":"1329167988","file3":"1329167978"},"map_files_photo_id_array":[{"photo_id":"1329167988","filename":"file5"},{"photo_id":"1329167977","filename":"file2"},{"photo_id":"1329167981","filename":"file4"},{"photo_id":"1329167975","filename":"file1"},{"photo_id":"1329167974","filename":"file0"},{"photo_id":"1329167978","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329167978":["hashtag1","hashtag2"]},{"1329167981":["hashtag1","hashtag2"]},{"1329167975":["hashtag1","hashtag2"]},{"1329167977":["hashtag1","hashtag2"]},{"1329167974":["hashtag1","hashtag2"]},{"1329167988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329167978, 1329167981, 1329167975, 1329167977, 1329167974, 1329167988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.484278202056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:07:02.962572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_16_3608.jpg', '/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_19_2677.jpg', '/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_22_2753.jpg', '/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_24_2873.jpg', '/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_31_2654.jpg', '/home/pi/Desktop/images/10012025/15/42/image_10012025_15_42_10_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_16_3608.jpg
/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_19_2677.jpg
/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_22_2753.jpg
/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_24_2873.jpg
/home/pi/Desktop/images/10012025/15/41/image_10012025_15_41_31_2654.jpg
/home/pi/Desktop/images/10012025/15/42/image_10012025_15_42_10_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329168083","1329168077","1329168100","1329168090","1329168087","1329168095"],"photo_ids_order":["1329168077","1329168083","1329168087","1329168090","1329168095","1329168100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0be2c58f36ae39ccc70d77488c5eb45b.jpg","text":"TemporaryFile(/tmp/multipartBody6320032297025753706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957284697,"filename":"image_10012025_15_41_19_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/27ece2aeea7a198ca7d741e1541b2e68.jpg","text":"TemporaryFile(/tmp/multipartBody4130781913589357586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957284697,"filename":"image_10012025_15_41_16_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a239ee66f61c53da45d27388618a554d.jpg","text":"TemporaryFile(/tmp/multipartBody437980156716788550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957284697,"filename":"image_10012025_15_42_10_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74e4553d407ae03555f62f69c21cdfb6.jpg","text":"TemporaryFile(/tmp/multipartBody4095238431999936438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957284697,"filename":"image_10012025_15_41_24_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/313d318b0cf72ec5e1f062a02954d577.jpg","text":"TemporaryFile(/tmp/multipartBody9162009438177456132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957284697,"filename":"image_10012025_15_41_22_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff49c195babf023108874893d1eb66fc.jpg","text":"TemporaryFile(/tmp/multipartBody2902627831875738874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957284697,"filename":"image_10012025_15_41_31_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329168087","file1":"1329168083","file0":"1329168077","file4":"1329168095","file5":"1329168100","file3":"1329168090"},"map_files_photo_id_array":[{"photo_id":"1329168100","filename":"file5"},{"photo_id":"1329168087","filename":"file2"},{"photo_id":"1329168095","filename":"file4"},{"photo_id":"1329168083","filename":"file1"},{"photo_id":"1329168077","filename":"file0"},{"photo_id":"1329168090","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329168083":["hashtag1","hashtag2"]},{"1329168077":["hashtag1","hashtag2"]},{"1329168100":["hashtag1","hashtag2"]},{"1329168090":["hashtag1","hashtag2"]},{"1329168087":["hashtag1","hashtag2"]},{"1329168095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329168083, 1329168077, 1329168100, 1329168090, 1329168087, 1329168095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04765748977661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:08:02.635819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/05/image_15012025_17_05_47_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/05/image_15012025_17_05_47_3631.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329168137"],"photo_id":"1329168137","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c5136712714196c486628959d8cce0fd.jpg","text":"TemporaryFile(/tmp/multipartBody5891563295976417665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957343209,"filename":"image_15012025_17_05_47_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329168137"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329168137"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.814589023590088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:08:22.077155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/07/image_15012025_17_07_14_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/07/image_15012025_17_07_14_2751.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329168151"],"photo_id":"1329168151","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c9474ea91ce8cc5c5de57ae3b116840c.jpg","text":"TemporaryFile(/tmp/multipartBody2986641240498886365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957362602,"filename":"image_15012025_17_07_14_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329168151"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329168151"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.81655502319336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:08:42.015929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_07_3656.jpg', '/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_10_2859.jpg', '/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_13_2734.jpg', '/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_16_2854.jpg', '/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_19_3557.jpg', '/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_25_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_07_3656.jpg
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_10_2859.jpg
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_13_2734.jpg
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_16_2854.jpg
/home/pi/Desktop/images/12012025/14/11/image_12012025_14_11_19_3557.jpg
/home/pi/Desktop/images/12012025/14/12/image_12012025_14_12_25_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329168185","1329168713","1329168546","1329168429","1329168309","1329168636"],"photo_ids_order":["1329168185","1329168309","1329168429","1329168546","1329168636","1329168713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e16a4eb986dafdf72c5b7ac588161ca.jpg","text":"TemporaryFile(/tmp/multipartBody3030358374214859414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957383008,"filename":"image_12012025_14_11_07_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec17c990a8676d67a95c62f71fdf9914.jpg","text":"TemporaryFile(/tmp/multipartBody2017956102256857219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957383008,"filename":"image_12012025_14_12_25_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d52f816cb3391397226f3a53a6754480.jpg","text":"TemporaryFile(/tmp/multipartBody5895159551270950079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957383008,"filename":"image_12012025_14_11_16_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fb8b088c80712032994f46d7b29b705b.jpg","text":"TemporaryFile(/tmp/multipartBody8683585695492960677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957383008,"filename":"image_12012025_14_11_13_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d7fc4ba0f05a65cecdac6f0aec47e84b.jpg","text":"TemporaryFile(/tmp/multipartBody3961403035922580571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957383008,"filename":"image_12012025_14_11_10_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f7acd5244660a4af951fccf6db15f88.jpg","text":"TemporaryFile(/tmp/multipartBody1839498208321108972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957383008,"filename":"image_12012025_14_11_19_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329168429","file1":"1329168309","file0":"1329168185","file4":"1329168636","file5":"1329168713","file3":"1329168546"},"map_files_photo_id_array":[{"photo_id":"1329168713","filename":"file5"},{"photo_id":"1329168429","filename":"file2"},{"photo_id":"1329168636","filename":"file4"},{"photo_id":"1329168309","filename":"file1"},{"photo_id":"1329168185","filename":"file0"},{"photo_id":"1329168546","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329168185":["hashtag1","hashtag2"]},{"1329168713":["hashtag1","hashtag2"]},{"1329168546":["hashtag1","hashtag2"]},{"1329168429":["hashtag1","hashtag2"]},{"1329168309":["hashtag1","hashtag2"]},{"1329168636":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329168185, 1329168713, 1329168546, 1329168429, 1329168309, 1329168636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54876255989075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:09:22.479779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/42/image_10012025_15_42_21_2745.jpg', '/home/pi/Desktop/images/10012025/15/42/image_10012025_15_42_54_2726.jpg', '/home/pi/Desktop/images/10012025/15/43/image_10012025_15_43_30_2562.jpg', '/home/pi/Desktop/images/10012025/15/43/image_10012025_15_43_42_2741.jpg', '/home/pi/Desktop/images/10012025/15/45/image_10012025_15_45_07_2999.jpg', '/home/pi/Desktop/images/10012025/15/45/image_10012025_15_45_09_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/42/image_10012025_15_42_21_2745.jpg
/home/pi/Desktop/images/10012025/15/42/image_10012025_15_42_54_2726.jpg
/home/pi/Desktop/images/10012025/15/43/image_10012025_15_43_30_2562.jpg
/home/pi/Desktop/images/10012025/15/43/image_10012025_15_43_42_2741.jpg
/home/pi/Desktop/images/10012025/15/45/image_10012025_15_45_07_2999.jpg
/home/pi/Desktop/images/10012025/15/45/image_10012025_15_45_09_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329169576","1329169093","1329169354","1329169485","1329169023","1329169175"],"photo_ids_order":["1329169023","1329169093","1329169175","1329169354","1329169485","1329169576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de68e78a482d999c4f1d550b1ff6d784.jpg","text":"TemporaryFile(/tmp/multipartBody6652365126188357122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957424695,"filename":"image_10012025_15_45_09_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d3d00ca48fbdebd473d982ceaffbbec.jpg","text":"TemporaryFile(/tmp/multipartBody6830803245227535647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957424695,"filename":"image_10012025_15_42_54_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9296c76b94580658818b45bd26d727ba.jpg","text":"TemporaryFile(/tmp/multipartBody7309416989644076838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957424695,"filename":"image_10012025_15_43_42_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8cd2e0f88a7fec18c4a3a2dcfad48417.jpg","text":"TemporaryFile(/tmp/multipartBody8787302836171544596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957424695,"filename":"image_10012025_15_45_07_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa88d6b95805556568d56815e4b31b49.jpg","text":"TemporaryFile(/tmp/multipartBody1892022211070394742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957424695,"filename":"image_10012025_15_42_21_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/afc0d1627121e83bdc0e82c83c7050fe.jpg","text":"TemporaryFile(/tmp/multipartBody5154198807058699604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957424695,"filename":"image_10012025_15_43_30_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329169175","file1":"1329169093","file0":"1329169023","file4":"1329169485","file5":"1329169576","file3":"1329169354"},"map_files_photo_id_array":[{"photo_id":"1329169576","filename":"file5"},{"photo_id":"1329169175","filename":"file2"},{"photo_id":"1329169485","filename":"file4"},{"photo_id":"1329169093","filename":"file1"},{"photo_id":"1329169023","filename":"file0"},{"photo_id":"1329169354","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329169576":["hashtag1","hashtag2"]},{"1329169093":["hashtag1","hashtag2"]},{"1329169354":["hashtag1","hashtag2"]},{"1329169485":["hashtag1","hashtag2"]},{"1329169023":["hashtag1","hashtag2"]},{"1329169175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329169576, 1329169093, 1329169354, 1329169485, 1329169023, 1329169175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.10374879837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:10:21.887918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/45/image_10012025_15_45_12_2915.jpg', '/home/pi/Desktop/images/10012025/15/45/image_10012025_15_45_15_2689.jpg', '/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_18_2665.jpg', '/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_20_2760.jpg', '/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_24_3663.jpg', '/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_27_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/45/image_10012025_15_45_12_2915.jpg
/home/pi/Desktop/images/10012025/15/45/image_10012025_15_45_15_2689.jpg
/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_18_2665.jpg
/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_20_2760.jpg
/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_24_3663.jpg
/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_27_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329169616","1329169607","1329169600","1329169593","1329169596","1329169623"],"photo_ids_order":["1329169593","1329169596","1329169600","1329169607","1329169616","1329169623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6bbb4641ab3e46ac5c86611c2437d35d.jpg","text":"TemporaryFile(/tmp/multipartBody4123382122840871423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957484146,"filename":"image_10012025_15_51_24_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f266a9cbf838e4d89209fa408d0958ce.jpg","text":"TemporaryFile(/tmp/multipartBody1274827748136459471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957484146,"filename":"image_10012025_15_51_20_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/efb06527aec21d526f1151b300f4c6a7.jpg","text":"TemporaryFile(/tmp/multipartBody3365564382847376471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957484146,"filename":"image_10012025_15_51_18_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/55566a4c2e5ab397dec0a772c4a06965.jpg","text":"TemporaryFile(/tmp/multipartBody3158520818594350756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957484146,"filename":"image_10012025_15_45_12_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c7ebb2b9f01fc5292a225301ca2e9b3.jpg","text":"TemporaryFile(/tmp/multipartBody1127964217715192107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957484146,"filename":"image_10012025_15_45_15_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4eded54d61e403c344338cc1c361e7fd.jpg","text":"TemporaryFile(/tmp/multipartBody8242532143223999878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957484146,"filename":"image_10012025_15_51_27_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329169600","file1":"1329169596","file0":"1329169593","file4":"1329169616","file5":"1329169623","file3":"1329169607"},"map_files_photo_id_array":[{"photo_id":"1329169623","filename":"file5"},{"photo_id":"1329169600","filename":"file2"},{"photo_id":"1329169616","filename":"file4"},{"photo_id":"1329169596","filename":"file1"},{"photo_id":"1329169593","filename":"file0"},{"photo_id":"1329169607","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329169616":["hashtag1","hashtag2"]},{"1329169607":["hashtag1","hashtag2"]},{"1329169600":["hashtag1","hashtag2"]},{"1329169593":["hashtag1","hashtag2"]},{"1329169596":["hashtag1","hashtag2"]},{"1329169623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329169616, 1329169607, 1329169600, 1329169593, 1329169596, 1329169623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44758200645447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:11:02.851425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_29_2704.jpg', '/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_33_3636.jpg', '/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_38_2577.jpg', '/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_45_2824.jpg', '/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_51_3654.jpg', '/home/pi/Desktop/images/10012025/15/52/image_10012025_15_52_45_3891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_29_2704.jpg
/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_33_3636.jpg
/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_38_2577.jpg
/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_45_2824.jpg
/home/pi/Desktop/images/10012025/15/51/image_10012025_15_51_51_3654.jpg
/home/pi/Desktop/images/10012025/15/52/image_10012025_15_52_45_3891.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329169649","1329169642","1329169645","1329169639","1329169647","1329169644"],"photo_ids_order":["1329169639","1329169642","1329169644","1329169645","1329169647","1329169649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2fcf287163f7b0d208e7723ead5a392e.jpg","text":"TemporaryFile(/tmp/multipartBody6605697741459795707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957524981,"filename":"image_10012025_15_52_45_3891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c64e7d058518ecacd23cc3603fd6ac7a.jpg","text":"TemporaryFile(/tmp/multipartBody3996123035708824493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957524981,"filename":"image_10012025_15_51_33_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5136aba776afec026e5d4718831ae67.jpg","text":"TemporaryFile(/tmp/multipartBody5070373405389226576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957524981,"filename":"image_10012025_15_51_45_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c6b697a833687ba1527927d0e107261d.jpg","text":"TemporaryFile(/tmp/multipartBody937260308061537683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957524981,"filename":"image_10012025_15_51_29_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e1fd15aa2d7ae0d714af799695549cb9.jpg","text":"TemporaryFile(/tmp/multipartBody2519064553995119414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957524981,"filename":"image_10012025_15_51_51_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/86ac407760a569c4d5e0729bdc5dea06.jpg","text":"TemporaryFile(/tmp/multipartBody1318113981414926238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957524981,"filename":"image_10012025_15_51_38_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329169644","file1":"1329169642","file0":"1329169639","file4":"1329169647","file5":"1329169649","file3":"1329169645"},"map_files_photo_id_array":[{"photo_id":"1329169649","filename":"file5"},{"photo_id":"1329169644","filename":"file2"},{"photo_id":"1329169647","filename":"file4"},{"photo_id":"1329169642","filename":"file1"},{"photo_id":"1329169639","filename":"file0"},{"photo_id":"1329169645","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329169649":["hashtag1","hashtag2"]},{"1329169642":["hashtag1","hashtag2"]},{"1329169645":["hashtag1","hashtag2"]},{"1329169639":["hashtag1","hashtag2"]},{"1329169647":["hashtag1","hashtag2"]},{"1329169644":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329169649, 1329169642, 1329169645, 1329169639, 1329169647, 1329169644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41687250137329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:11:42.147659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/08/image_15012025_17_08_53_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/08/image_15012025_17_08_53_3550.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329169678"],"photo_id":"1329169678","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5114561888043690a0b84926307ab826.jpg","text":"TemporaryFile(/tmp/multipartBody2408264755261662885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957562675,"filename":"image_15012025_17_08_53_3550.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329169678"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329169678"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.912434339523315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:12:03.182874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/52/image_10012025_15_52_48_2655.jpg', '/home/pi/Desktop/images/10012025/15/53/image_10012025_15_53_09_2681.jpg', '/home/pi/Desktop/images/10012025/15/53/image_10012025_15_53_15_3628.jpg', '/home/pi/Desktop/images/10012025/15/53/image_10012025_15_53_45_3593.jpg', '/home/pi/Desktop/images/10012025/15/53/image_10012025_15_53_54_3771.jpg', '/home/pi/Desktop/images/10012025/15/54/image_10012025_15_54_15_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/52/image_10012025_15_52_48_2655.jpg
/home/pi/Desktop/images/10012025/15/53/image_10012025_15_53_09_2681.jpg
/home/pi/Desktop/images/10012025/15/53/image_10012025_15_53_15_3628.jpg
/home/pi/Desktop/images/10012025/15/53/image_10012025_15_53_45_3593.jpg
/home/pi/Desktop/images/10012025/15/53/image_10012025_15_53_54_3771.jpg
/home/pi/Desktop/images/10012025/15/54/image_10012025_15_54_15_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170237","1329170150","1329170278","1329170227","1329169998","1329170232"],"photo_ids_order":["1329169998","1329170150","1329170227","1329170232","1329170237","1329170278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d01c9d2e37b7fcdf5597a018b34155b.jpg","text":"TemporaryFile(/tmp/multipartBody2957863240577499834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957584795,"filename":"image_10012025_15_53_54_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b01e1de4afa1b57674f3242973fb39e1.jpg","text":"TemporaryFile(/tmp/multipartBody3660436084729966269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957584795,"filename":"image_10012025_15_53_09_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7da493224b3678ab328dd4eae8c4d54b.jpg","text":"TemporaryFile(/tmp/multipartBody3303974963116585676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957584795,"filename":"image_10012025_15_54_15_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5e6ad840ee95395270f0fd7b311cad17.jpg","text":"TemporaryFile(/tmp/multipartBody1706579005754352641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957584795,"filename":"image_10012025_15_53_15_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0666313be0dc714a088d70a4cd76569b.jpg","text":"TemporaryFile(/tmp/multipartBody8879745831008075520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957584795,"filename":"image_10012025_15_52_48_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/494381f84cdd555028143898c6aabb36.jpg","text":"TemporaryFile(/tmp/multipartBody3672088870414727807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957584795,"filename":"image_10012025_15_53_45_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329170227","file1":"1329170150","file0":"1329169998","file4":"1329170237","file5":"1329170278","file3":"1329170232"},"map_files_photo_id_array":[{"photo_id":"1329170278","filename":"file5"},{"photo_id":"1329170227","filename":"file2"},{"photo_id":"1329170237","filename":"file4"},{"photo_id":"1329170150","filename":"file1"},{"photo_id":"1329169998","filename":"file0"},{"photo_id":"1329170232","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329170237":["hashtag1","hashtag2"]},{"1329170150":["hashtag1","hashtag2"]},{"1329170278":["hashtag1","hashtag2"]},{"1329170227":["hashtag1","hashtag2"]},{"1329169998":["hashtag1","hashtag2"]},{"1329170232":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329170237, 1329170150, 1329170278, 1329170227, 1329169998, 1329170232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.203688621520996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:13:03.032882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/54/image_10012025_15_54_29_2693.jpg', '/home/pi/Desktop/images/10012025/15/54/image_10012025_15_54_32_2622.jpg', '/home/pi/Desktop/images/10012025/15/55/image_10012025_15_55_29_2798.jpg', '/home/pi/Desktop/images/10012025/15/55/image_10012025_15_55_47_2953.jpg', '/home/pi/Desktop/images/10012025/15/55/image_10012025_15_55_51_3685.jpg', '/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_23_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/54/image_10012025_15_54_29_2693.jpg
/home/pi/Desktop/images/10012025/15/54/image_10012025_15_54_32_2622.jpg
/home/pi/Desktop/images/10012025/15/55/image_10012025_15_55_29_2798.jpg
/home/pi/Desktop/images/10012025/15/55/image_10012025_15_55_47_2953.jpg
/home/pi/Desktop/images/10012025/15/55/image_10012025_15_55_51_3685.jpg
/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_23_2842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170399","1329170393","1329170395","1329170391","1329170403","1329170396"],"photo_ids_order":["1329170391","1329170393","1329170395","1329170396","1329170399","1329170403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/009e3a84b9d9ea71c6a64a3aa8dd9d87.jpg","text":"TemporaryFile(/tmp/multipartBody6654752961888804697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957644768,"filename":"image_10012025_15_55_51_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/66560a642fd8ea878ee07341151c9331.jpg","text":"TemporaryFile(/tmp/multipartBody9045295274669969886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957644768,"filename":"image_10012025_15_54_32_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5fd3e49dee7bc4653fb2ddf28e1fedca.jpg","text":"TemporaryFile(/tmp/multipartBody304292842507506107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957644768,"filename":"image_10012025_15_55_29_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b08b172b7023fc65e16f815a86c75ec3.jpg","text":"TemporaryFile(/tmp/multipartBody129621364177047977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957644768,"filename":"image_10012025_15_54_29_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f100e45416a458b4c0d950e3657b45c.jpg","text":"TemporaryFile(/tmp/multipartBody6067609132106264493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957644768,"filename":"image_10012025_15_56_23_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f95ce6ab9c55accd64ad682ea105a0b7.jpg","text":"TemporaryFile(/tmp/multipartBody1299901874105465487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957644768,"filename":"image_10012025_15_55_47_2953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329170395","file1":"1329170393","file0":"1329170391","file4":"1329170399","file5":"1329170403","file3":"1329170396"},"map_files_photo_id_array":[{"photo_id":"1329170403","filename":"file5"},{"photo_id":"1329170395","filename":"file2"},{"photo_id":"1329170399","filename":"file4"},{"photo_id":"1329170393","filename":"file1"},{"photo_id":"1329170391","filename":"file0"},{"photo_id":"1329170396","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329170399":["hashtag1","hashtag2"]},{"1329170393":["hashtag1","hashtag2"]},{"1329170395":["hashtag1","hashtag2"]},{"1329170391":["hashtag1","hashtag2"]},{"1329170403":["hashtag1","hashtag2"]},{"1329170396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329170399, 1329170393, 1329170395, 1329170391, 1329170403, 1329170396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25779104232788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:13:42.313632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_24_2675.jpg', '/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_03_2836.jpg', '/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_27_2724.jpg', '/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_2749.jpg', '/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_06_2797.jpg', '/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_09_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/14/14/image_12012025_14_14_24_2675.jpg
/home/pi/Desktop/images/12012025/14/17/image_12012025_14_17_03_2836.jpg
/home/pi/Desktop/images/12012025/14/19/image_12012025_14_19_27_2724.jpg
/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_03_2749.jpg
/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_06_2797.jpg
/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_09_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170432","1329170423","1329170417","1329170431","1329170434","1329170428"],"photo_ids_order":["1329170417","1329170423","1329170428","1329170431","1329170432","1329170434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/187bb5ecb84494c83282a0a6db10cdf3.jpg","text":"TemporaryFile(/tmp/multipartBody6010828397884388904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957683300,"filename":"image_12012025_14_20_06_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee4f487b638affd5c9adfc18cb097e20.jpg","text":"TemporaryFile(/tmp/multipartBody2517247007022340667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957683300,"filename":"image_12012025_14_17_03_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0f2ba1f7ac71fd27d32f6c6dad9d6a2.jpg","text":"TemporaryFile(/tmp/multipartBody8600588769745006444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957683300,"filename":"image_12012025_14_14_24_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/adbba3bc0cb2274f00a7b11c7a183f33.jpg","text":"TemporaryFile(/tmp/multipartBody4554823034618437104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957683300,"filename":"image_12012025_14_20_03_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00103e33207f2841ef70b6dc2ad47a7e.jpg","text":"TemporaryFile(/tmp/multipartBody3084409928902316229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957683300,"filename":"image_12012025_14_20_09_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a3e05c1530b17722626e44c2aede1f15.jpg","text":"TemporaryFile(/tmp/multipartBody4342287471970278768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957683300,"filename":"image_12012025_14_19_27_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329170428","file1":"1329170423","file0":"1329170417","file4":"1329170432","file5":"1329170434","file3":"1329170431"},"map_files_photo_id_array":[{"photo_id":"1329170434","filename":"file5"},{"photo_id":"1329170428","filename":"file2"},{"photo_id":"1329170432","filename":"file4"},{"photo_id":"1329170423","filename":"file1"},{"photo_id":"1329170417","filename":"file0"},{"photo_id":"1329170431","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329170432":["hashtag1","hashtag2"]},{"1329170423":["hashtag1","hashtag2"]},{"1329170417":["hashtag1","hashtag2"]},{"1329170431":["hashtag1","hashtag2"]},{"1329170434":["hashtag1","hashtag2"]},{"1329170428":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329170432, 1329170423, 1329170417, 1329170431, 1329170434, 1329170428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.415287017822266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:14:22.568675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/11/image_15012025_17_11_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/11/image_15012025_17_11_06_3011.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170436"],"photo_id":"1329170436","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/15ee73bc565a06e95fa76bbffb85068b.jpg","text":"TemporaryFile(/tmp/multipartBody6850000271918970171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957723094,"filename":"image_15012025_17_11_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329170436"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329170436"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.200248956680298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:14:42.502269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_15_2665.jpg', '/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_42_2797.jpg', '/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_42_3721.jpg', '/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_14_2793.jpg', '/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_50_2688.jpg', '/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_55_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/14/20/image_12012025_14_20_15_2665.jpg
/home/pi/Desktop/images/12012025/14/21/image_12012025_14_21_42_2797.jpg
/home/pi/Desktop/images/12012025/14/25/image_12012025_14_25_42_3721.jpg
/home/pi/Desktop/images/12012025/14/30/image_12012025_14_30_14_2793.jpg
/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_50_2688.jpg
/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_55_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170473","1329170476","1329170461","1329170455","1329170470","1329170466"],"photo_ids_order":["1329170455","1329170461","1329170466","1329170470","1329170473","1329170476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc4bf7a0f34ef0e88e0535e8fb686056.jpg","text":"TemporaryFile(/tmp/multipartBody3423855248396188132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957743452,"filename":"image_12012025_14_31_50_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64af91e4024752e544165f140b63643d.jpg","text":"TemporaryFile(/tmp/multipartBody8271268344013187654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957743452,"filename":"image_12012025_14_31_55_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f24683d25cfbc588ebae0b78d90ea6e.jpg","text":"TemporaryFile(/tmp/multipartBody3055051467736832933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957743452,"filename":"image_12012025_14_21_42_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d90ae18eee8f4ac6941524f49bec608.jpg","text":"TemporaryFile(/tmp/multipartBody5830433614809868755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957743452,"filename":"image_12012025_14_20_15_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99530ac83f0356d898d4e7778536f70c.jpg","text":"TemporaryFile(/tmp/multipartBody8144146632586953926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957743452,"filename":"image_12012025_14_30_14_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84d582704ad404d7f8fe196146d4a3a7.jpg","text":"TemporaryFile(/tmp/multipartBody7834604543487917392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957743452,"filename":"image_12012025_14_25_42_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329170466","file1":"1329170461","file0":"1329170455","file4":"1329170473","file5":"1329170476","file3":"1329170470"},"map_files_photo_id_array":[{"photo_id":"1329170476","filename":"file5"},{"photo_id":"1329170466","filename":"file2"},{"photo_id":"1329170473","filename":"file4"},{"photo_id":"1329170461","filename":"file1"},{"photo_id":"1329170455","filename":"file0"},{"photo_id":"1329170470","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329170473":["hashtag1","hashtag2"]},{"1329170476":["hashtag1","hashtag2"]},{"1329170461":["hashtag1","hashtag2"]},{"1329170455":["hashtag1","hashtag2"]},{"1329170470":["hashtag1","hashtag2"]},{"1329170466":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329170473, 1329170476, 1329170461, 1329170455, 1329170470, 1329170466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.320940256118774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:15:22.171850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_41_3672.jpg', '/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_44_2704.jpg', '/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_47_2655.jpg', '/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_50_3754.jpg', '/home/pi/Desktop/images/10012025/15/56/image_10012025_15_57_00_3720.jpg', '/home/pi/Desktop/images/10012025/15/57/image_10012025_15_57_32_11597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_41_3672.jpg
/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_44_2704.jpg
/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_47_2655.jpg
/home/pi/Desktop/images/10012025/15/56/image_10012025_15_56_50_3754.jpg
/home/pi/Desktop/images/10012025/15/56/image_10012025_15_57_00_3720.jpg
/home/pi/Desktop/images/10012025/15/57/image_10012025_15_57_32_11597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170510","1329170504","1329170482","1329170521","1329170515","1329170484"],"photo_ids_order":["1329170482","1329170484","1329170504","1329170510","1329170515","1329170521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c70aba21f651f390483a3e9f04613734.jpg","text":"TemporaryFile(/tmp/multipartBody5414060634391772729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957784436,"filename":"image_10012025_15_56_50_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0c1a4a9bb1c771d44cf29a4fe013211.jpg","text":"TemporaryFile(/tmp/multipartBody4169892658271969111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957784436,"filename":"image_10012025_15_56_47_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa54ee1f47e3450ff22910688ddad415.jpg","text":"TemporaryFile(/tmp/multipartBody8772824836806203697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957784436,"filename":"image_10012025_15_56_41_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec3dd9da70685e216e7131eed9a27055.jpg","text":"TemporaryFile(/tmp/multipartBody4360866340162072058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957784436,"filename":"image_10012025_15_57_32_11597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/759650d1ed96177dbd9894440b8a6a84.jpg","text":"TemporaryFile(/tmp/multipartBody363224437607172184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957784436,"filename":"image_10012025_15_57_00_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5f8e255b7bfc004c0aedd51a49a60a57.jpg","text":"TemporaryFile(/tmp/multipartBody1974979110732206272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957784436,"filename":"image_10012025_15_56_44_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329170504","file1":"1329170484","file0":"1329170482","file4":"1329170515","file5":"1329170521","file3":"1329170510"},"map_files_photo_id_array":[{"photo_id":"1329170521","filename":"file5"},{"photo_id":"1329170504","filename":"file2"},{"photo_id":"1329170515","filename":"file4"},{"photo_id":"1329170484","filename":"file1"},{"photo_id":"1329170482","filename":"file0"},{"photo_id":"1329170510","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329170510":["hashtag1","hashtag2"]},{"1329170504":["hashtag1","hashtag2"]},{"1329170482":["hashtag1","hashtag2"]},{"1329170521":["hashtag1","hashtag2"]},{"1329170515":["hashtag1","hashtag2"]},{"1329170484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329170510, 1329170504, 1329170482, 1329170521, 1329170515, 1329170484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.364811420440674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:16:03.017668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_14_3677.jpg', '/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_31_7106.jpg', '/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_32_1621.jpg', '/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_34_1691.jpg', '/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_38_1617.jpg', '/home/pi/Desktop/images/10012025/15/59/image_10012025_15_59_06_4161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_14_3677.jpg
/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_31_7106.jpg
/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_32_1621.jpg
/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_34_1691.jpg
/home/pi/Desktop/images/10012025/15/58/image_10012025_15_58_38_1617.jpg
/home/pi/Desktop/images/10012025/15/59/image_10012025_15_59_06_4161.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170582","1329170561","1329170558","1329170540","1329170551","1329170556"],"photo_ids_order":["1329170540","1329170551","1329170556","1329170558","1329170561","1329170582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/62291b7dbbe96d75501c768641a4201b.jpg","text":"TemporaryFile(/tmp/multipartBody6560630569154887348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957824605,"filename":"image_10012025_15_59_06_4161.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0593b4690b594b9c2fc281143ef22a8.jpg","text":"TemporaryFile(/tmp/multipartBody3114080488793450538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957824605,"filename":"image_10012025_15_58_38_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/291d88c770713670ee3c720bc1c3cf21.jpg","text":"TemporaryFile(/tmp/multipartBody8940020748566095884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957824605,"filename":"image_10012025_15_58_34_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c6b310f8290208c41a8f5d665f9161a.jpg","text":"TemporaryFile(/tmp/multipartBody6555186279815401966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957824605,"filename":"image_10012025_15_58_14_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1c5e88797be578daa164e73ee40b072.jpg","text":"TemporaryFile(/tmp/multipartBody7004132176917325714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957824605,"filename":"image_10012025_15_58_31_7106.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/feb58af7fc1b23174809e05f00e307be.jpg","text":"TemporaryFile(/tmp/multipartBody4281650291003001295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957824605,"filename":"image_10012025_15_58_32_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329170556","file1":"1329170551","file0":"1329170540","file4":"1329170561","file5":"1329170582","file3":"1329170558"},"map_files_photo_id_array":[{"photo_id":"1329170582","filename":"file5"},{"photo_id":"1329170556","filename":"file2"},{"photo_id":"1329170561","filename":"file4"},{"photo_id":"1329170551","filename":"file1"},{"photo_id":"1329170540","filename":"file0"},{"photo_id":"1329170558","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329170582":["hashtag1","hashtag2"]},{"1329170561":["hashtag1","hashtag2"]},{"1329170558":["hashtag1","hashtag2"]},{"1329170540":["hashtag1","hashtag2"]},{"1329170551":["hashtag1","hashtag2"]},{"1329170556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329170582, 1329170561, 1329170558, 1329170540, 1329170551, 1329170556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.073866844177246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:16:42.300816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/14/image_15012025_17_14_39_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/14/image_15012025_17_14_39_2778.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170596"],"photo_id":"1329170596","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/13ea9305b3bc571b91df57712f9edc7f.jpg","text":"TemporaryFile(/tmp/multipartBody4519542514770308667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957862824,"filename":"image_15012025_17_14_39_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329170596"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329170596"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.629289627075195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:17:02.670363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/15/59/image_10012025_15_59_19_2565.jpg', '/home/pi/Desktop/images/10012025/15/59/image_10012025_15_59_59_2922.jpg', '/home/pi/Desktop/images/10012025/16/01/image_10012025_16_01_07_3011.jpg', '/home/pi/Desktop/images/10012025/16/04/image_10012025_16_04_58_2561.jpg', '/home/pi/Desktop/images/10012025/16/07/image_10012025_16_07_47_3723.jpg', '/home/pi/Desktop/images/10012025/16/11/image_10012025_16_11_49_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/15/59/image_10012025_15_59_19_2565.jpg
/home/pi/Desktop/images/10012025/15/59/image_10012025_15_59_59_2922.jpg
/home/pi/Desktop/images/10012025/16/01/image_10012025_16_01_07_3011.jpg
/home/pi/Desktop/images/10012025/16/04/image_10012025_16_04_58_2561.jpg
/home/pi/Desktop/images/10012025/16/07/image_10012025_16_07_47_3723.jpg
/home/pi/Desktop/images/10012025/16/11/image_10012025_16_11_49_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170624","1329170641","1329170650","1329170611","1329170613","1329170610"],"photo_ids_order":["1329170610","1329170611","1329170613","1329170624","1329170641","1329170650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac5f00ac1f39af5f0f3be847b8729700.jpg","text":"TemporaryFile(/tmp/multipartBody5739559775810070413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957884380,"filename":"image_10012025_16_04_58_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d214e67124b8699cce83b642af6b4869.jpg","text":"TemporaryFile(/tmp/multipartBody9065590682393673913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957884380,"filename":"image_10012025_16_07_47_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb7915453a3de8bdecd91ae536c70a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2200805557853191438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957884380,"filename":"image_10012025_16_11_49_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8e30f696b703145e2e72087aa22dc7a5.jpg","text":"TemporaryFile(/tmp/multipartBody3778630181207595162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957884380,"filename":"image_10012025_15_59_59_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14b6d9a3e8b52661528b31787bbc4c57.jpg","text":"TemporaryFile(/tmp/multipartBody5966012731363474168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957884380,"filename":"image_10012025_16_01_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/204887835515ac8d897496e16d59df4d.jpg","text":"TemporaryFile(/tmp/multipartBody5957704842467852192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957884380,"filename":"image_10012025_15_59_19_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329170613","file1":"1329170611","file0":"1329170610","file4":"1329170641","file5":"1329170650","file3":"1329170624"},"map_files_photo_id_array":[{"photo_id":"1329170650","filename":"file5"},{"photo_id":"1329170613","filename":"file2"},{"photo_id":"1329170641","filename":"file4"},{"photo_id":"1329170611","filename":"file1"},{"photo_id":"1329170610","filename":"file0"},{"photo_id":"1329170624","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329170624":["hashtag1","hashtag2"]},{"1329170641":["hashtag1","hashtag2"]},{"1329170650":["hashtag1","hashtag2"]},{"1329170611":["hashtag1","hashtag2"]},{"1329170613":["hashtag1","hashtag2"]},{"1329170610":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329170624, 1329170641, 1329170650, 1329170611, 1329170613, 1329170610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82672119140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:18:03.070479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/12/image_10012025_16_12_34_3669.jpg', '/home/pi/Desktop/images/10012025/16/13/image_10012025_16_13_04_3596.jpg', '/home/pi/Desktop/images/10012025/16/13/image_10012025_16_13_07_2684.jpg', '/home/pi/Desktop/images/10012025/16/13/image_10012025_16_13_58_3688.jpg', '/home/pi/Desktop/images/10012025/16/14/image_10012025_16_14_51_2565.jpg', '/home/pi/Desktop/images/10012025/16/16/image_10012025_16_16_13_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/12/image_10012025_16_12_34_3669.jpg
/home/pi/Desktop/images/10012025/16/13/image_10012025_16_13_04_3596.jpg
/home/pi/Desktop/images/10012025/16/13/image_10012025_16_13_07_2684.jpg
/home/pi/Desktop/images/10012025/16/13/image_10012025_16_13_58_3688.jpg
/home/pi/Desktop/images/10012025/16/14/image_10012025_16_14_51_2565.jpg
/home/pi/Desktop/images/10012025/16/16/image_10012025_16_16_13_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170702","1329170761","1329170697","1329170685","1329170700","1329170724"],"photo_ids_order":["1329170685","1329170697","1329170700","1329170702","1329170724","1329170761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77eb3158e915fab0fdce5263345091f8.jpg","text":"TemporaryFile(/tmp/multipartBody7503474719799601781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957944653,"filename":"image_10012025_16_13_58_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bff66d1be01fd0d0f654ab8b786c5632.jpg","text":"TemporaryFile(/tmp/multipartBody3256182805006523639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957944653,"filename":"image_10012025_16_16_13_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5a62326c61fac3ab9210d409a9f7e9f2.jpg","text":"TemporaryFile(/tmp/multipartBody2321104397090251259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957944653,"filename":"image_10012025_16_13_04_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c46d7918fb83970f59d5624ec1251afd.jpg","text":"TemporaryFile(/tmp/multipartBody790316527629903097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957944653,"filename":"image_10012025_16_12_34_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/56bd3d55ab8132176553356d01b07f69.jpg","text":"TemporaryFile(/tmp/multipartBody2533489637005490871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957944653,"filename":"image_10012025_16_13_07_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e9b0e9dae9c740fd3066131c0b0a7731.jpg","text":"TemporaryFile(/tmp/multipartBody3993972542647358790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957944653,"filename":"image_10012025_16_14_51_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329170700","file1":"1329170697","file0":"1329170685","file4":"1329170724","file5":"1329170761","file3":"1329170702"},"map_files_photo_id_array":[{"photo_id":"1329170761","filename":"file5"},{"photo_id":"1329170700","filename":"file2"},{"photo_id":"1329170724","filename":"file4"},{"photo_id":"1329170697","filename":"file1"},{"photo_id":"1329170685","filename":"file0"},{"photo_id":"1329170702","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329170702":["hashtag1","hashtag2"]},{"1329170761":["hashtag1","hashtag2"]},{"1329170697":["hashtag1","hashtag2"]},{"1329170685":["hashtag1","hashtag2"]},{"1329170700":["hashtag1","hashtag2"]},{"1329170724":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329170702, 1329170761, 1329170697, 1329170685, 1329170700, 1329170724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51807260513306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:18:42.515524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_58_2847.jpg', '/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_02_3644.jpg', '/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_05_2595.jpg', '/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_07_2733.jpg', '/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_08_3766.jpg', '/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_17_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/14/31/image_12012025_14_31_58_2847.jpg
/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_02_3644.jpg
/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_05_2595.jpg
/home/pi/Desktop/images/12012025/14/32/image_12012025_14_32_07_2733.jpg
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_08_3766.jpg
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_17_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170825","1329170810","1329170860","1329170854","1329170835","1329170802"],"photo_ids_order":["1329170802","1329170810","1329170825","1329170835","1329170854","1329170860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ba9a6b171a34875b4f5430d661ec1186.jpg","text":"TemporaryFile(/tmp/multipartBody7317707951938309054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957983521,"filename":"image_12012025_14_32_05_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/72e6aa644f3693d8e076ae39e863c80d.jpg","text":"TemporaryFile(/tmp/multipartBody7116966999875226343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957983521,"filename":"image_12012025_14_32_02_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af8de80111fb51bc5db2a9a99356ba3d.jpg","text":"TemporaryFile(/tmp/multipartBody2911630138325772651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957983521,"filename":"image_12012025_14_33_17_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/383623c848adfd7665e77941b299c91c.jpg","text":"TemporaryFile(/tmp/multipartBody8897721515136389257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957983521,"filename":"image_12012025_14_33_08_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8bf9a58037ef77a789372f204d20e997.jpg","text":"TemporaryFile(/tmp/multipartBody6498165433507832969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957983521,"filename":"image_12012025_14_32_07_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/df248b937177a739e21841bd9f61dafe.jpg","text":"TemporaryFile(/tmp/multipartBody8958665590582753450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736957983521,"filename":"image_12012025_14_31_58_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329170825","file1":"1329170810","file0":"1329170802","file4":"1329170854","file5":"1329170860","file3":"1329170835"},"map_files_photo_id_array":[{"photo_id":"1329170860","filename":"file5"},{"photo_id":"1329170825","filename":"file2"},{"photo_id":"1329170854","filename":"file4"},{"photo_id":"1329170810","filename":"file1"},{"photo_id":"1329170802","filename":"file0"},{"photo_id":"1329170835","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329170825":["hashtag1","hashtag2"]},{"1329170810":["hashtag1","hashtag2"]},{"1329170860":["hashtag1","hashtag2"]},{"1329170854":["hashtag1","hashtag2"]},{"1329170835":["hashtag1","hashtag2"]},{"1329170802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329170825, 1329170810, 1329170860, 1329170854, 1329170835, 1329170802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86414098739624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:19:22.293156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/16/image_15012025_17_16_10_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/16/image_15012025_17_16_10_2664.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329170988"],"photo_id":"1329170988","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/abe11062e12516b813e420573536045a.jpg","text":"TemporaryFile(/tmp/multipartBody5313823682158843195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958022817,"filename":"image_15012025_17_16_10_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329170988"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329170988"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.058928728103638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:19:42.217175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_20_2581.jpg', '/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_22_2670.jpg', '/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_27_4703.jpg', '/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_33_5715.jpg', '/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_26_3542.jpg', '/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_49_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_20_2581.jpg
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_22_2670.jpg
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_27_4703.jpg
/home/pi/Desktop/images/12012025/14/33/image_12012025_14_33_33_5715.jpg
/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_26_3542.jpg
/home/pi/Desktop/images/12012025/14/34/image_12012025_14_34_49_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329171029","1329171032","1329171026","1329171022","1329171016","1329171102"],"photo_ids_order":["1329171016","1329171022","1329171026","1329171029","1329171032","1329171102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb6ac3a5a30bcb1dd75792609a3cf8bb.jpg","text":"TemporaryFile(/tmp/multipartBody4871147731409791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958043220,"filename":"image_12012025_14_33_33_5715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe38e03f00a16382d74f6796ce9482c5.jpg","text":"TemporaryFile(/tmp/multipartBody421501212443721814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958043220,"filename":"image_12012025_14_34_26_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8642ba41e1e115b49785b0610ad01a20.jpg","text":"TemporaryFile(/tmp/multipartBody3259915543570396551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958043220,"filename":"image_12012025_14_33_27_4703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/313e6580e7c47ef4f4b1b76c29adfae1.jpg","text":"TemporaryFile(/tmp/multipartBody3244355448317400104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958043220,"filename":"image_12012025_14_33_22_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2cfe419f770691d420a1c16382b4afa6.jpg","text":"TemporaryFile(/tmp/multipartBody3180309077132396185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958043220,"filename":"image_12012025_14_33_20_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/23b47b6d4ea748eeef0be26a30eef8bd.jpg","text":"TemporaryFile(/tmp/multipartBody8684896951095017445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958043220,"filename":"image_12012025_14_34_49_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329171026","file1":"1329171022","file0":"1329171016","file4":"1329171032","file5":"1329171102","file3":"1329171029"},"map_files_photo_id_array":[{"photo_id":"1329171102","filename":"file5"},{"photo_id":"1329171026","filename":"file2"},{"photo_id":"1329171032","filename":"file4"},{"photo_id":"1329171022","filename":"file1"},{"photo_id":"1329171016","filename":"file0"},{"photo_id":"1329171029","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329171029":["hashtag1","hashtag2"]},{"1329171032":["hashtag1","hashtag2"]},{"1329171026":["hashtag1","hashtag2"]},{"1329171022":["hashtag1","hashtag2"]},{"1329171016":["hashtag1","hashtag2"]},{"1329171102":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329171029, 1329171032, 1329171026, 1329171022, 1329171016, 1329171102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70085883140564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:20:22.143910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/16/image_10012025_16_16_34_2569.jpg', '/home/pi/Desktop/images/10012025/16/16/image_10012025_16_16_40_3567.jpg', '/home/pi/Desktop/images/10012025/16/16/image_10012025_16_16_43_2738.jpg', '/home/pi/Desktop/images/10012025/16/17/image_10012025_16_17_17_3628.jpg', '/home/pi/Desktop/images/10012025/16/17/image_10012025_16_17_28_3740.jpg', '/home/pi/Desktop/images/10012025/16/17/image_10012025_16_17_31_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/16/image_10012025_16_16_34_2569.jpg
/home/pi/Desktop/images/10012025/16/16/image_10012025_16_16_40_3567.jpg
/home/pi/Desktop/images/10012025/16/16/image_10012025_16_16_43_2738.jpg
/home/pi/Desktop/images/10012025/16/17/image_10012025_16_17_17_3628.jpg
/home/pi/Desktop/images/10012025/16/17/image_10012025_16_17_28_3740.jpg
/home/pi/Desktop/images/10012025/16/17/image_10012025_16_17_31_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329171203","1329171211","1329171214","1329171198","1329171207","1329171188"],"photo_ids_order":["1329171188","1329171198","1329171203","1329171207","1329171211","1329171214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8043c1b0c0fca2cf600363685170c860.jpg","text":"TemporaryFile(/tmp/multipartBody4078303630929112438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958084427,"filename":"image_10012025_16_16_43_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06e077861ee502913e9c8d5ff74ac23c.jpg","text":"TemporaryFile(/tmp/multipartBody5095974698342432225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958084427,"filename":"image_10012025_16_17_28_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d115697987630eb8b8f40e53410af707.jpg","text":"TemporaryFile(/tmp/multipartBody5022369861341314161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958084427,"filename":"image_10012025_16_17_31_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5779cefde2072d7c3f103f004c90f2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5371285435718444134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958084427,"filename":"image_10012025_16_16_40_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/49bde7fb1a24a45d84f6dc836d2de7c3.jpg","text":"TemporaryFile(/tmp/multipartBody8905271263912096496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958084427,"filename":"image_10012025_16_17_17_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36950025e54993fd22df4e2091286696.jpg","text":"TemporaryFile(/tmp/multipartBody2181780558669359725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958084427,"filename":"image_10012025_16_16_34_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329171203","file1":"1329171198","file0":"1329171188","file4":"1329171211","file5":"1329171214","file3":"1329171207"},"map_files_photo_id_array":[{"photo_id":"1329171214","filename":"file5"},{"photo_id":"1329171203","filename":"file2"},{"photo_id":"1329171211","filename":"file4"},{"photo_id":"1329171198","filename":"file1"},{"photo_id":"1329171188","filename":"file0"},{"photo_id":"1329171207","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329171203":["hashtag1","hashtag2"]},{"1329171211":["hashtag1","hashtag2"]},{"1329171214":["hashtag1","hashtag2"]},{"1329171198":["hashtag1","hashtag2"]},{"1329171207":["hashtag1","hashtag2"]},{"1329171188":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329171203, 1329171211, 1329171214, 1329171198, 1329171207, 1329171188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78962707519531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:21:22.344836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/17/image_10012025_16_17_49_2553.jpg', '/home/pi/Desktop/images/10012025/16/18/image_10012025_16_18_40_2686.jpg', '/home/pi/Desktop/images/10012025/16/24/image_10012025_16_24_01_2667.jpg', '/home/pi/Desktop/images/10012025/16/24/image_10012025_16_24_03_2702.jpg', '/home/pi/Desktop/images/10012025/16/25/image_10012025_16_25_14_2688.jpg', '/home/pi/Desktop/images/10012025/16/26/image_10012025_16_26_43_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/17/image_10012025_16_17_49_2553.jpg
/home/pi/Desktop/images/10012025/16/18/image_10012025_16_18_40_2686.jpg
/home/pi/Desktop/images/10012025/16/24/image_10012025_16_24_01_2667.jpg
/home/pi/Desktop/images/10012025/16/24/image_10012025_16_24_03_2702.jpg
/home/pi/Desktop/images/10012025/16/25/image_10012025_16_25_14_2688.jpg
/home/pi/Desktop/images/10012025/16/26/image_10012025_16_26_43_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329171233","1329171236","1329171224","1329171256","1329171265","1329171222"],"photo_ids_order":["1329171222","1329171224","1329171233","1329171236","1329171256","1329171265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f09c70a14fa42219aff8f08cbd22c61d.jpg","text":"TemporaryFile(/tmp/multipartBody1642730258539423780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958144509,"filename":"image_10012025_16_24_01_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b73d4f34f5fb096f3f4e1da3d53a1290.jpg","text":"TemporaryFile(/tmp/multipartBody1005250329009989394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958144509,"filename":"image_10012025_16_24_03_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad9d3395e2d1db18bc65a13b1abe9160.jpg","text":"TemporaryFile(/tmp/multipartBody9107188473144265059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958144509,"filename":"image_10012025_16_18_40_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1279e3286729893b4861c4c7b5c248d5.jpg","text":"TemporaryFile(/tmp/multipartBody275053734293341596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958144509,"filename":"image_10012025_16_25_14_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b9353c3249eae15f8cffdea0a5fc66c6.jpg","text":"TemporaryFile(/tmp/multipartBody3240051971586745968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958144509,"filename":"image_10012025_16_26_43_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b1ae89e6a22ce71b9fd60ec302e4ba1e.jpg","text":"TemporaryFile(/tmp/multipartBody261809998474062976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958144509,"filename":"image_10012025_16_17_49_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329171233","file1":"1329171224","file0":"1329171222","file4":"1329171256","file5":"1329171265","file3":"1329171236"},"map_files_photo_id_array":[{"photo_id":"1329171265","filename":"file5"},{"photo_id":"1329171233","filename":"file2"},{"photo_id":"1329171256","filename":"file4"},{"photo_id":"1329171224","filename":"file1"},{"photo_id":"1329171222","filename":"file0"},{"photo_id":"1329171236","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329171233":["hashtag1","hashtag2"]},{"1329171236":["hashtag1","hashtag2"]},{"1329171224":["hashtag1","hashtag2"]},{"1329171256":["hashtag1","hashtag2"]},{"1329171265":["hashtag1","hashtag2"]},{"1329171222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329171233, 1329171236, 1329171224, 1329171256, 1329171265, 1329171222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95826601982117 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:22:22.835253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/26/image_10012025_16_26_50_2766.jpg', '/home/pi/Desktop/images/10012025/16/26/image_10012025_16_26_58_3574.jpg', '/home/pi/Desktop/images/10012025/16/27/image_10012025_16_27_22_2654.jpg', '/home/pi/Desktop/images/10012025/16/27/image_10012025_16_27_46_3685.jpg', '/home/pi/Desktop/images/10012025/16/27/image_10012025_16_27_52_2806.jpg', '/home/pi/Desktop/images/10012025/16/28/image_10012025_16_28_11_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/26/image_10012025_16_26_50_2766.jpg
/home/pi/Desktop/images/10012025/16/26/image_10012025_16_26_58_3574.jpg
/home/pi/Desktop/images/10012025/16/27/image_10012025_16_27_22_2654.jpg
/home/pi/Desktop/images/10012025/16/27/image_10012025_16_27_46_3685.jpg
/home/pi/Desktop/images/10012025/16/27/image_10012025_16_27_52_2806.jpg
/home/pi/Desktop/images/10012025/16/28/image_10012025_16_28_11_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329172118","1329171941","1329172075","1329171894","1329171771","1329171683"],"photo_ids_order":["1329171683","1329171771","1329171894","1329171941","1329172075","1329172118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/624b6a7d73fdb6f60ba3469804f20cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3116617518768593460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958205013,"filename":"image_10012025_16_28_11_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1ae34b51d5d2352c6db6cf5735c850b.jpg","text":"TemporaryFile(/tmp/multipartBody4666051944555871123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958205013,"filename":"image_10012025_16_27_46_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/04f48397361197f6667a63690728391a.jpg","text":"TemporaryFile(/tmp/multipartBody1247281214525833291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958205013,"filename":"image_10012025_16_27_52_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c6f324889c6f3e45f358f2390a37ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6993868658392728446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958205013,"filename":"image_10012025_16_27_22_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e4965a6aaf2ae3244da7a3bfc515ca8.jpg","text":"TemporaryFile(/tmp/multipartBody428419831008419171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958205013,"filename":"image_10012025_16_26_58_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/744f04f906fea9e35b828a7a70ccaba5.jpg","text":"TemporaryFile(/tmp/multipartBody437878211164837824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958205013,"filename":"image_10012025_16_26_50_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329171894","file1":"1329171771","file0":"1329171683","file4":"1329172075","file5":"1329172118","file3":"1329171941"},"map_files_photo_id_array":[{"photo_id":"1329172118","filename":"file5"},{"photo_id":"1329171894","filename":"file2"},{"photo_id":"1329172075","filename":"file4"},{"photo_id":"1329171771","filename":"file1"},{"photo_id":"1329171683","filename":"file0"},{"photo_id":"1329171941","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329172118":["hashtag1","hashtag2"]},{"1329171941":["hashtag1","hashtag2"]},{"1329172075":["hashtag1","hashtag2"]},{"1329171894":["hashtag1","hashtag2"]},{"1329171771":["hashtag1","hashtag2"]},{"1329171683":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329172118, 1329171941, 1329172075, 1329171894, 1329171771, 1329171683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.907362937927246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:23:02.739910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/28/image_10012025_16_28_13_2764.jpg', '/home/pi/Desktop/images/10012025/16/29/image_10012025_16_29_40_2711.jpg', '/home/pi/Desktop/images/10012025/16/29/image_10012025_16_29_44_3588.jpg', '/home/pi/Desktop/images/10012025/16/29/image_10012025_16_29_46_2700.jpg', '/home/pi/Desktop/images/10012025/16/29/image_10012025_16_29_55_2720.jpg', '/home/pi/Desktop/images/10012025/16/31/image_10012025_16_31_34_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/28/image_10012025_16_28_13_2764.jpg
/home/pi/Desktop/images/10012025/16/29/image_10012025_16_29_40_2711.jpg
/home/pi/Desktop/images/10012025/16/29/image_10012025_16_29_44_3588.jpg
/home/pi/Desktop/images/10012025/16/29/image_10012025_16_29_46_2700.jpg
/home/pi/Desktop/images/10012025/16/29/image_10012025_16_29_55_2720.jpg
/home/pi/Desktop/images/10012025/16/31/image_10012025_16_31_34_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329172195","1329172185","1329172199","1329172193","1329172187","1329172190"],"photo_ids_order":["1329172185","1329172187","1329172190","1329172193","1329172195","1329172199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/11099847850286f7cb63c1bc2d48f80b.jpg","text":"TemporaryFile(/tmp/multipartBody5812696297549858061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958244378,"filename":"image_10012025_16_29_55_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e989fbdc5f5f053c74e304c16db91200.jpg","text":"TemporaryFile(/tmp/multipartBody3557331239374125770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958244378,"filename":"image_10012025_16_28_13_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3824a536d2ebfa9bb9f7e7dc8358b852.jpg","text":"TemporaryFile(/tmp/multipartBody3855926965243377898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958244378,"filename":"image_10012025_16_31_34_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d88fa22fb0d50b66431a2889111783d8.jpg","text":"TemporaryFile(/tmp/multipartBody3304730132529196261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958244378,"filename":"image_10012025_16_29_46_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bdc4ee4cb87944333e9f13f3dbdb2470.jpg","text":"TemporaryFile(/tmp/multipartBody5993828636053696224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958244378,"filename":"image_10012025_16_29_40_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6bce2d265cd1824cf6db8806b19c89d6.jpg","text":"TemporaryFile(/tmp/multipartBody3562741333916233818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958244378,"filename":"image_10012025_16_29_44_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329172190","file1":"1329172187","file0":"1329172185","file4":"1329172195","file5":"1329172199","file3":"1329172193"},"map_files_photo_id_array":[{"photo_id":"1329172199","filename":"file5"},{"photo_id":"1329172190","filename":"file2"},{"photo_id":"1329172195","filename":"file4"},{"photo_id":"1329172187","filename":"file1"},{"photo_id":"1329172185","filename":"file0"},{"photo_id":"1329172193","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329172195":["hashtag1","hashtag2"]},{"1329172185":["hashtag1","hashtag2"]},{"1329172199":["hashtag1","hashtag2"]},{"1329172193":["hashtag1","hashtag2"]},{"1329172187":["hashtag1","hashtag2"]},{"1329172190":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329172195, 1329172185, 1329172199, 1329172193, 1329172187, 1329172190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81716012954712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:23:42.012409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_31_3726.jpg', '/home/pi/Desktop/images/12012025/14/44/image_12012025_14_44_09_2691.jpg', '/home/pi/Desktop/images/12012025/14/51/image_12012025_14_51_09_1813.jpg', '/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_09_3691.jpg', '/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_20_2607.jpg', '/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_19_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/14/39/image_12012025_14_39_31_3726.jpg
/home/pi/Desktop/images/12012025/14/44/image_12012025_14_44_09_2691.jpg
/home/pi/Desktop/images/12012025/14/51/image_12012025_14_51_09_1813.jpg
/home/pi/Desktop/images/12012025/14/55/image_12012025_14_55_09_3691.jpg
/home/pi/Desktop/images/12012025/15/01/image_12012025_15_01_20_2607.jpg
/home/pi/Desktop/images/12012025/15/06/image_12012025_15_06_19_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329172217","1329172219","1329172210","1329172221","1329172215","1329172224"],"photo_ids_order":["1329172210","1329172215","1329172217","1329172219","1329172221","1329172224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/621ff53b6842624b18e9f2ff67f44ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6194780265860941549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958283053,"filename":"image_12012025_14_51_09_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f3b66e292577df0097fa3775c1b070db.jpg","text":"TemporaryFile(/tmp/multipartBody2574896446168929053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958283053,"filename":"image_12012025_14_55_09_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4680febcb07ec1329a7d5a422abd5782.jpg","text":"TemporaryFile(/tmp/multipartBody3992234052054698076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958283053,"filename":"image_12012025_14_39_31_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ae5caec02bb5c402ace35a67b2958745.jpg","text":"TemporaryFile(/tmp/multipartBody7434724402563955725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958283053,"filename":"image_12012025_15_01_20_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c9cbe19b5addff2ea7c80c731f96f98.jpg","text":"TemporaryFile(/tmp/multipartBody443141540117702434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958283053,"filename":"image_12012025_14_44_09_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd6798627ed36777bd640d5c506a5c14.jpg","text":"TemporaryFile(/tmp/multipartBody8148762420849484026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958283053,"filename":"image_12012025_15_06_19_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329172217","file1":"1329172215","file0":"1329172210","file4":"1329172221","file5":"1329172224","file3":"1329172219"},"map_files_photo_id_array":[{"photo_id":"1329172224","filename":"file5"},{"photo_id":"1329172217","filename":"file2"},{"photo_id":"1329172221","filename":"file4"},{"photo_id":"1329172215","filename":"file1"},{"photo_id":"1329172210","filename":"file0"},{"photo_id":"1329172219","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329172217":["hashtag1","hashtag2"]},{"1329172219":["hashtag1","hashtag2"]},{"1329172210":["hashtag1","hashtag2"]},{"1329172221":["hashtag1","hashtag2"]},{"1329172215":["hashtag1","hashtag2"]},{"1329172224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329172217, 1329172219, 1329172210, 1329172221, 1329172215, 1329172224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.640119552612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:24:21.983600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/32/image_10012025_16_32_25_2657.jpg', '/home/pi/Desktop/images/10012025/16/35/image_10012025_16_35_11_3772.jpg', '/home/pi/Desktop/images/10012025/16/35/image_10012025_16_35_13_2715.jpg', '/home/pi/Desktop/images/10012025/16/36/image_10012025_16_36_07_2923.jpg', '/home/pi/Desktop/images/10012025/16/36/image_10012025_16_36_11_3637.jpg', '/home/pi/Desktop/images/10012025/16/36/image_10012025_16_36_52_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/32/image_10012025_16_32_25_2657.jpg
/home/pi/Desktop/images/10012025/16/35/image_10012025_16_35_11_3772.jpg
/home/pi/Desktop/images/10012025/16/35/image_10012025_16_35_13_2715.jpg
/home/pi/Desktop/images/10012025/16/36/image_10012025_16_36_07_2923.jpg
/home/pi/Desktop/images/10012025/16/36/image_10012025_16_36_11_3637.jpg
/home/pi/Desktop/images/10012025/16/36/image_10012025_16_36_52_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329172654","1329172651","1329172383","1329172257","1329172557","1329172659"],"photo_ids_order":["1329172257","1329172383","1329172557","1329172651","1329172654","1329172659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/101deb420d97bc1bc6336ae44cbd80d8.jpg","text":"TemporaryFile(/tmp/multipartBody6760620614392971069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958324247,"filename":"image_10012025_16_36_11_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29399b779370a750a4836b2b2f366c74.jpg","text":"TemporaryFile(/tmp/multipartBody6508909122319006275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958324247,"filename":"image_10012025_16_36_07_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1ccb46514ad8e630ecb910a4cccf42e3.jpg","text":"TemporaryFile(/tmp/multipartBody4388959521299741441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958324247,"filename":"image_10012025_16_35_11_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c5259047dd5b984ec0f67ffbd50ac81.jpg","text":"TemporaryFile(/tmp/multipartBody4680054032831755133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958324247,"filename":"image_10012025_16_32_25_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d24fb85fa08438b9b865ce96d5242ff.jpg","text":"TemporaryFile(/tmp/multipartBody859319460245310569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958324247,"filename":"image_10012025_16_35_13_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1f8ff33488caa0f3e54aeee172254755.jpg","text":"TemporaryFile(/tmp/multipartBody1299170151869395231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958324247,"filename":"image_10012025_16_36_52_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329172557","file1":"1329172383","file0":"1329172257","file4":"1329172654","file5":"1329172659","file3":"1329172651"},"map_files_photo_id_array":[{"photo_id":"1329172659","filename":"file5"},{"photo_id":"1329172557","filename":"file2"},{"photo_id":"1329172654","filename":"file4"},{"photo_id":"1329172383","filename":"file1"},{"photo_id":"1329172257","filename":"file0"},{"photo_id":"1329172651","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329172654":["hashtag1","hashtag2"]},{"1329172651":["hashtag1","hashtag2"]},{"1329172383":["hashtag1","hashtag2"]},{"1329172257":["hashtag1","hashtag2"]},{"1329172557":["hashtag1","hashtag2"]},{"1329172659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329172654, 1329172651, 1329172383, 1329172257, 1329172557, 1329172659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64999723434448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:25:02.798964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/36/image_10012025_16_36_55_2552.jpg', '/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_19_2904.jpg', '/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_32_13576.jpg', '/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_36_1675.jpg', '/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_38_1924.jpg', '/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_39_1797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/36/image_10012025_16_36_55_2552.jpg
/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_19_2904.jpg
/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_32_13576.jpg
/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_36_1675.jpg
/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_38_1924.jpg
/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_39_1797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329172768","1329172762","1329172759","1329172740","1329172758","1329172757"],"photo_ids_order":["1329172740","1329172757","1329172758","1329172759","1329172762","1329172768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a843371b2faa06c7fa4eb4e0ddfbd17.jpg","text":"TemporaryFile(/tmp/multipartBody7649426976271350603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958364453,"filename":"image_10012025_16_37_39_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6fd699af3ac12f9db0faf3e6aa001c16.jpg","text":"TemporaryFile(/tmp/multipartBody4235255508842694829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958364453,"filename":"image_10012025_16_37_38_1924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2fc8e25f4fcc4222c398a57f018c7ddd.jpg","text":"TemporaryFile(/tmp/multipartBody62342904475834198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958364453,"filename":"image_10012025_16_37_36_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b20261c082feba068a98b60c82ea0a8c.jpg","text":"TemporaryFile(/tmp/multipartBody5586251346328693778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958364453,"filename":"image_10012025_16_36_55_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9277585dd03cf6ab3b197d5a635eba63.jpg","text":"TemporaryFile(/tmp/multipartBody4996410129998785427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958364453,"filename":"image_10012025_16_37_32_13576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ed9bdfa7e71e55d55f32bd7a30642d41.jpg","text":"TemporaryFile(/tmp/multipartBody4095118561428683434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958364453,"filename":"image_10012025_16_37_19_2904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329172758","file1":"1329172757","file0":"1329172740","file4":"1329172762","file5":"1329172768","file3":"1329172759"},"map_files_photo_id_array":[{"photo_id":"1329172768","filename":"file5"},{"photo_id":"1329172758","filename":"file2"},{"photo_id":"1329172762","filename":"file4"},{"photo_id":"1329172757","filename":"file1"},{"photo_id":"1329172740","filename":"file0"},{"photo_id":"1329172759","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329172768":["hashtag1","hashtag2"]},{"1329172762":["hashtag1","hashtag2"]},{"1329172759":["hashtag1","hashtag2"]},{"1329172740":["hashtag1","hashtag2"]},{"1329172758":["hashtag1","hashtag2"]},{"1329172757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329172768, 1329172762, 1329172759, 1329172740, 1329172758, 1329172757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12489199638367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:25:42.108761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_36_2565.jpg', '/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_22_3582.jpg', '/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_48_2684.jpg', '/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_53_2779.jpg', '/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_56_3691.jpg', '/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_44_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/15/08/image_12012025_15_08_36_2565.jpg
/home/pi/Desktop/images/12012025/15/12/image_12012025_15_12_22_3582.jpg
/home/pi/Desktop/images/12012025/15/16/image_12012025_15_16_48_2684.jpg
/home/pi/Desktop/images/12012025/15/21/image_12012025_15_21_53_2779.jpg
/home/pi/Desktop/images/12012025/15/25/image_12012025_15_25_56_3691.jpg
/home/pi/Desktop/images/12012025/15/27/image_12012025_15_27_44_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329172789","1329172783","1329172815","1329172818","1329172817","1329172792"],"photo_ids_order":["1329172783","1329172789","1329172792","1329172815","1329172817","1329172818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/925ea53088d20b51cec9a0bc6adb5f32.jpg","text":"TemporaryFile(/tmp/multipartBody2619806362367933537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958402957,"filename":"image_12012025_15_12_22_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2d05cc1f2f0cf513dbc8a7741915156.jpg","text":"TemporaryFile(/tmp/multipartBody6558678754039705430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958402957,"filename":"image_12012025_15_08_36_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec7f34ccf1bca155321cf2a55a374a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4271835357264097169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958402957,"filename":"image_12012025_15_21_53_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d82f6090e72ebf176de5e3f89be3b563.jpg","text":"TemporaryFile(/tmp/multipartBody4959846621275836308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958402957,"filename":"image_12012025_15_27_44_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6342b36a8821ab407228a469ed070bd8.jpg","text":"TemporaryFile(/tmp/multipartBody4690316176323139916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958402957,"filename":"image_12012025_15_25_56_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2dce6f58989324a572255a68059567ab.jpg","text":"TemporaryFile(/tmp/multipartBody7594163129313630833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958402957,"filename":"image_12012025_15_16_48_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329172792","file1":"1329172789","file0":"1329172783","file4":"1329172817","file5":"1329172818","file3":"1329172815"},"map_files_photo_id_array":[{"photo_id":"1329172818","filename":"file5"},{"photo_id":"1329172792","filename":"file2"},{"photo_id":"1329172817","filename":"file4"},{"photo_id":"1329172789","filename":"file1"},{"photo_id":"1329172783","filename":"file0"},{"photo_id":"1329172815","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329172789":["hashtag1","hashtag2"]},{"1329172783":["hashtag1","hashtag2"]},{"1329172815":["hashtag1","hashtag2"]},{"1329172818":["hashtag1","hashtag2"]},{"1329172817":["hashtag1","hashtag2"]},{"1329172792":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329172789, 1329172783, 1329172815, 1329172818, 1329172817, 1329172792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.003260135650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:26:22.349858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_41_1738.jpg', '/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_45_1648.jpg', '/home/pi/Desktop/images/10012025/16/38/image_10012025_16_38_02_15476.jpg', '/home/pi/Desktop/images/10012025/16/38/image_10012025_16_38_04_1861.jpg', '/home/pi/Desktop/images/10012025/16/38/image_10012025_16_38_14_10416.jpg', '/home/pi/Desktop/images/10012025/16/39/image_10012025_16_39_19_21016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_41_1738.jpg
/home/pi/Desktop/images/10012025/16/37/image_10012025_16_37_45_1648.jpg
/home/pi/Desktop/images/10012025/16/38/image_10012025_16_38_02_15476.jpg
/home/pi/Desktop/images/10012025/16/38/image_10012025_16_38_04_1861.jpg
/home/pi/Desktop/images/10012025/16/38/image_10012025_16_38_14_10416.jpg
/home/pi/Desktop/images/10012025/16/39/image_10012025_16_39_19_21016.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329172867","1329172876","1329172824","1329172862","1329172835","1329172829"],"photo_ids_order":["1329172824","1329172829","1329172835","1329172862","1329172867","1329172876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/81e6a2d65f1897413623a3216cb243f7.jpg","text":"TemporaryFile(/tmp/multipartBody5073427661575573214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958444568,"filename":"image_10012025_16_38_14_10416.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ecf0862712165b4f7820cb01db51b42b.jpg","text":"TemporaryFile(/tmp/multipartBody1780496611971547543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958444568,"filename":"image_10012025_16_39_19_21016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3586e47dc1f957f80d07422ac46035af.jpg","text":"TemporaryFile(/tmp/multipartBody7110355679107132839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958444568,"filename":"image_10012025_16_37_41_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0fd9aff3eb53e3c19eb5ce8e0f3f799.jpg","text":"TemporaryFile(/tmp/multipartBody758807536126692648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958444568,"filename":"image_10012025_16_38_04_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a8b25d795c32b9521023337e8a701be7.jpg","text":"TemporaryFile(/tmp/multipartBody4439214297821861485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958444568,"filename":"image_10012025_16_38_02_15476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77722fff5e5e017718d607866840181e.jpg","text":"TemporaryFile(/tmp/multipartBody7459602797970126427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958444568,"filename":"image_10012025_16_37_45_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329172835","file1":"1329172829","file0":"1329172824","file4":"1329172867","file5":"1329172876","file3":"1329172862"},"map_files_photo_id_array":[{"photo_id":"1329172876","filename":"file5"},{"photo_id":"1329172835","filename":"file2"},{"photo_id":"1329172867","filename":"file4"},{"photo_id":"1329172829","filename":"file1"},{"photo_id":"1329172824","filename":"file0"},{"photo_id":"1329172862","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329172867":["hashtag1","hashtag2"]},{"1329172876":["hashtag1","hashtag2"]},{"1329172824":["hashtag1","hashtag2"]},{"1329172862":["hashtag1","hashtag2"]},{"1329172835":["hashtag1","hashtag2"]},{"1329172829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329172867, 1329172876, 1329172824, 1329172862, 1329172835, 1329172829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61912488937378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:27:03.369825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/41/image_10012025_16_41_06_3010.jpg', '/home/pi/Desktop/images/10012025/16/42/image_10012025_16_42_42_2828.jpg', '/home/pi/Desktop/images/10012025/16/43/image_10012025_16_43_12_2723.jpg', '/home/pi/Desktop/images/10012025/16/43/image_10012025_16_43_28_3738.jpg', '/home/pi/Desktop/images/10012025/16/44/image_10012025_16_44_12_2726.jpg', '/home/pi/Desktop/images/10012025/16/52/image_10012025_16_52_10_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/41/image_10012025_16_41_06_3010.jpg
/home/pi/Desktop/images/10012025/16/42/image_10012025_16_42_42_2828.jpg
/home/pi/Desktop/images/10012025/16/43/image_10012025_16_43_12_2723.jpg
/home/pi/Desktop/images/10012025/16/43/image_10012025_16_43_28_3738.jpg
/home/pi/Desktop/images/10012025/16/44/image_10012025_16_44_12_2726.jpg
/home/pi/Desktop/images/10012025/16/52/image_10012025_16_52_10_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329172909","1329172899","1329172892","1329172905","1329172895","1329172897"],"photo_ids_order":["1329172892","1329172895","1329172897","1329172899","1329172905","1329172909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/20b9e6f55e318c2fe131ff5369224962.jpg","text":"TemporaryFile(/tmp/multipartBody8236617460095176338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958485094,"filename":"image_10012025_16_52_10_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3b133c3b83c79b37586c69635fc3617c.jpg","text":"TemporaryFile(/tmp/multipartBody1513205754965307886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958485094,"filename":"image_10012025_16_43_28_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/30c9286bf2f3b769c92b359d222da5e9.jpg","text":"TemporaryFile(/tmp/multipartBody1442380457978819471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958485094,"filename":"image_10012025_16_41_06_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f22421c9f29de73fe7bf7636c5e9352a.jpg","text":"TemporaryFile(/tmp/multipartBody2935995122426592105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958485094,"filename":"image_10012025_16_44_12_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7ffb904d5d21283963a1c30d3ac74800.jpg","text":"TemporaryFile(/tmp/multipartBody3865365271515381559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958485094,"filename":"image_10012025_16_42_42_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f4a8229a516af34752fde43c205e5b3.jpg","text":"TemporaryFile(/tmp/multipartBody4960060225921340250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958485094,"filename":"image_10012025_16_43_12_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329172897","file1":"1329172895","file0":"1329172892","file4":"1329172905","file5":"1329172909","file3":"1329172899"},"map_files_photo_id_array":[{"photo_id":"1329172909","filename":"file5"},{"photo_id":"1329172897","filename":"file2"},{"photo_id":"1329172905","filename":"file4"},{"photo_id":"1329172895","filename":"file1"},{"photo_id":"1329172892","filename":"file0"},{"photo_id":"1329172899","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329172909":["hashtag1","hashtag2"]},{"1329172899":["hashtag1","hashtag2"]},{"1329172892":["hashtag1","hashtag2"]},{"1329172905":["hashtag1","hashtag2"]},{"1329172895":["hashtag1","hashtag2"]},{"1329172897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329172909, 1329172899, 1329172892, 1329172905, 1329172895, 1329172897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.942262411117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:27:42.498775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/19/image_15012025_17_19_05_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/19/image_15012025_17_19_05_3607.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329172928"],"photo_id":"1329172928","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec5244eb396ea003482da56e9ec48d7f.jpg","text":"TemporaryFile(/tmp/multipartBody7549891727309633341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958523050,"filename":"image_15012025_17_19_05_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329172928"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329172928"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.973474264144897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:28:03.151056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/53/image_10012025_16_53_38_2880.jpg', '/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_04_2729.jpg', '/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_07_3606.jpg', '/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_10_2547.jpg', '/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_13_2807.jpg', '/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_16_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/53/image_10012025_16_53_38_2880.jpg
/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_04_2729.jpg
/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_07_3606.jpg
/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_10_2547.jpg
/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_13_2807.jpg
/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_16_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173134","1329173139","1329172947","1329173141","1329173030","1329173095"],"photo_ids_order":["1329172947","1329173030","1329173095","1329173134","1329173139","1329173141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e269c67e275134a6de3b74a324666b3.jpg","text":"TemporaryFile(/tmp/multipartBody3122989298545272347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958544788,"filename":"image_10012025_16_54_10_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b24ab03a34a1e4f6d0c331b32ffa13fe.jpg","text":"TemporaryFile(/tmp/multipartBody3801403837163790825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958544788,"filename":"image_10012025_16_54_13_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/69ebb030d7d61ebdb8f7be1b9f0b09d1.jpg","text":"TemporaryFile(/tmp/multipartBody2790764943280475312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958544788,"filename":"image_10012025_16_53_38_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8cc866602ba79335d411eac8132d6cc.jpg","text":"TemporaryFile(/tmp/multipartBody7471257840062742703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958544788,"filename":"image_10012025_16_54_16_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/923f919a022122982fc3c20a426343d8.jpg","text":"TemporaryFile(/tmp/multipartBody65632794411903387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958544788,"filename":"image_10012025_16_54_04_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc7219d186cd6dfebb20baa54645e46d.jpg","text":"TemporaryFile(/tmp/multipartBody7842335853302082719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958544788,"filename":"image_10012025_16_54_07_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173095","file1":"1329173030","file0":"1329172947","file4":"1329173139","file5":"1329173141","file3":"1329173134"},"map_files_photo_id_array":[{"photo_id":"1329173141","filename":"file5"},{"photo_id":"1329173095","filename":"file2"},{"photo_id":"1329173139","filename":"file4"},{"photo_id":"1329173030","filename":"file1"},{"photo_id":"1329172947","filename":"file0"},{"photo_id":"1329173134","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329173134":["hashtag1","hashtag2"]},{"1329173139":["hashtag1","hashtag2"]},{"1329172947":["hashtag1","hashtag2"]},{"1329173141":["hashtag1","hashtag2"]},{"1329173030":["hashtag1","hashtag2"]},{"1329173095":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329173134, 1329173139, 1329172947, 1329173141, 1329173030, 1329173095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41325354576111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:28:42.417699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_14_2640.jpg', '/home/pi/Desktop/images/12012025/15/32/image_12012025_15_32_14_3500.jpg', '/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_56_2833.jpg', '/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_44_3702.jpg', '/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_49_2586.jpg', '/home/pi/Desktop/images/12012025/15/39/image_12012025_15_39_31_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/15/29/image_12012025_15_29_14_2640.jpg
/home/pi/Desktop/images/12012025/15/32/image_12012025_15_32_14_3500.jpg
/home/pi/Desktop/images/12012025/15/34/image_12012025_15_34_56_2833.jpg
/home/pi/Desktop/images/12012025/15/36/image_12012025_15_36_44_3702.jpg
/home/pi/Desktop/images/12012025/15/37/image_12012025_15_37_49_2586.jpg
/home/pi/Desktop/images/12012025/15/39/image_12012025_15_39_31_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173161","1329173169","1329173184","1329173183","1329173189","1329173153"],"photo_ids_order":["1329173153","1329173161","1329173169","1329173183","1329173184","1329173189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b93e5fcd81b221d3305ab4a45d76ae53.jpg","text":"TemporaryFile(/tmp/multipartBody5004257659851267100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958583265,"filename":"image_12012025_15_32_14_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/376fe4a7ef64c6e38b5cf4c16012fc68.jpg","text":"TemporaryFile(/tmp/multipartBody5822018231835104372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958583265,"filename":"image_12012025_15_34_56_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59def72c38499a39e2f0cb4e39cfcfa8.jpg","text":"TemporaryFile(/tmp/multipartBody6066780413699295985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958583265,"filename":"image_12012025_15_37_49_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1c03d5cddcb2de3babea25c3b4261ac.jpg","text":"TemporaryFile(/tmp/multipartBody2514193788692599057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958583265,"filename":"image_12012025_15_36_44_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9596700c82443a1db5bc9cc28fef1676.jpg","text":"TemporaryFile(/tmp/multipartBody5162229473285020002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958583265,"filename":"image_12012025_15_39_31_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/169595560bf0fcc9da0853a2d14fcfa7.jpg","text":"TemporaryFile(/tmp/multipartBody4799785764229317888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958583265,"filename":"image_12012025_15_29_14_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173169","file1":"1329173161","file0":"1329173153","file4":"1329173184","file5":"1329173189","file3":"1329173183"},"map_files_photo_id_array":[{"photo_id":"1329173189","filename":"file5"},{"photo_id":"1329173169","filename":"file2"},{"photo_id":"1329173184","filename":"file4"},{"photo_id":"1329173161","filename":"file1"},{"photo_id":"1329173153","filename":"file0"},{"photo_id":"1329173183","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329173161":["hashtag1","hashtag2"]},{"1329173169":["hashtag1","hashtag2"]},{"1329173184":["hashtag1","hashtag2"]},{"1329173183":["hashtag1","hashtag2"]},{"1329173189":["hashtag1","hashtag2"]},{"1329173153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329173161, 1329173169, 1329173184, 1329173183, 1329173189, 1329173153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40002918243408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:29:22.495649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_25_2668.jpg', '/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_43_2771.jpg', '/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_46_3616.jpg', '/home/pi/Desktop/images/10012025/16/56/image_10012025_16_56_07_3015.jpg', '/home/pi/Desktop/images/10012025/16/56/image_10012025_16_56_34_2717.jpg', '/home/pi/Desktop/images/10012025/16/56/image_10012025_16_56_41_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_25_2668.jpg
/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_43_2771.jpg
/home/pi/Desktop/images/10012025/16/54/image_10012025_16_54_46_3616.jpg
/home/pi/Desktop/images/10012025/16/56/image_10012025_16_56_07_3015.jpg
/home/pi/Desktop/images/10012025/16/56/image_10012025_16_56_34_2717.jpg
/home/pi/Desktop/images/10012025/16/56/image_10012025_16_56_41_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173271","1329173261","1329173255","1329173201","1329173210","1329173204"],"photo_ids_order":["1329173201","1329173204","1329173210","1329173255","1329173261","1329173271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/20c3a996ee4b8d2724185074054b7ec6.jpg","text":"TemporaryFile(/tmp/multipartBody2191344374435189725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958624794,"filename":"image_10012025_16_56_41_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6da9af66c2ec77687b9595bc2bf54ef6.jpg","text":"TemporaryFile(/tmp/multipartBody1242852795953436005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958624794,"filename":"image_10012025_16_56_34_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/56f906fb81ceae83bd2b63c6860e1db2.jpg","text":"TemporaryFile(/tmp/multipartBody3237717621642762047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958624794,"filename":"image_10012025_16_56_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/291b32be32820fdc93b5e6d2ad3f4af3.jpg","text":"TemporaryFile(/tmp/multipartBody7428451261758111922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958624794,"filename":"image_10012025_16_54_25_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ceb5a9efa38c9b96e591f655d08fbf3f.jpg","text":"TemporaryFile(/tmp/multipartBody9153418971527899389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958624794,"filename":"image_10012025_16_54_46_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7bb747df527e486a6fda72c103188823.jpg","text":"TemporaryFile(/tmp/multipartBody2882089570984390101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958624794,"filename":"image_10012025_16_54_43_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173210","file1":"1329173204","file0":"1329173201","file4":"1329173261","file5":"1329173271","file3":"1329173255"},"map_files_photo_id_array":[{"photo_id":"1329173271","filename":"file5"},{"photo_id":"1329173210","filename":"file2"},{"photo_id":"1329173261","filename":"file4"},{"photo_id":"1329173204","filename":"file1"},{"photo_id":"1329173201","filename":"file0"},{"photo_id":"1329173255","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329173271":["hashtag1","hashtag2"]},{"1329173261":["hashtag1","hashtag2"]},{"1329173255":["hashtag1","hashtag2"]},{"1329173201":["hashtag1","hashtag2"]},{"1329173210":["hashtag1","hashtag2"]},{"1329173204":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329173271, 1329173261, 1329173255, 1329173201, 1329173210, 1329173204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46418356895447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:30:22.679737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_04_2769.jpg', '/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_13_2687.jpg', '/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_16_2822.jpg', '/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_43_2702.jpg', '/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_46_2740.jpg', '/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_50_3779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_04_2769.jpg
/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_13_2687.jpg
/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_16_2822.jpg
/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_43_2702.jpg
/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_46_2740.jpg
/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_50_3779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173314","1329173308","1329173305","1329173322","1329173310","1329173318"],"photo_ids_order":["1329173305","1329173308","1329173310","1329173314","1329173318","1329173322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da49d721001414a86299ae7eb17709f8.jpg","text":"TemporaryFile(/tmp/multipartBody6559258866838520871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958684905,"filename":"image_10012025_16_57_43_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a7ed02ff223d41d00083c36b94b9734b.jpg","text":"TemporaryFile(/tmp/multipartBody7983210132071190936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958684905,"filename":"image_10012025_16_57_13_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2867faa4510df34407296aa7193e9db1.jpg","text":"TemporaryFile(/tmp/multipartBody8378942867821295105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958684905,"filename":"image_10012025_16_57_04_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a77c30f263d39524bafe9b54e1bfc824.jpg","text":"TemporaryFile(/tmp/multipartBody191836084542524675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958684905,"filename":"image_10012025_16_57_50_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6bbbfd36d3e531a33a3f96d273942bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8312291514762150704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958684905,"filename":"image_10012025_16_57_16_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21299406d597139b54750e76281a3d94.jpg","text":"TemporaryFile(/tmp/multipartBody2880243819284737294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958684905,"filename":"image_10012025_16_57_46_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173310","file1":"1329173308","file0":"1329173305","file4":"1329173318","file5":"1329173322","file3":"1329173314"},"map_files_photo_id_array":[{"photo_id":"1329173322","filename":"file5"},{"photo_id":"1329173310","filename":"file2"},{"photo_id":"1329173318","filename":"file4"},{"photo_id":"1329173308","filename":"file1"},{"photo_id":"1329173305","filename":"file0"},{"photo_id":"1329173314","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329173314":["hashtag1","hashtag2"]},{"1329173308":["hashtag1","hashtag2"]},{"1329173305":["hashtag1","hashtag2"]},{"1329173322":["hashtag1","hashtag2"]},{"1329173310":["hashtag1","hashtag2"]},{"1329173318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329173314, 1329173308, 1329173305, 1329173322, 1329173310, 1329173318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.932642221450806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:31:02.741026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_53_2813.jpg', '/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_55_2750.jpg', '/home/pi/Desktop/images/10012025/16/58/image_10012025_16_58_11_3635.jpg', '/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_05_3776.jpg', '/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_10_2828.jpg', '/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_13_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_53_2813.jpg
/home/pi/Desktop/images/10012025/16/57/image_10012025_16_57_55_2750.jpg
/home/pi/Desktop/images/10012025/16/58/image_10012025_16_58_11_3635.jpg
/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_05_3776.jpg
/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_10_2828.jpg
/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_13_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173340","1329173334","1329173343","1329173345","1329173348","1329173330"],"photo_ids_order":["1329173330","1329173334","1329173340","1329173343","1329173345","1329173348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5ead1ec452db9f8da463bd7f57e5f75.jpg","text":"TemporaryFile(/tmp/multipartBody2418901916691989253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958724431,"filename":"image_10012025_16_58_11_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af0f5f141a23a37b4d6ad3e70fbca38b.jpg","text":"TemporaryFile(/tmp/multipartBody892477826195790585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958724431,"filename":"image_10012025_16_57_55_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fdbe2db71853aa601172658039e977c0.jpg","text":"TemporaryFile(/tmp/multipartBody325225643794841612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958724431,"filename":"image_10012025_16_59_05_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ebc99b516f58c598ac3d861387ed2fd0.jpg","text":"TemporaryFile(/tmp/multipartBody8049133577467780183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958724431,"filename":"image_10012025_16_59_10_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/afe5e48d74040a488b924cc96a819b24.jpg","text":"TemporaryFile(/tmp/multipartBody8107109813550098573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958724431,"filename":"image_10012025_16_59_13_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44edcd751f2412ba574ae511b777e136.jpg","text":"TemporaryFile(/tmp/multipartBody6013884525598093232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958724431,"filename":"image_10012025_16_57_53_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173340","file1":"1329173334","file0":"1329173330","file4":"1329173345","file5":"1329173348","file3":"1329173343"},"map_files_photo_id_array":[{"photo_id":"1329173348","filename":"file5"},{"photo_id":"1329173340","filename":"file2"},{"photo_id":"1329173345","filename":"file4"},{"photo_id":"1329173334","filename":"file1"},{"photo_id":"1329173330","filename":"file0"},{"photo_id":"1329173343","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329173340":["hashtag1","hashtag2"]},{"1329173334":["hashtag1","hashtag2"]},{"1329173343":["hashtag1","hashtag2"]},{"1329173345":["hashtag1","hashtag2"]},{"1329173348":["hashtag1","hashtag2"]},{"1329173330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329173340, 1329173334, 1329173343, 1329173345, 1329173348, 1329173330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.114418506622314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:31:41.897715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_21_2686.jpg', '/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_51_2742.jpg', '/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_21_2738.jpg', '/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_58_3764.jpg', '/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_39_2645.jpg', '/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_48_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/15/41/image_12012025_15_41_21_2686.jpg
/home/pi/Desktop/images/12012025/15/42/image_12012025_15_42_51_2742.jpg
/home/pi/Desktop/images/12012025/15/44/image_12012025_15_44_21_2738.jpg
/home/pi/Desktop/images/12012025/15/45/image_12012025_15_45_58_3764.jpg
/home/pi/Desktop/images/12012025/15/47/image_12012025_15_47_39_2645.jpg
/home/pi/Desktop/images/12012025/15/49/image_12012025_15_49_48_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173385","1329173382","1329173363","1329173366","1329173377","1329173359"],"photo_ids_order":["1329173359","1329173363","1329173366","1329173377","1329173382","1329173385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c9e6db01f6ff12fd78c5c5c2679c6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2443757768626176411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958762739,"filename":"image_12012025_15_49_48_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/520205a9d33f96e46329892ff793bd5f.jpg","text":"TemporaryFile(/tmp/multipartBody8481180116404128242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958762739,"filename":"image_12012025_15_47_39_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97de39ef87f2ff484e95eba1c6ea7e13.jpg","text":"TemporaryFile(/tmp/multipartBody1088261199016792878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958762739,"filename":"image_12012025_15_42_51_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0a27782b4dbbe38d576869fa059f0344.jpg","text":"TemporaryFile(/tmp/multipartBody2606491689734754477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958762739,"filename":"image_12012025_15_44_21_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/98faa3c37a2a68cc5de4afcba324653d.jpg","text":"TemporaryFile(/tmp/multipartBody5049235451994573840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958762739,"filename":"image_12012025_15_45_58_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f862a2c282857301a2f32b57c7a0e9e2.jpg","text":"TemporaryFile(/tmp/multipartBody239632411573293172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958762739,"filename":"image_12012025_15_41_21_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173366","file1":"1329173363","file0":"1329173359","file4":"1329173382","file5":"1329173385","file3":"1329173377"},"map_files_photo_id_array":[{"photo_id":"1329173385","filename":"file5"},{"photo_id":"1329173366","filename":"file2"},{"photo_id":"1329173382","filename":"file4"},{"photo_id":"1329173363","filename":"file1"},{"photo_id":"1329173359","filename":"file0"},{"photo_id":"1329173377","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329173385":["hashtag1","hashtag2"]},{"1329173382":["hashtag1","hashtag2"]},{"1329173363":["hashtag1","hashtag2"]},{"1329173366":["hashtag1","hashtag2"]},{"1329173377":["hashtag1","hashtag2"]},{"1329173359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329173385, 1329173382, 1329173363, 1329173366, 1329173377, 1329173359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07017207145691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:32:22.480165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_17_3645.jpg', '/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_19_2738.jpg', '/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_22_2787.jpg', '/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_58_3120.jpg', '/home/pi/Desktop/images/10012025/17/00/image_10012025_17_00_08_3012.jpg', '/home/pi/Desktop/images/10012025/17/04/image_10012025_17_04_08_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_17_3645.jpg
/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_19_2738.jpg
/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_22_2787.jpg
/home/pi/Desktop/images/10012025/16/59/image_10012025_16_59_58_3120.jpg
/home/pi/Desktop/images/10012025/17/00/image_10012025_17_00_08_3012.jpg
/home/pi/Desktop/images/10012025/17/04/image_10012025_17_04_08_3665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173431","1329173425","1329173394","1329173445","1329173426","1329173392"],"photo_ids_order":["1329173392","1329173394","1329173425","1329173426","1329173431","1329173445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5107a5ad7e37110047ed884f684f6d6d.jpg","text":"TemporaryFile(/tmp/multipartBody5024335546745782908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958804658,"filename":"image_10012025_17_00_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/505155b31889899c9f4c1c1b14fb43f6.jpg","text":"TemporaryFile(/tmp/multipartBody4273996161549460813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958804658,"filename":"image_10012025_16_59_22_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c13fbab23d2a6a7b1d71c4d23bc90c66.jpg","text":"TemporaryFile(/tmp/multipartBody2375568566799366538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958804658,"filename":"image_10012025_16_59_19_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/275eb503297c70a7d06803b2e443a72e.jpg","text":"TemporaryFile(/tmp/multipartBody4812084578584954556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958804658,"filename":"image_10012025_17_04_08_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0db7461af738282598656edae7b44cc0.jpg","text":"TemporaryFile(/tmp/multipartBody2192330630591277055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958804658,"filename":"image_10012025_16_59_58_3120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8aeb026a1e0032811541178e8d5e5293.jpg","text":"TemporaryFile(/tmp/multipartBody8706193030498943812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958804658,"filename":"image_10012025_16_59_17_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173425","file1":"1329173394","file0":"1329173392","file4":"1329173431","file5":"1329173445","file3":"1329173426"},"map_files_photo_id_array":[{"photo_id":"1329173445","filename":"file5"},{"photo_id":"1329173425","filename":"file2"},{"photo_id":"1329173431","filename":"file4"},{"photo_id":"1329173394","filename":"file1"},{"photo_id":"1329173392","filename":"file0"},{"photo_id":"1329173426","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329173431":["hashtag1","hashtag2"]},{"1329173425":["hashtag1","hashtag2"]},{"1329173394":["hashtag1","hashtag2"]},{"1329173445":["hashtag1","hashtag2"]},{"1329173426":["hashtag1","hashtag2"]},{"1329173392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329173431, 1329173425, 1329173394, 1329173445, 1329173426, 1329173392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.050206422805786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:33:03.472619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/04/image_10012025_17_04_23_2818.jpg', '/home/pi/Desktop/images/10012025/17/04/image_10012025_17_04_47_2654.jpg', '/home/pi/Desktop/images/10012025/17/07/image_10012025_17_07_17_2748.jpg', '/home/pi/Desktop/images/10012025/17/18/image_10012025_17_18_46_2734.jpg', '/home/pi/Desktop/images/10012025/17/18/image_10012025_17_18_49_3523.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_16_3823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/04/image_10012025_17_04_23_2818.jpg
/home/pi/Desktop/images/10012025/17/04/image_10012025_17_04_47_2654.jpg
/home/pi/Desktop/images/10012025/17/07/image_10012025_17_07_17_2748.jpg
/home/pi/Desktop/images/10012025/17/18/image_10012025_17_18_46_2734.jpg
/home/pi/Desktop/images/10012025/17/18/image_10012025_17_18_49_3523.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_16_3823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173512","1329173506","1329173514","1329173511","1329173516","1329173510"],"photo_ids_order":["1329173506","1329173510","1329173511","1329173512","1329173514","1329173516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2928ace09662b0e55b5f952e915e4b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7064455298238457443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958845114,"filename":"image_10012025_17_18_46_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92a5d13f27afc35a21d3abec913c9fce.jpg","text":"TemporaryFile(/tmp/multipartBody7026037671523565440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958845114,"filename":"image_10012025_17_04_23_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ead4f44cbb573e96a7efe05921a1327a.jpg","text":"TemporaryFile(/tmp/multipartBody5101285261782481171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958845114,"filename":"image_10012025_17_18_49_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/72cece364553810f506fef0f43969f8d.jpg","text":"TemporaryFile(/tmp/multipartBody1285647051880809661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958845114,"filename":"image_10012025_17_07_17_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28be7f7777aae5bfd8042023a3024c97.jpg","text":"TemporaryFile(/tmp/multipartBody8250072381330448258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958845114,"filename":"image_10012025_17_19_16_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/178d9a4ce2a334929855c94df1eddd98.jpg","text":"TemporaryFile(/tmp/multipartBody4673790263838919292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958845114,"filename":"image_10012025_17_04_47_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173511","file1":"1329173510","file0":"1329173506","file4":"1329173514","file5":"1329173516","file3":"1329173512"},"map_files_photo_id_array":[{"photo_id":"1329173516","filename":"file5"},{"photo_id":"1329173511","filename":"file2"},{"photo_id":"1329173514","filename":"file4"},{"photo_id":"1329173510","filename":"file1"},{"photo_id":"1329173506","filename":"file0"},{"photo_id":"1329173512","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329173512":["hashtag1","hashtag2"]},{"1329173506":["hashtag1","hashtag2"]},{"1329173514":["hashtag1","hashtag2"]},{"1329173511":["hashtag1","hashtag2"]},{"1329173516":["hashtag1","hashtag2"]},{"1329173510":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329173512, 1329173506, 1329173514, 1329173511, 1329173516, 1329173510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68924164772034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:33:42.723145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/50/image_12012025_15_50_45_3592.jpg', '/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_23_2680.jpg', '/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_03_2653.jpg', '/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_47_2779.jpg', '/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_11_2670.jpg', '/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_05_3794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/15/50/image_12012025_15_50_45_3592.jpg
/home/pi/Desktop/images/12012025/15/52/image_12012025_15_52_23_2680.jpg
/home/pi/Desktop/images/12012025/15/54/image_12012025_15_54_03_2653.jpg
/home/pi/Desktop/images/12012025/15/55/image_12012025_15_55_47_2779.jpg
/home/pi/Desktop/images/12012025/15/57/image_12012025_15_57_11_2670.jpg
/home/pi/Desktop/images/12012025/15/58/image_12012025_15_58_05_3794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173602","1329173595","1329173589","1329173607","1329173606","1329173599"],"photo_ids_order":["1329173589","1329173595","1329173599","1329173602","1329173606","1329173607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4fb86523a02bf53c2a4cb44a5074dca1.jpg","text":"TemporaryFile(/tmp/multipartBody6634519487370083121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958883593,"filename":"image_12012025_15_55_47_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5d6e19eaca49f051c65fb8d0eec433e7.jpg","text":"TemporaryFile(/tmp/multipartBody8198259735236164030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958883593,"filename":"image_12012025_15_52_23_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d403e19c7d8e7d9b7a1b680ac93bb356.jpg","text":"TemporaryFile(/tmp/multipartBody1733900111449638726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958883593,"filename":"image_12012025_15_50_45_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bb5763ae1ab3cb7f5c6bd8c415587696.jpg","text":"TemporaryFile(/tmp/multipartBody5903360803605848892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958883593,"filename":"image_12012025_15_58_05_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/430da56d56e22a13286b2d04648682a8.jpg","text":"TemporaryFile(/tmp/multipartBody5440719640459346336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958883593,"filename":"image_12012025_15_57_11_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76ece2037969571ce2e8498b78ec97ca.jpg","text":"TemporaryFile(/tmp/multipartBody3427814609585034936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958883593,"filename":"image_12012025_15_54_03_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173599","file1":"1329173595","file0":"1329173589","file4":"1329173606","file5":"1329173607","file3":"1329173602"},"map_files_photo_id_array":[{"photo_id":"1329173607","filename":"file5"},{"photo_id":"1329173599","filename":"file2"},{"photo_id":"1329173606","filename":"file4"},{"photo_id":"1329173595","filename":"file1"},{"photo_id":"1329173589","filename":"file0"},{"photo_id":"1329173602","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329173602":["hashtag1","hashtag2"]},{"1329173595":["hashtag1","hashtag2"]},{"1329173589":["hashtag1","hashtag2"]},{"1329173607":["hashtag1","hashtag2"]},{"1329173606":["hashtag1","hashtag2"]},{"1329173599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329173602, 1329173595, 1329173589, 1329173607, 1329173606, 1329173599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25570726394653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:34:22.837303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/27/image_15012025_17_27_26_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/27/image_15012025_17_27_26_3603.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173618"],"photo_id":"1329173618","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a44abcfe8624e6003fb066a678ef486.jpg","text":"TemporaryFile(/tmp/multipartBody3531831993082927141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958923359,"filename":"image_15012025_17_27_26_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329173618"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329173618"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.584522485733032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:34:42.790624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_26_3661.jpg', '/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_19_3699.jpg', '/home/pi/Desktop/images/12012025/16/02/image_12012025_16_02_28_2630.jpg', '/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_52_2898.jpg', '/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_49_2696.jpg', '/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_11_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/15/59/image_12012025_15_59_26_3661.jpg
/home/pi/Desktop/images/12012025/16/01/image_12012025_16_01_19_3699.jpg
/home/pi/Desktop/images/12012025/16/02/image_12012025_16_02_28_2630.jpg
/home/pi/Desktop/images/12012025/16/03/image_12012025_16_03_52_2898.jpg
/home/pi/Desktop/images/12012025/16/04/image_12012025_16_04_49_2696.jpg
/home/pi/Desktop/images/12012025/16/06/image_12012025_16_06_11_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173646","1329173640","1329173643","1329173636","1329173630","1329173647"],"photo_ids_order":["1329173630","1329173636","1329173640","1329173643","1329173646","1329173647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5658302526e820dbd3e1db430bb90fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3740834567638425696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958943664,"filename":"image_12012025_16_04_49_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70b2948d2d35f25e3ccfc3f00bfb0969.jpg","text":"TemporaryFile(/tmp/multipartBody298769428239299282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958943664,"filename":"image_12012025_16_02_28_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/04291286b7153fc98daf6da096bda665.jpg","text":"TemporaryFile(/tmp/multipartBody5990779420950720260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958943664,"filename":"image_12012025_16_03_52_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e0c737113db0e4b57b7e2120426d36c.jpg","text":"TemporaryFile(/tmp/multipartBody7096859494498455234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958943664,"filename":"image_12012025_16_01_19_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36f9989b4342c14aae775d816cb90a67.jpg","text":"TemporaryFile(/tmp/multipartBody2662957926288186271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958943664,"filename":"image_12012025_15_59_26_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7c9dae781c72de7054548df3ac2e114.jpg","text":"TemporaryFile(/tmp/multipartBody1035946101406167700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736958943664,"filename":"image_12012025_16_06_11_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173640","file1":"1329173636","file0":"1329173630","file4":"1329173646","file5":"1329173647","file3":"1329173643"},"map_files_photo_id_array":[{"photo_id":"1329173647","filename":"file5"},{"photo_id":"1329173640","filename":"file2"},{"photo_id":"1329173646","filename":"file4"},{"photo_id":"1329173636","filename":"file1"},{"photo_id":"1329173630","filename":"file0"},{"photo_id":"1329173643","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329173646":["hashtag1","hashtag2"]},{"1329173640":["hashtag1","hashtag2"]},{"1329173643":["hashtag1","hashtag2"]},{"1329173636":["hashtag1","hashtag2"]},{"1329173630":["hashtag1","hashtag2"]},{"1329173647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329173646, 1329173640, 1329173643, 1329173636, 1329173630, 1329173647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.87547779083252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:35:42.271956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/34/image_15012025_17_34_01_2659.jpg', '/home/pi/Desktop/images/15012025/17/35/image_15012025_17_35_53_3532.jpg', '/home/pi/Desktop/images/15012025/17/35/image_15012025_17_35_56_2922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/34/image_15012025_17_34_01_2659.jpg
/home/pi/Desktop/images/15012025/17/35/image_15012025_17_35_53_3532.jpg
/home/pi/Desktop/images/15012025/17/35/image_15012025_17_35_56_2922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173704","1329173670","1329173709"],"photo_ids_order":["1329173670","1329173704","1329173709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/920d58b283a87baaa5a2e6c3bf31d6d8.jpg","text":"TemporaryFile(/tmp/multipartBody3427608278587059076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959002846,"filename":"image_15012025_17_35_53_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87e44c56878f94d36cf97b43bf569e9e.jpg","text":"TemporaryFile(/tmp/multipartBody6824494192280630500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959002846,"filename":"image_15012025_17_34_01_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e4718e605959c1981d65f39099cb898.jpg","text":"TemporaryFile(/tmp/multipartBody6746479394403064738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959002846,"filename":"image_15012025_17_35_56_2922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173709","file1":"1329173704","file0":"1329173670"},"map_files_photo_id_array":[{"photo_id":"1329173709","filename":"file2"},{"photo_id":"1329173704","filename":"file1"},{"photo_id":"1329173670","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329173704":["hashtag1","hashtag2"]},{"1329173670":["hashtag1","hashtag2"]},{"1329173709":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329173704, 1329173670, 1329173709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.071502208709717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:36:22.548291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/35/image_15012025_17_35_59_2621.jpg', '/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_01_2635.jpg', '/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_05_3560.jpg', '/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_08_2514.jpg', '/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_11_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/35/image_15012025_17_35_59_2621.jpg
/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_01_2635.jpg
/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_05_3560.jpg
/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_08_2514.jpg
/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_11_3716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173853","1329173873","1329173855","1329173866","1329173860"],"photo_ids_order":["1329173853","1329173855","1329173860","1329173866","1329173873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/12a9e35919610c701db7163a12359855.jpg","text":"TemporaryFile(/tmp/multipartBody7801805643252464863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959043204,"filename":"image_15012025_17_35_59_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4cf603689344063e0e6864a61ec855d4.jpg","text":"TemporaryFile(/tmp/multipartBody7172666818529139050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959043204,"filename":"image_15012025_17_36_11_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73a476c8abb16fd5ed18c2e5cf7e2ac0.jpg","text":"TemporaryFile(/tmp/multipartBody2326312895244212271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959043204,"filename":"image_15012025_17_36_01_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffcf313191b20f7b0533caa2ba242947.jpg","text":"TemporaryFile(/tmp/multipartBody7632687466634966789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959043204,"filename":"image_15012025_17_36_08_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58e3ebfd7f6b7ceedfd30754a5ed86ec.jpg","text":"TemporaryFile(/tmp/multipartBody1676770727640133368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959043204,"filename":"image_15012025_17_36_05_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173860","file1":"1329173855","file0":"1329173853","file4":"1329173873","file3":"1329173866"},"map_files_photo_id_array":[{"photo_id":"1329173860","filename":"file2"},{"photo_id":"1329173873","filename":"file4"},{"photo_id":"1329173855","filename":"file1"},{"photo_id":"1329173853","filename":"file0"},{"photo_id":"1329173866","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329173853":["hashtag1","hashtag2"]},{"1329173873":["hashtag1","hashtag2"]},{"1329173855":["hashtag1","hashtag2"]},{"1329173866":["hashtag1","hashtag2"]},{"1329173860":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329173853, 1329173873, 1329173855, 1329173866, 1329173860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.17245364189148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:37:03.479714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_19_2637.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_22_2743.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_25_3530.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_28_2716.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_30_2665.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_34_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_19_2637.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_22_2743.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_25_3530.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_28_2716.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_30_2665.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_34_3648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173889","1329173922","1329173925","1329173919","1329173921","1329173918"],"photo_ids_order":["1329173889","1329173918","1329173919","1329173921","1329173922","1329173925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/311efcf7089dafbc1ef05847a039421f.jpg","text":"TemporaryFile(/tmp/multipartBody595899467160839601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959085179,"filename":"image_10012025_17_19_19_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cb492afa4b0987ac5d29ae284d857b4.jpg","text":"TemporaryFile(/tmp/multipartBody3369407134090688962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959085179,"filename":"image_10012025_17_19_30_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1872409f5b3ecdfe04d47ee9a18dac9c.jpg","text":"TemporaryFile(/tmp/multipartBody4974916578220614690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959085179,"filename":"image_10012025_17_19_34_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/188fa420f83ad82757fb89cfa3f523b3.jpg","text":"TemporaryFile(/tmp/multipartBody7129463882785762613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959085179,"filename":"image_10012025_17_19_25_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a23bf9d02190bf5093cc4cde4dac5342.jpg","text":"TemporaryFile(/tmp/multipartBody8608605307738311571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959085179,"filename":"image_10012025_17_19_28_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5ce8a1df3107b8e3457ef0bdefa7b26.jpg","text":"TemporaryFile(/tmp/multipartBody3354911497677474670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959085179,"filename":"image_10012025_17_19_22_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173919","file1":"1329173918","file0":"1329173889","file4":"1329173922","file5":"1329173925","file3":"1329173921"},"map_files_photo_id_array":[{"photo_id":"1329173925","filename":"file5"},{"photo_id":"1329173919","filename":"file2"},{"photo_id":"1329173922","filename":"file4"},{"photo_id":"1329173918","filename":"file1"},{"photo_id":"1329173889","filename":"file0"},{"photo_id":"1329173921","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329173889":["hashtag1","hashtag2"]},{"1329173922":["hashtag1","hashtag2"]},{"1329173925":["hashtag1","hashtag2"]},{"1329173919":["hashtag1","hashtag2"]},{"1329173921":["hashtag1","hashtag2"]},{"1329173918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329173889, 1329173922, 1329173925, 1329173919, 1329173921, 1329173918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49451780319214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:37:42.743399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_14_3527.jpg', '/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_49_2731.jpg', '/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_35_3750.jpg', '/home/pi/Desktop/images/12012025/16/11/image_12012025_16_11_07_3011.jpg', '/home/pi/Desktop/images/12012025/16/12/image_12012025_16_12_04_2609.jpg', '/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_46_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/16/07/image_12012025_16_07_14_3527.jpg
/home/pi/Desktop/images/12012025/16/08/image_12012025_16_08_49_2731.jpg
/home/pi/Desktop/images/12012025/16/09/image_12012025_16_09_35_3750.jpg
/home/pi/Desktop/images/12012025/16/11/image_12012025_16_11_07_3011.jpg
/home/pi/Desktop/images/12012025/16/12/image_12012025_16_12_04_2609.jpg
/home/pi/Desktop/images/12012025/16/13/image_12012025_16_13_46_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329173970","1329173952","1329173966","1329173948","1329173957","1329173962"],"photo_ids_order":["1329173948","1329173952","1329173957","1329173962","1329173966","1329173970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aae2d4356da35325c054954c27e449a3.jpg","text":"TemporaryFile(/tmp/multipartBody7108373515361293096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959123711,"filename":"image_12012025_16_13_46_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d15c281329ff778c6e53d5ad21611aec.jpg","text":"TemporaryFile(/tmp/multipartBody204925986984088123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959123711,"filename":"image_12012025_16_08_49_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/39b900c2168d105cd4ad4140222c8647.jpg","text":"TemporaryFile(/tmp/multipartBody8636709557692188116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959123711,"filename":"image_12012025_16_12_04_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6834aec798917a1faba77515bcdbc50a.jpg","text":"TemporaryFile(/tmp/multipartBody680144230099802423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959123711,"filename":"image_12012025_16_07_14_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0e29dca5b18618cd6e33f353b39a94dd.jpg","text":"TemporaryFile(/tmp/multipartBody4887345749115354017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959123711,"filename":"image_12012025_16_09_35_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/54c6b8e41bb5087fe43a2dacf44643ca.jpg","text":"TemporaryFile(/tmp/multipartBody2767461957244972940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959123711,"filename":"image_12012025_16_11_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329173957","file1":"1329173952","file0":"1329173948","file4":"1329173966","file5":"1329173970","file3":"1329173962"},"map_files_photo_id_array":[{"photo_id":"1329173970","filename":"file5"},{"photo_id":"1329173957","filename":"file2"},{"photo_id":"1329173966","filename":"file4"},{"photo_id":"1329173952","filename":"file1"},{"photo_id":"1329173948","filename":"file0"},{"photo_id":"1329173962","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329173970":["hashtag1","hashtag2"]},{"1329173952":["hashtag1","hashtag2"]},{"1329173966":["hashtag1","hashtag2"]},{"1329173948":["hashtag1","hashtag2"]},{"1329173957":["hashtag1","hashtag2"]},{"1329173962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329173970, 1329173952, 1329173966, 1329173948, 1329173957, 1329173962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26140117645264 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:38:42.530364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_57_2785.jpg', '/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_07_3011.jpg', '/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_07_2648.jpg', '/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_40_3721.jpg', '/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_28_2805.jpg', '/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_19_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/16/14/image_12012025_16_14_57_2785.jpg
/home/pi/Desktop/images/12012025/16/16/image_12012025_16_16_07_3011.jpg
/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_07_2648.jpg
/home/pi/Desktop/images/12012025/16/17/image_12012025_16_17_40_3721.jpg
/home/pi/Desktop/images/12012025/16/18/image_12012025_16_18_28_2805.jpg
/home/pi/Desktop/images/12012025/16/19/image_12012025_16_19_19_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174063","1329174033","1329174041","1329174044","1329174011","1329174049"],"photo_ids_order":["1329174011","1329174033","1329174041","1329174044","1329174049","1329174063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ff7b1ae5bab85476c6d0e4a8ea4e352.jpg","text":"TemporaryFile(/tmp/multipartBody4925258622628615376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959183436,"filename":"image_12012025_16_19_19_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/019ae7c1cbc0232aba8ae8ecc8a1a87e.jpg","text":"TemporaryFile(/tmp/multipartBody5222775292148107309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959183436,"filename":"image_12012025_16_16_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8cc4467a11b59c2721b15af6e315785b.jpg","text":"TemporaryFile(/tmp/multipartBody7158931863243251564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959183436,"filename":"image_12012025_16_17_07_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1559c094711f86687bf90f511b9a58e2.jpg","text":"TemporaryFile(/tmp/multipartBody5795313642232837233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959183436,"filename":"image_12012025_16_17_40_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0811c286efd54cc1c49f44ae42c33518.jpg","text":"TemporaryFile(/tmp/multipartBody8917408013324933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959183436,"filename":"image_12012025_16_14_57_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d99244a1cf1ebb8ade96fd6c6f926957.jpg","text":"TemporaryFile(/tmp/multipartBody9032224089037057176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959183436,"filename":"image_12012025_16_18_28_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174041","file1":"1329174033","file0":"1329174011","file4":"1329174049","file5":"1329174063","file3":"1329174044"},"map_files_photo_id_array":[{"photo_id":"1329174063","filename":"file5"},{"photo_id":"1329174041","filename":"file2"},{"photo_id":"1329174049","filename":"file4"},{"photo_id":"1329174033","filename":"file1"},{"photo_id":"1329174011","filename":"file0"},{"photo_id":"1329174044","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329174063":["hashtag1","hashtag2"]},{"1329174033":["hashtag1","hashtag2"]},{"1329174041":["hashtag1","hashtag2"]},{"1329174044":["hashtag1","hashtag2"]},{"1329174011":["hashtag1","hashtag2"]},{"1329174049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329174063, 1329174033, 1329174041, 1329174044, 1329174011, 1329174049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30347537994385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:39:21.972553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_37_2770.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_40_2704.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_42_2681.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_49_2824.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_52_2765.jpg', '/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_55_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_37_2770.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_40_2704.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_42_2681.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_49_2824.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_52_2765.jpg
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_55_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174081","1329174086","1329174065","1329174068","1329174073","1329174076"],"photo_ids_order":["1329174065","1329174068","1329174073","1329174076","1329174081","1329174086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f8c9bdea88c1c82556aec1755a2ea624.jpg","text":"TemporaryFile(/tmp/multipartBody5417245522247585844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959224229,"filename":"image_10012025_17_19_52_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2eee1515c3bb231a9e91add785a66dc8.jpg","text":"TemporaryFile(/tmp/multipartBody3810243175513588108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959224229,"filename":"image_10012025_17_19_55_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2262bd9f50158856141e5d6c56351a0c.jpg","text":"TemporaryFile(/tmp/multipartBody7881140774695408763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959224229,"filename":"image_10012025_17_19_37_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/98cfd0c6202da979deea1f97397f7894.jpg","text":"TemporaryFile(/tmp/multipartBody6211894484536770486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959224229,"filename":"image_10012025_17_19_40_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c909b193d05c9c2f3cf97f9f57d7effe.jpg","text":"TemporaryFile(/tmp/multipartBody7676930899725275400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959224229,"filename":"image_10012025_17_19_42_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8c5242603a5568ce8706c95d6c18cf8.jpg","text":"TemporaryFile(/tmp/multipartBody8774519689895702297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959224229,"filename":"image_10012025_17_19_49_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174073","file1":"1329174068","file0":"1329174065","file4":"1329174081","file5":"1329174086","file3":"1329174076"},"map_files_photo_id_array":[{"photo_id":"1329174086","filename":"file5"},{"photo_id":"1329174073","filename":"file2"},{"photo_id":"1329174081","filename":"file4"},{"photo_id":"1329174068","filename":"file1"},{"photo_id":"1329174065","filename":"file0"},{"photo_id":"1329174076","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329174081":["hashtag1","hashtag2"]},{"1329174086":["hashtag1","hashtag2"]},{"1329174065":["hashtag1","hashtag2"]},{"1329174068":["hashtag1","hashtag2"]},{"1329174073":["hashtag1","hashtag2"]},{"1329174076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329174081, 1329174086, 1329174065, 1329174068, 1329174073, 1329174076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22200012207031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:40:02.771581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_58_2765.jpg', '/home/pi/Desktop/images/10012025/17/20/image_10012025_17_20_07_3011.jpg', '/home/pi/Desktop/images/10012025/17/20/image_10012025_17_20_11_3619.jpg', '/home/pi/Desktop/images/10012025/17/20/image_10012025_17_20_19_3610.jpg', '/home/pi/Desktop/images/10012025/17/20/image_10012025_17_20_43_2812.jpg', '/home/pi/Desktop/images/10012025/17/21/image_10012025_17_21_22_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/19/image_10012025_17_19_58_2765.jpg
/home/pi/Desktop/images/10012025/17/20/image_10012025_17_20_07_3011.jpg
/home/pi/Desktop/images/10012025/17/20/image_10012025_17_20_11_3619.jpg
/home/pi/Desktop/images/10012025/17/20/image_10012025_17_20_19_3610.jpg
/home/pi/Desktop/images/10012025/17/20/image_10012025_17_20_43_2812.jpg
/home/pi/Desktop/images/10012025/17/21/image_10012025_17_21_22_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174103","1329174102","1329174105","1329174098","1329174109","1329174100"],"photo_ids_order":["1329174098","1329174100","1329174102","1329174103","1329174105","1329174109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/07a451bdf87031d02fc65049490e415f.jpg","text":"TemporaryFile(/tmp/multipartBody9051549309313912627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959264679,"filename":"image_10012025_17_20_19_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d934b5369debc72ad30e8163c7f169f3.jpg","text":"TemporaryFile(/tmp/multipartBody8129299791538115722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959264679,"filename":"image_10012025_17_20_11_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/573f0383ef954f7d3d7b75d060f2e0ad.jpg","text":"TemporaryFile(/tmp/multipartBody2918064776910716829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959264679,"filename":"image_10012025_17_20_43_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c601d2607ecdd97b2f3c32b80dcc9490.jpg","text":"TemporaryFile(/tmp/multipartBody7703785520961961271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959264679,"filename":"image_10012025_17_19_58_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58e82c033c5c1e75c9e4305436f8a346.jpg","text":"TemporaryFile(/tmp/multipartBody57425400658523456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959264679,"filename":"image_10012025_17_21_22_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/65fd78a80aa7ae5ad47644487bb2249f.jpg","text":"TemporaryFile(/tmp/multipartBody5737210175471088401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959264679,"filename":"image_10012025_17_20_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174102","file1":"1329174100","file0":"1329174098","file4":"1329174105","file5":"1329174109","file3":"1329174103"},"map_files_photo_id_array":[{"photo_id":"1329174109","filename":"file5"},{"photo_id":"1329174102","filename":"file2"},{"photo_id":"1329174105","filename":"file4"},{"photo_id":"1329174100","filename":"file1"},{"photo_id":"1329174098","filename":"file0"},{"photo_id":"1329174103","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329174103":["hashtag1","hashtag2"]},{"1329174102":["hashtag1","hashtag2"]},{"1329174105":["hashtag1","hashtag2"]},{"1329174098":["hashtag1","hashtag2"]},{"1329174109":["hashtag1","hashtag2"]},{"1329174100":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329174103, 1329174102, 1329174105, 1329174098, 1329174109, 1329174100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.295812129974365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:40:42.190055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_07_3011.jpg', '/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_10_2677.jpg', '/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_53_3646.jpg', '/home/pi/Desktop/images/12012025/16/24/image_12012025_16_24_01_2834.jpg', '/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_07_3011.jpg', '/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_25_2898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/16/21/image_12012025_16_21_07_3011.jpg
/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_10_2677.jpg
/home/pi/Desktop/images/12012025/16/22/image_12012025_16_22_53_3646.jpg
/home/pi/Desktop/images/12012025/16/24/image_12012025_16_24_01_2834.jpg
/home/pi/Desktop/images/12012025/16/26/image_12012025_16_26_07_3011.jpg
/home/pi/Desktop/images/12012025/16/27/image_12012025_16_27_25_2898.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174141","1329174129","1329174138","1329174134","1329174136","1329174124"],"photo_ids_order":["1329174124","1329174129","1329174134","1329174136","1329174138","1329174141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4087e8a4dacb83be7dd885da943f0385.jpg","text":"TemporaryFile(/tmp/multipartBody161068302759311138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959303262,"filename":"image_12012025_16_27_25_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24bc1248f56a23a3bbe8e30eb37b5443.jpg","text":"TemporaryFile(/tmp/multipartBody8983205580551413455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959303262,"filename":"image_12012025_16_22_10_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24b80043e6c508ae99ded3132a3354a4.jpg","text":"TemporaryFile(/tmp/multipartBody8109609911346442861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959303262,"filename":"image_12012025_16_26_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d385609df767a12fe39f8ff11b803a8.jpg","text":"TemporaryFile(/tmp/multipartBody8172101674088930198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959303262,"filename":"image_12012025_16_22_53_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0c31a7bbc7a5229096b891f00b764a5f.jpg","text":"TemporaryFile(/tmp/multipartBody4955586638036353042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959303262,"filename":"image_12012025_16_24_01_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f3d2a1d4416b706e77b290a6c6adfded.jpg","text":"TemporaryFile(/tmp/multipartBody242905639430082698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959303262,"filename":"image_12012025_16_21_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174134","file1":"1329174129","file0":"1329174124","file4":"1329174138","file5":"1329174141","file3":"1329174136"},"map_files_photo_id_array":[{"photo_id":"1329174141","filename":"file5"},{"photo_id":"1329174134","filename":"file2"},{"photo_id":"1329174138","filename":"file4"},{"photo_id":"1329174129","filename":"file1"},{"photo_id":"1329174124","filename":"file0"},{"photo_id":"1329174136","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329174141":["hashtag1","hashtag2"]},{"1329174129":["hashtag1","hashtag2"]},{"1329174138":["hashtag1","hashtag2"]},{"1329174134":["hashtag1","hashtag2"]},{"1329174136":["hashtag1","hashtag2"]},{"1329174124":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329174141, 1329174129, 1329174138, 1329174134, 1329174136, 1329174124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.048388719558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:41:22.476482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/21/image_10012025_17_21_26_3654.jpg', '/home/pi/Desktop/images/10012025/17/23/image_10012025_17_23_37_2607.jpg', '/home/pi/Desktop/images/10012025/17/23/image_10012025_17_23_40_2621.jpg', '/home/pi/Desktop/images/10012025/17/23/image_10012025_17_23_43_3661.jpg', '/home/pi/Desktop/images/10012025/17/23/image_10012025_17_23_46_2676.jpg', '/home/pi/Desktop/images/10012025/17/23/image_10012025_17_24_01_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/21/image_10012025_17_21_26_3654.jpg
/home/pi/Desktop/images/10012025/17/23/image_10012025_17_23_37_2607.jpg
/home/pi/Desktop/images/10012025/17/23/image_10012025_17_23_40_2621.jpg
/home/pi/Desktop/images/10012025/17/23/image_10012025_17_23_43_3661.jpg
/home/pi/Desktop/images/10012025/17/23/image_10012025_17_23_46_2676.jpg
/home/pi/Desktop/images/10012025/17/23/image_10012025_17_24_01_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174189","1329174147","1329174182","1329174179","1329174152","1329174157"],"photo_ids_order":["1329174147","1329174152","1329174157","1329174179","1329174182","1329174189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c3240372a6c116862d5986d8559b6a9.jpg","text":"TemporaryFile(/tmp/multipartBody3380659232639569958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959344695,"filename":"image_10012025_17_24_01_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/623568f8c3d44e63863650156ef181b7.jpg","text":"TemporaryFile(/tmp/multipartBody7285500648134868020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959344695,"filename":"image_10012025_17_21_26_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/61f8ceb92e8c5c7a30205ef313b12d03.jpg","text":"TemporaryFile(/tmp/multipartBody2703057143177394916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959344695,"filename":"image_10012025_17_23_46_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d434d838c1278a7e678e8a855b23b77c.jpg","text":"TemporaryFile(/tmp/multipartBody3374789713493814955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959344695,"filename":"image_10012025_17_23_43_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f74faa7d9d3281900b5e6927ca81ecca.jpg","text":"TemporaryFile(/tmp/multipartBody1256680441592660631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959344695,"filename":"image_10012025_17_23_37_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/23895486aaaf8fc7bb9b657564f3bbaa.jpg","text":"TemporaryFile(/tmp/multipartBody6379139047500696560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959344695,"filename":"image_10012025_17_23_40_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174157","file1":"1329174152","file0":"1329174147","file4":"1329174182","file5":"1329174189","file3":"1329174179"},"map_files_photo_id_array":[{"photo_id":"1329174189","filename":"file5"},{"photo_id":"1329174157","filename":"file2"},{"photo_id":"1329174182","filename":"file4"},{"photo_id":"1329174152","filename":"file1"},{"photo_id":"1329174147","filename":"file0"},{"photo_id":"1329174179","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329174189":["hashtag1","hashtag2"]},{"1329174147":["hashtag1","hashtag2"]},{"1329174182":["hashtag1","hashtag2"]},{"1329174179":["hashtag1","hashtag2"]},{"1329174152":["hashtag1","hashtag2"]},{"1329174157":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329174189, 1329174147, 1329174182, 1329174179, 1329174152, 1329174157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.73425602912903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:42:22.676900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/24/image_10012025_17_24_04_3614.jpg', '/home/pi/Desktop/images/10012025/17/24/image_10012025_17_24_22_2688.jpg', '/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_04_2659.jpg', '/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_34_3538.jpg', '/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_52_3753.jpg', '/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_55_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/24/image_10012025_17_24_04_3614.jpg
/home/pi/Desktop/images/10012025/17/24/image_10012025_17_24_22_2688.jpg
/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_04_2659.jpg
/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_34_3538.jpg
/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_52_3753.jpg
/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_55_2777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174234","1329174222","1329174216","1329174210","1329174227","1329174208"],"photo_ids_order":["1329174208","1329174210","1329174216","1329174222","1329174227","1329174234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7306c97bc93e47c7c0256ddad458afd.jpg","text":"TemporaryFile(/tmp/multipartBody6313058182207909966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959404913,"filename":"image_10012025_17_26_55_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8aba9825edaaacbb15077ac744459237.jpg","text":"TemporaryFile(/tmp/multipartBody1403317285789532843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959404913,"filename":"image_10012025_17_26_34_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c453acfdedcfdeeb26182a9f6a612a9a.jpg","text":"TemporaryFile(/tmp/multipartBody8190485027959837432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959404913,"filename":"image_10012025_17_26_04_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44c840bd4d5a4a2ff4c36d13dac90fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6634471637053012422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959404913,"filename":"image_10012025_17_24_22_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/54fe77243836bf4541cf6ed1cdc73bda.jpg","text":"TemporaryFile(/tmp/multipartBody4865101114130745944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959404913,"filename":"image_10012025_17_26_52_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bbf188e53899ef98df637eb742f1cfc8.jpg","text":"TemporaryFile(/tmp/multipartBody2852578671719845289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959404913,"filename":"image_10012025_17_24_04_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174216","file1":"1329174210","file0":"1329174208","file4":"1329174227","file5":"1329174234","file3":"1329174222"},"map_files_photo_id_array":[{"photo_id":"1329174234","filename":"file5"},{"photo_id":"1329174216","filename":"file2"},{"photo_id":"1329174227","filename":"file4"},{"photo_id":"1329174210","filename":"file1"},{"photo_id":"1329174208","filename":"file0"},{"photo_id":"1329174222","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329174234":["hashtag1","hashtag2"]},{"1329174222":["hashtag1","hashtag2"]},{"1329174216":["hashtag1","hashtag2"]},{"1329174210":["hashtag1","hashtag2"]},{"1329174227":["hashtag1","hashtag2"]},{"1329174208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329174234, 1329174222, 1329174216, 1329174210, 1329174227, 1329174208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.911696434020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:43:21.843613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_58_2603.jpg', '/home/pi/Desktop/images/10012025/17/26/image_10012025_17_27_01_3647.jpg', '/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_04_2661.jpg', '/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_07_2823.jpg', '/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_10_2832.jpg', '/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_13_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/26/image_10012025_17_26_58_2603.jpg
/home/pi/Desktop/images/10012025/17/26/image_10012025_17_27_01_3647.jpg
/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_04_2661.jpg
/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_07_2823.jpg
/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_10_2832.jpg
/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_13_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174372","1329174354","1329174386","1329174391","1329174376","1329174346"],"photo_ids_order":["1329174346","1329174354","1329174372","1329174376","1329174386","1329174391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6df8e30ddded3dd1cf82a3d6b5b57ff0.jpg","text":"TemporaryFile(/tmp/multipartBody2760923415638478509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959464024,"filename":"image_10012025_17_27_04_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eaed2d93b1a2254731ea94e6185280ed.jpg","text":"TemporaryFile(/tmp/multipartBody7927334499070083383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959464024,"filename":"image_10012025_17_27_01_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a99d6f3b762ae938690d50f49cfbfc68.jpg","text":"TemporaryFile(/tmp/multipartBody840913153839293886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959464024,"filename":"image_10012025_17_27_10_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dcbf0e97a9438607b99d13c43896ccc6.jpg","text":"TemporaryFile(/tmp/multipartBody2803628697715691383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959464024,"filename":"image_10012025_17_27_13_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b637d7ce91884862a6325a5f0cd1696a.jpg","text":"TemporaryFile(/tmp/multipartBody3258063644475259253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959464024,"filename":"image_10012025_17_27_07_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/47c3cf5ad5d45755a84ea73f415e3ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8353620713503009706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959464024,"filename":"image_10012025_17_26_58_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174372","file1":"1329174354","file0":"1329174346","file4":"1329174386","file5":"1329174391","file3":"1329174376"},"map_files_photo_id_array":[{"photo_id":"1329174391","filename":"file5"},{"photo_id":"1329174372","filename":"file2"},{"photo_id":"1329174386","filename":"file4"},{"photo_id":"1329174354","filename":"file1"},{"photo_id":"1329174346","filename":"file0"},{"photo_id":"1329174376","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329174372":["hashtag1","hashtag2"]},{"1329174354":["hashtag1","hashtag2"]},{"1329174386":["hashtag1","hashtag2"]},{"1329174391":["hashtag1","hashtag2"]},{"1329174376":["hashtag1","hashtag2"]},{"1329174346":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329174372, 1329174354, 1329174386, 1329174391, 1329174376, 1329174346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.297491788864136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:44:02.830363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_16_2689.jpg', '/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_19_2795.jpg', '/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_21_2631.jpg', '/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_28_2687.jpg', '/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_40_2761.jpg', '/home/pi/Desktop/images/10012025/17/28/image_10012025_17_28_31_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_16_2689.jpg
/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_19_2795.jpg
/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_21_2631.jpg
/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_28_2687.jpg
/home/pi/Desktop/images/10012025/17/27/image_10012025_17_27_40_2761.jpg
/home/pi/Desktop/images/10012025/17/28/image_10012025_17_28_31_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174411","1329174419","1329174413","1329174407","1329174415","1329174403"],"photo_ids_order":["1329174403","1329174407","1329174411","1329174413","1329174415","1329174419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/966f1bf406fc5aeca7cc08a353735fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2937062596789077805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959504459,"filename":"image_10012025_17_27_21_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e38c11d098bf914b510de989d86f258e.jpg","text":"TemporaryFile(/tmp/multipartBody5146715328886974037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959504459,"filename":"image_10012025_17_28_31_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d1201c2d4b242f63513f8e38c0b235b.jpg","text":"TemporaryFile(/tmp/multipartBody7939677026998738132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959504459,"filename":"image_10012025_17_27_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc05929f2d1e3e249c4711203b9662c2.jpg","text":"TemporaryFile(/tmp/multipartBody8501935262463235425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959504459,"filename":"image_10012025_17_27_19_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc3702bb95462bde7eb11a82108365ac.jpg","text":"TemporaryFile(/tmp/multipartBody1512139230112444279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959504459,"filename":"image_10012025_17_27_40_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d9901e0c2fd8fb7f3237257d64142e94.jpg","text":"TemporaryFile(/tmp/multipartBody3727182353564882212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959504459,"filename":"image_10012025_17_27_16_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174411","file1":"1329174407","file0":"1329174403","file4":"1329174415","file5":"1329174419","file3":"1329174413"},"map_files_photo_id_array":[{"photo_id":"1329174419","filename":"file5"},{"photo_id":"1329174411","filename":"file2"},{"photo_id":"1329174415","filename":"file4"},{"photo_id":"1329174407","filename":"file1"},{"photo_id":"1329174403","filename":"file0"},{"photo_id":"1329174413","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329174411":["hashtag1","hashtag2"]},{"1329174419":["hashtag1","hashtag2"]},{"1329174413":["hashtag1","hashtag2"]},{"1329174407":["hashtag1","hashtag2"]},{"1329174415":["hashtag1","hashtag2"]},{"1329174403":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329174411, 1329174419, 1329174413, 1329174407, 1329174415, 1329174403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7782678604126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:44:42.211554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_01_2884.jpg', '/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_07_3011.jpg', '/home/pi/Desktop/images/12012025/16/33/image_12012025_16_33_44_3740.jpg', '/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_31_2563.jpg', '/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_58_2726.jpg', '/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_20_47026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/16/29/image_12012025_16_29_01_2884.jpg
/home/pi/Desktop/images/12012025/16/31/image_12012025_16_31_07_3011.jpg
/home/pi/Desktop/images/12012025/16/33/image_12012025_16_33_44_3740.jpg
/home/pi/Desktop/images/12012025/16/35/image_12012025_16_35_31_2563.jpg
/home/pi/Desktop/images/12012025/16/36/image_12012025_16_36_58_2726.jpg
/home/pi/Desktop/images/12012025/16/38/image_12012025_16_38_20_47026.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174455","1329174440","1329174431","1329174448","1329174436","1329174445"],"photo_ids_order":["1329174431","1329174436","1329174440","1329174445","1329174448","1329174455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/51bf20a502d789cc606f872204345fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2794692944186618440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959543145,"filename":"image_12012025_16_38_20_47026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/15dc983965497d20efc1c4f9ea36fb87.jpg","text":"TemporaryFile(/tmp/multipartBody6661196272935082231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959543145,"filename":"image_12012025_16_33_44_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/78d57b7a0c92c17d951edf67ae8f579f.jpg","text":"TemporaryFile(/tmp/multipartBody7484973500240403858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959543145,"filename":"image_12012025_16_29_01_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40c593cce30f03676c558f3dd63f67fe.jpg","text":"TemporaryFile(/tmp/multipartBody1341571717182948338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959543145,"filename":"image_12012025_16_36_58_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd1494abcafff25a1799dfcbd7834fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6180394515398576537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959543145,"filename":"image_12012025_16_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/32fa9acd0b8eac3498e5e65faab22d8e.jpg","text":"TemporaryFile(/tmp/multipartBody877383306566732762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959543145,"filename":"image_12012025_16_35_31_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174440","file1":"1329174436","file0":"1329174431","file4":"1329174448","file5":"1329174455","file3":"1329174445"},"map_files_photo_id_array":[{"photo_id":"1329174455","filename":"file5"},{"photo_id":"1329174440","filename":"file2"},{"photo_id":"1329174448","filename":"file4"},{"photo_id":"1329174436","filename":"file1"},{"photo_id":"1329174431","filename":"file0"},{"photo_id":"1329174445","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329174455":["hashtag1","hashtag2"]},{"1329174440":["hashtag1","hashtag2"]},{"1329174431":["hashtag1","hashtag2"]},{"1329174448":["hashtag1","hashtag2"]},{"1329174436":["hashtag1","hashtag2"]},{"1329174445":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329174455, 1329174440, 1329174431, 1329174448, 1329174436, 1329174445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.7430624961853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:45:42.165112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/16/42/image_12012025_16_42_07_3011.jpg', '/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_10_2709.jpg', '/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_07_3018.jpg', '/home/pi/Desktop/images/12012025/16/48/image_12012025_16_48_19_1824.jpg', '/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_13_1720.jpg', '/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_52_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/16/42/image_12012025_16_42_07_3011.jpg
/home/pi/Desktop/images/12012025/16/44/image_12012025_16_44_10_2709.jpg
/home/pi/Desktop/images/12012025/16/46/image_12012025_16_46_07_3018.jpg
/home/pi/Desktop/images/12012025/16/48/image_12012025_16_48_19_1824.jpg
/home/pi/Desktop/images/12012025/16/51/image_12012025_16_51_13_1720.jpg
/home/pi/Desktop/images/12012025/16/54/image_12012025_16_54_52_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329174519","1329174513","1329174536","1329174524","1329174532","1329174526"],"photo_ids_order":["1329174513","1329174519","1329174524","1329174526","1329174532","1329174536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec6b3ab8c6bf122d73cc7d0e93a8c9e4.jpg","text":"TemporaryFile(/tmp/multipartBody8538892425194369325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959603043,"filename":"image_12012025_16_44_10_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/628d4f857e26a84c7d2a98abaf95cbc1.jpg","text":"TemporaryFile(/tmp/multipartBody8100775058806104962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959603043,"filename":"image_12012025_16_42_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e97be00b37bca3239e9770571e072541.jpg","text":"TemporaryFile(/tmp/multipartBody4657336980955274508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959603043,"filename":"image_12012025_16_54_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2610d8a03e315c0a52ffef7681f83d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1796961452410232143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959603043,"filename":"image_12012025_16_46_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eed5a9a1ca3f98781fcde44e4ac567cc.jpg","text":"TemporaryFile(/tmp/multipartBody3870567746885759735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959603043,"filename":"image_12012025_16_51_13_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/04de3b404300e375451e5e8070147f95.jpg","text":"TemporaryFile(/tmp/multipartBody5803925137434706632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959603043,"filename":"image_12012025_16_48_19_1824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329174524","file1":"1329174519","file0":"1329174513","file4":"1329174532","file5":"1329174536","file3":"1329174526"},"map_files_photo_id_array":[{"photo_id":"1329174536","filename":"file5"},{"photo_id":"1329174524","filename":"file2"},{"photo_id":"1329174532","filename":"file4"},{"photo_id":"1329174519","filename":"file1"},{"photo_id":"1329174513","filename":"file0"},{"photo_id":"1329174526","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329174519":["hashtag1","hashtag2"]},{"1329174513":["hashtag1","hashtag2"]},{"1329174536":["hashtag1","hashtag2"]},{"1329174524":["hashtag1","hashtag2"]},{"1329174532":["hashtag1","hashtag2"]},{"1329174526":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329174519, 1329174513, 1329174536, 1329174524, 1329174532, 1329174526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64790487289429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:46:22.462080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/28/image_10012025_17_28_33_2645.jpg', '/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_10_2688.jpg', '/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_12_2764.jpg', '/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_31_2589.jpg', '/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_43_2536.jpg', '/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_52_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/28/image_10012025_17_28_33_2645.jpg
/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_10_2688.jpg
/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_12_2764.jpg
/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_31_2589.jpg
/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_43_2536.jpg
/home/pi/Desktop/images/10012025/17/29/image_10012025_17_29_52_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329175456","1329175513","1329175368","1329175242","1329174934","1329175074"],"photo_ids_order":["1329174934","1329175074","1329175242","1329175368","1329175456","1329175513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ae7e5d0fde6f6282373d97d07018f4b.jpg","text":"TemporaryFile(/tmp/multipartBody306863857397458667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959644764,"filename":"image_10012025_17_29_43_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/743bc638c035ffa0eb4a884f6c01ab2e.jpg","text":"TemporaryFile(/tmp/multipartBody6011308673202601137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959644764,"filename":"image_10012025_17_29_52_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cfe4474e99eeeb494e8d393f62604915.jpg","text":"TemporaryFile(/tmp/multipartBody6719032834532126011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959644764,"filename":"image_10012025_17_29_31_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c50df9aa7faade94a4925d20bce78f50.jpg","text":"TemporaryFile(/tmp/multipartBody3423805531913147487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959644764,"filename":"image_10012025_17_29_12_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d53d5a66182b93bce7c70e042a525bc.jpg","text":"TemporaryFile(/tmp/multipartBody1295261303880917670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959644764,"filename":"image_10012025_17_28_33_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f1779c8970b292c225f86b35dc9c7d3.jpg","text":"TemporaryFile(/tmp/multipartBody3005331525940319364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959644764,"filename":"image_10012025_17_29_10_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329175242","file1":"1329175074","file0":"1329174934","file4":"1329175456","file5":"1329175513","file3":"1329175368"},"map_files_photo_id_array":[{"photo_id":"1329175513","filename":"file5"},{"photo_id":"1329175242","filename":"file2"},{"photo_id":"1329175456","filename":"file4"},{"photo_id":"1329175074","filename":"file1"},{"photo_id":"1329174934","filename":"file0"},{"photo_id":"1329175368","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329175456":["hashtag1","hashtag2"]},{"1329175513":["hashtag1","hashtag2"]},{"1329175368":["hashtag1","hashtag2"]},{"1329175242":["hashtag1","hashtag2"]},{"1329174934":["hashtag1","hashtag2"]},{"1329175074":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329175456, 1329175513, 1329175368, 1329175242, 1329174934, 1329175074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.40275549888611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:47:22.651444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/30/image_10012025_17_30_13_2630.jpg', '/home/pi/Desktop/images/10012025/17/30/image_10012025_17_30_58_21374.jpg', '/home/pi/Desktop/images/10012025/17/30/image_10012025_17_31_00_1729.jpg', '/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_02_1692.jpg', '/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_16_1725.jpg', '/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_20_2974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/30/image_10012025_17_30_13_2630.jpg
/home/pi/Desktop/images/10012025/17/30/image_10012025_17_30_58_21374.jpg
/home/pi/Desktop/images/10012025/17/30/image_10012025_17_31_00_1729.jpg
/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_02_1692.jpg
/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_16_1725.jpg
/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_20_2974.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329175694","1329175961","1329175745","1329175822","1329175998","1329175926"],"photo_ids_order":["1329175694","1329175745","1329175822","1329175926","1329175961","1329175998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/286e8c9df6ddd685bb0eb557fa86840f.jpg","text":"TemporaryFile(/tmp/multipartBody543849391095740054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959704802,"filename":"image_10012025_17_30_13_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc8ea2bacd7fa935c0aa77cfb78a92a4.jpg","text":"TemporaryFile(/tmp/multipartBody2611845963898556548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959704802,"filename":"image_10012025_17_31_16_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8424b86a545f12a9ef34cb731af721cc.jpg","text":"TemporaryFile(/tmp/multipartBody852301007613785411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959704802,"filename":"image_10012025_17_30_58_21374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f970b89ce203eb7f5880866558368b7a.jpg","text":"TemporaryFile(/tmp/multipartBody8847054491253543469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959704802,"filename":"image_10012025_17_31_00_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7159335c240410477b9edefd3c7a63f1.jpg","text":"TemporaryFile(/tmp/multipartBody8936193347099228517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959704802,"filename":"image_10012025_17_31_20_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7ed29944b49e80ea9f1b70a91af88278.jpg","text":"TemporaryFile(/tmp/multipartBody6546820770803900226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959704802,"filename":"image_10012025_17_31_02_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329175822","file1":"1329175745","file0":"1329175694","file4":"1329175961","file5":"1329175998","file3":"1329175926"},"map_files_photo_id_array":[{"photo_id":"1329175998","filename":"file5"},{"photo_id":"1329175822","filename":"file2"},{"photo_id":"1329175961","filename":"file4"},{"photo_id":"1329175745","filename":"file1"},{"photo_id":"1329175694","filename":"file0"},{"photo_id":"1329175926","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329175694":["hashtag1","hashtag2"]},{"1329175961":["hashtag1","hashtag2"]},{"1329175745":["hashtag1","hashtag2"]},{"1329175822":["hashtag1","hashtag2"]},{"1329175998":["hashtag1","hashtag2"]},{"1329175926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329175694, 1329175961, 1329175745, 1329175822, 1329175998, 1329175926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.809550046920776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:48:22.136262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_28_2571.jpg', '/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_44_2607.jpg', '/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_49_1775.jpg', '/home/pi/Desktop/images/10012025/17/32/image_10012025_17_32_40_2740.jpg', '/home/pi/Desktop/images/10012025/17/33/image_10012025_17_33_22_3374.jpg', '/home/pi/Desktop/images/10012025/17/38/image_10012025_17_38_28_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_28_2571.jpg
/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_44_2607.jpg
/home/pi/Desktop/images/10012025/17/31/image_10012025_17_31_49_1775.jpg
/home/pi/Desktop/images/10012025/17/32/image_10012025_17_32_40_2740.jpg
/home/pi/Desktop/images/10012025/17/33/image_10012025_17_33_22_3374.jpg
/home/pi/Desktop/images/10012025/17/38/image_10012025_17_38_28_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329176597","1329176729","1329176657","1329176665","1329176761","1329176722"],"photo_ids_order":["1329176597","1329176657","1329176665","1329176722","1329176729","1329176761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fb9b140e20af7a7d1e36417d47375fd4.jpg","text":"TemporaryFile(/tmp/multipartBody6583283581737633344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959764277,"filename":"image_10012025_17_31_28_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/54315b6e76cb097db59049c1cb9cf31b.jpg","text":"TemporaryFile(/tmp/multipartBody8409685646273120098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959764277,"filename":"image_10012025_17_33_22_3374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/90586803fb4b3a51936420f633d2a727.jpg","text":"TemporaryFile(/tmp/multipartBody2833878347817528296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959764277,"filename":"image_10012025_17_31_44_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d950f9d583f7a704d03819a52ebe9cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7287949768605030158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959764277,"filename":"image_10012025_17_31_49_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a58e10ed4abc6f06b3c4d9dc9704e38a.jpg","text":"TemporaryFile(/tmp/multipartBody6718048369760365656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959764277,"filename":"image_10012025_17_38_28_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea84ba309a872236f0671856d7bf2c23.jpg","text":"TemporaryFile(/tmp/multipartBody8532578976097864525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959764277,"filename":"image_10012025_17_32_40_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329176665","file1":"1329176657","file0":"1329176597","file4":"1329176729","file5":"1329176761","file3":"1329176722"},"map_files_photo_id_array":[{"photo_id":"1329176761","filename":"file5"},{"photo_id":"1329176665","filename":"file2"},{"photo_id":"1329176729","filename":"file4"},{"photo_id":"1329176657","filename":"file1"},{"photo_id":"1329176597","filename":"file0"},{"photo_id":"1329176722","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329176597":["hashtag1","hashtag2"]},{"1329176729":["hashtag1","hashtag2"]},{"1329176657":["hashtag1","hashtag2"]},{"1329176665":["hashtag1","hashtag2"]},{"1329176761":["hashtag1","hashtag2"]},{"1329176722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329176597, 1329176729, 1329176657, 1329176665, 1329176761, 1329176722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62848258018494 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:49:22.411154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/39/image_10012025_17_39_07_1538.jpg', '/home/pi/Desktop/images/10012025/17/39/image_10012025_17_39_31_3608.jpg', '/home/pi/Desktop/images/10012025/17/46/image_10012025_17_46_58_2797.jpg', '/home/pi/Desktop/images/10012025/17/48/image_10012025_17_48_58_2800.jpg', '/home/pi/Desktop/images/10012025/17/48/image_10012025_17_49_01_3651.jpg', '/home/pi/Desktop/images/10012025/17/49/image_10012025_17_49_10_8606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/39/image_10012025_17_39_07_1538.jpg
/home/pi/Desktop/images/10012025/17/39/image_10012025_17_39_31_3608.jpg
/home/pi/Desktop/images/10012025/17/46/image_10012025_17_46_58_2797.jpg
/home/pi/Desktop/images/10012025/17/48/image_10012025_17_48_58_2800.jpg
/home/pi/Desktop/images/10012025/17/48/image_10012025_17_49_01_3651.jpg
/home/pi/Desktop/images/10012025/17/49/image_10012025_17_49_10_8606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329176921","1329176939","1329176953","1329176961","1329176949","1329176958"],"photo_ids_order":["1329176921","1329176939","1329176949","1329176953","1329176958","1329176961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/47f8816ab5af82cfe7fb2440b24acb18.jpg","text":"TemporaryFile(/tmp/multipartBody1993979266581094351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959824703,"filename":"image_10012025_17_39_07_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/101b0db7b6696e74fd1fc100317cca70.jpg","text":"TemporaryFile(/tmp/multipartBody6085319674262351654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959824703,"filename":"image_10012025_17_39_31_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a56b2d052ab818cb4db3243dba2211f8.jpg","text":"TemporaryFile(/tmp/multipartBody7047431975408219212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959824703,"filename":"image_10012025_17_48_58_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ddf564b96235f49f29155953e9d9d1b6.jpg","text":"TemporaryFile(/tmp/multipartBody1265792002799105924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959824703,"filename":"image_10012025_17_49_10_8606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c266abf34b264eb6f54f6fb2f65fd6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1257503719869971189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959824703,"filename":"image_10012025_17_46_58_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16c22397e84c55672c749b7993ba2901.jpg","text":"TemporaryFile(/tmp/multipartBody5014321685341188662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959824703,"filename":"image_10012025_17_49_01_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329176949","file1":"1329176939","file0":"1329176921","file4":"1329176958","file5":"1329176961","file3":"1329176953"},"map_files_photo_id_array":[{"photo_id":"1329176961","filename":"file5"},{"photo_id":"1329176949","filename":"file2"},{"photo_id":"1329176958","filename":"file4"},{"photo_id":"1329176939","filename":"file1"},{"photo_id":"1329176921","filename":"file0"},{"photo_id":"1329176953","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329176921":["hashtag1","hashtag2"]},{"1329176939":["hashtag1","hashtag2"]},{"1329176953":["hashtag1","hashtag2"]},{"1329176961":["hashtag1","hashtag2"]},{"1329176949":["hashtag1","hashtag2"]},{"1329176958":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329176921, 1329176939, 1329176953, 1329176961, 1329176949, 1329176958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.132333755493164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:50:22.179089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/17/50/image_10012025_17_51_01_3598.jpg', '/home/pi/Desktop/images/10012025/17/53/image_10012025_17_53_19_3667.jpg', '/home/pi/Desktop/images/10012025/17/56/image_10012025_17_56_20_3815.jpg', '/home/pi/Desktop/images/10012025/18/04/image_10012025_18_04_55_2772.jpg', '/home/pi/Desktop/images/10012025/18/55/image_10012025_18_55_37_2705.jpg', '/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_16_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/17/50/image_10012025_17_51_01_3598.jpg
/home/pi/Desktop/images/10012025/17/53/image_10012025_17_53_19_3667.jpg
/home/pi/Desktop/images/10012025/17/56/image_10012025_17_56_20_3815.jpg
/home/pi/Desktop/images/10012025/18/04/image_10012025_18_04_55_2772.jpg
/home/pi/Desktop/images/10012025/18/55/image_10012025_18_55_37_2705.jpg
/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_16_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329177500","1329177466","1329177189","1329177497","1329177003","1329177359"],"photo_ids_order":["1329177003","1329177189","1329177359","1329177466","1329177497","1329177500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf62acb3f1c80108e309b463cd3fe0d6.jpg","text":"TemporaryFile(/tmp/multipartBody5011226824647131597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959884492,"filename":"image_10012025_18_56_16_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/26ecabb683228a045b715be62bffcfc9.jpg","text":"TemporaryFile(/tmp/multipartBody7135935811795758364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959884492,"filename":"image_10012025_18_04_55_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/017f87e20af4903824ce9bca1b21057f.jpg","text":"TemporaryFile(/tmp/multipartBody8730495987500934242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959884492,"filename":"image_10012025_17_53_19_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/26c23dffe05406a1448fa165f3265361.jpg","text":"TemporaryFile(/tmp/multipartBody3285493239899619440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959884492,"filename":"image_10012025_18_55_37_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5db91040d2051cb1c03c553b271b397.jpg","text":"TemporaryFile(/tmp/multipartBody1775683552039286801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959884492,"filename":"image_10012025_17_51_01_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/779da78bfe7b2d0a5c137ef9cd072bc2.jpg","text":"TemporaryFile(/tmp/multipartBody1053130244946395202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959884492,"filename":"image_10012025_17_56_20_3815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329177359","file1":"1329177189","file0":"1329177003","file4":"1329177497","file5":"1329177500","file3":"1329177466"},"map_files_photo_id_array":[{"photo_id":"1329177500","filename":"file5"},{"photo_id":"1329177359","filename":"file2"},{"photo_id":"1329177497","filename":"file4"},{"photo_id":"1329177189","filename":"file1"},{"photo_id":"1329177003","filename":"file0"},{"photo_id":"1329177466","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329177500":["hashtag1","hashtag2"]},{"1329177466":["hashtag1","hashtag2"]},{"1329177189":["hashtag1","hashtag2"]},{"1329177497":["hashtag1","hashtag2"]},{"1329177003":["hashtag1","hashtag2"]},{"1329177359":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329177500, 1329177466, 1329177189, 1329177497, 1329177003, 1329177359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61291837692261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:51:03.080260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_20_3805.jpg', '/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_23_2750.jpg', '/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_28_5709.jpg', '/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_30_1741.jpg', '/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_44_2733.jpg', '/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_46_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_20_3805.jpg
/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_23_2750.jpg
/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_28_5709.jpg
/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_30_1741.jpg
/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_44_2733.jpg
/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_46_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329177676","1329177766","1329177802","1329177786","1329177578","1329177614"],"photo_ids_order":["1329177578","1329177614","1329177676","1329177766","1329177786","1329177802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6be9b733c00c3d70c6b78e7d2168d858.jpg","text":"TemporaryFile(/tmp/multipartBody5135270961995363074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959924872,"filename":"image_10012025_18_56_28_5709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1dcf946a3770eee320fdc5c0cd6cffbc.jpg","text":"TemporaryFile(/tmp/multipartBody6173190641554787552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959924872,"filename":"image_10012025_18_56_30_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1a434a70300e9c16ebe49018b9fbd053.jpg","text":"TemporaryFile(/tmp/multipartBody5490080891288452386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959924872,"filename":"image_10012025_18_56_46_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/78b180203f3a0301588b0937dc7d9eca.jpg","text":"TemporaryFile(/tmp/multipartBody6298280246052892676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959924872,"filename":"image_10012025_18_56_44_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/17e5829398544f123eed8f09bf924240.jpg","text":"TemporaryFile(/tmp/multipartBody1534968359405652973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959924872,"filename":"image_10012025_18_56_20_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cdb761800221a8ed30242e07ac9549f.jpg","text":"TemporaryFile(/tmp/multipartBody19987317621133148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959924872,"filename":"image_10012025_18_56_23_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329177676","file1":"1329177614","file0":"1329177578","file4":"1329177786","file5":"1329177802","file3":"1329177766"},"map_files_photo_id_array":[{"photo_id":"1329177802","filename":"file5"},{"photo_id":"1329177676","filename":"file2"},{"photo_id":"1329177786","filename":"file4"},{"photo_id":"1329177614","filename":"file1"},{"photo_id":"1329177578","filename":"file0"},{"photo_id":"1329177766","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329177676":["hashtag1","hashtag2"]},{"1329177766":["hashtag1","hashtag2"]},{"1329177802":["hashtag1","hashtag2"]},{"1329177786":["hashtag1","hashtag2"]},{"1329177578":["hashtag1","hashtag2"]},{"1329177614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329177676, 1329177766, 1329177802, 1329177786, 1329177578, 1329177614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50499892234802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:51:42.338475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/17/20/image_12012025_17_20_37_2714.jpg', '/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_19_2736.jpg', '/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_38_2648.jpg', '/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_06_7108.jpg', '/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_28_2694.jpg', '/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_19_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/17/20/image_12012025_17_20_37_2714.jpg
/home/pi/Desktop/images/12012025/17/37/image_12012025_17_37_19_2736.jpg
/home/pi/Desktop/images/12012025/18/00/image_12012025_18_00_38_2648.jpg
/home/pi/Desktop/images/12012025/18/01/image_12012025_18_01_06_7108.jpg
/home/pi/Desktop/images/12012025/18/05/image_12012025_18_05_28_2694.jpg
/home/pi/Desktop/images/12012025/18/09/image_12012025_18_09_19_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329177821","1329177815","1329177818","1329177826","1329177811","1329177829"],"photo_ids_order":["1329177811","1329177815","1329177818","1329177821","1329177826","1329177829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cfde5a371514f3fc8f616c509784a3de.jpg","text":"TemporaryFile(/tmp/multipartBody6559937100733660002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959963214,"filename":"image_12012025_18_01_06_7108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a907211204cdb01bbb6b285b69d9208c.jpg","text":"TemporaryFile(/tmp/multipartBody2241441124408850270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959963214,"filename":"image_12012025_17_37_19_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/51eb3cfccb37dfef431b2f4a9f5aacde.jpg","text":"TemporaryFile(/tmp/multipartBody7719699825026170150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959963214,"filename":"image_12012025_18_00_38_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9ffee6bc4c8529f7c232cfbfbdfdee69.jpg","text":"TemporaryFile(/tmp/multipartBody8194382559827235287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959963214,"filename":"image_12012025_18_05_28_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c273c9da714aea0a76fbadb7c12c180.jpg","text":"TemporaryFile(/tmp/multipartBody6992801927507073407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959963214,"filename":"image_12012025_17_20_37_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5144dc0821cbf2b04b12aa8990d2ae0b.jpg","text":"TemporaryFile(/tmp/multipartBody8449023769750699247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736959963214,"filename":"image_12012025_18_09_19_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329177818","file1":"1329177815","file0":"1329177811","file4":"1329177826","file5":"1329177829","file3":"1329177821"},"map_files_photo_id_array":[{"photo_id":"1329177829","filename":"file5"},{"photo_id":"1329177818","filename":"file2"},{"photo_id":"1329177826","filename":"file4"},{"photo_id":"1329177815","filename":"file1"},{"photo_id":"1329177811","filename":"file0"},{"photo_id":"1329177821","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329177821":["hashtag1","hashtag2"]},{"1329177815":["hashtag1","hashtag2"]},{"1329177818":["hashtag1","hashtag2"]},{"1329177826":["hashtag1","hashtag2"]},{"1329177811":["hashtag1","hashtag2"]},{"1329177829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329177821, 1329177815, 1329177818, 1329177826, 1329177811, 1329177829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94193935394287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:52:22.361383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_49_2774.jpg', '/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_56_2774.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_07_2592.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_13_2626.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_16_2634.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_20_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_49_2774.jpg
/home/pi/Desktop/images/10012025/18/56/image_10012025_18_56_56_2774.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_07_2592.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_13_2626.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_16_2634.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_20_3627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329177853","1329177862","1329177846","1329177843","1329177837","1329177839"],"photo_ids_order":["1329177837","1329177839","1329177843","1329177846","1329177853","1329177862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/68d401d4f8ed4c9086f05a0bbcf29573.jpg","text":"TemporaryFile(/tmp/multipartBody3130545428446263725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960004624,"filename":"image_10012025_18_57_16_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a9b259d6e2ba33aea6f9f015fc11ef0e.jpg","text":"TemporaryFile(/tmp/multipartBody1330164773633749688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960004624,"filename":"image_10012025_18_57_20_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7765c6b498fbf7cb6bc46fc0526d367.jpg","text":"TemporaryFile(/tmp/multipartBody7144601011528721742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960004624,"filename":"image_10012025_18_57_13_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c0ee37c89e611ddee3b93228cb6c047.jpg","text":"TemporaryFile(/tmp/multipartBody5263829562940271358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960004624,"filename":"image_10012025_18_57_07_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/57811c180100ee9d4c8593aee51728e6.jpg","text":"TemporaryFile(/tmp/multipartBody4064246906482189356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960004624,"filename":"image_10012025_18_56_49_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40fa7fa255045906b592eb0351291be3.jpg","text":"TemporaryFile(/tmp/multipartBody996545152747359686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960004624,"filename":"image_10012025_18_56_56_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329177843","file1":"1329177839","file0":"1329177837","file4":"1329177853","file5":"1329177862","file3":"1329177846"},"map_files_photo_id_array":[{"photo_id":"1329177862","filename":"file5"},{"photo_id":"1329177843","filename":"file2"},{"photo_id":"1329177853","filename":"file4"},{"photo_id":"1329177839","filename":"file1"},{"photo_id":"1329177837","filename":"file0"},{"photo_id":"1329177846","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329177853":["hashtag1","hashtag2"]},{"1329177862":["hashtag1","hashtag2"]},{"1329177846":["hashtag1","hashtag2"]},{"1329177843":["hashtag1","hashtag2"]},{"1329177837":["hashtag1","hashtag2"]},{"1329177839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329177853, 1329177862, 1329177846, 1329177843, 1329177837, 1329177839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34633135795593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:53:03.209635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_26_3579.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_29_2746.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_31_2839.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_34_2736.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_37_2761.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_41_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_26_3579.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_29_2746.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_31_2839.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_34_2736.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_37_2761.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_41_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329177892","1329177883","1329177885","1329177887","1329177881","1329177899"],"photo_ids_order":["1329177881","1329177883","1329177885","1329177887","1329177892","1329177899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ed1624f77da0ada55e2526d449359f28.jpg","text":"TemporaryFile(/tmp/multipartBody6183541289918026566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960044973,"filename":"image_10012025_18_57_37_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1648d95f2c71fa5e4c462f645292db56.jpg","text":"TemporaryFile(/tmp/multipartBody3840660006265712677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960044973,"filename":"image_10012025_18_57_29_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/db34977b3a8986b0e83a57892ed18f26.jpg","text":"TemporaryFile(/tmp/multipartBody8508510458281564792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960044973,"filename":"image_10012025_18_57_31_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/439beaa3ed939674ef46c21e0366536b.jpg","text":"TemporaryFile(/tmp/multipartBody894160437671990090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960044973,"filename":"image_10012025_18_57_34_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cdc220b05e1893eba6bdbc1fed017c8.jpg","text":"TemporaryFile(/tmp/multipartBody8555523634103365190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960044973,"filename":"image_10012025_18_57_26_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/166018c4c2b0778fff31fa561d0d57cc.jpg","text":"TemporaryFile(/tmp/multipartBody4400219179626858477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960044973,"filename":"image_10012025_18_57_41_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329177885","file1":"1329177883","file0":"1329177881","file4":"1329177892","file5":"1329177899","file3":"1329177887"},"map_files_photo_id_array":[{"photo_id":"1329177899","filename":"file5"},{"photo_id":"1329177885","filename":"file2"},{"photo_id":"1329177892","filename":"file4"},{"photo_id":"1329177883","filename":"file1"},{"photo_id":"1329177881","filename":"file0"},{"photo_id":"1329177887","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329177892":["hashtag1","hashtag2"]},{"1329177883":["hashtag1","hashtag2"]},{"1329177885":["hashtag1","hashtag2"]},{"1329177887":["hashtag1","hashtag2"]},{"1329177881":["hashtag1","hashtag2"]},{"1329177899":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329177892, 1329177883, 1329177885, 1329177887, 1329177881, 1329177899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.804118156433105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:53:42.660509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_18_2569.jpg', '/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_45_2764.jpg', '/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_07_3655.jpg', '/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_09_2703.jpg', '/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_31_3562.jpg', '/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_34_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_18_2569.jpg
/home/pi/Desktop/images/12012025/18/10/image_12012025_18_10_45_2764.jpg
/home/pi/Desktop/images/12012025/18/11/image_12012025_18_11_07_3655.jpg
/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_09_2703.jpg
/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_31_3562.jpg
/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_34_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329177929","1329177934","1329177919","1329177942","1329177938","1329177947"],"photo_ids_order":["1329177919","1329177929","1329177934","1329177938","1329177942","1329177947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad1b74f5fef7f3b9bc4c6d128c64adba.jpg","text":"TemporaryFile(/tmp/multipartBody625101089588779015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960083633,"filename":"image_12012025_18_10_45_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/42821383e8240ca8d5064a3b7dc10a80.jpg","text":"TemporaryFile(/tmp/multipartBody1736957923036081568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960083633,"filename":"image_12012025_18_11_07_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6aa168a9de98a06ff3466c1d5ae570ea.jpg","text":"TemporaryFile(/tmp/multipartBody3605597090879871152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960083633,"filename":"image_12012025_18_10_18_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/154046d6059c08e51be4608f8beb382b.jpg","text":"TemporaryFile(/tmp/multipartBody7773873181410726512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960083633,"filename":"image_12012025_18_12_31_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d7bc4a373f593ebc715802baaec04ad.jpg","text":"TemporaryFile(/tmp/multipartBody1637668791013755038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960083633,"filename":"image_12012025_18_12_09_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7320035366b682c674b0d58fa436b3f6.jpg","text":"TemporaryFile(/tmp/multipartBody2612403808957654273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960083633,"filename":"image_12012025_18_12_34_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329177934","file1":"1329177929","file0":"1329177919","file4":"1329177942","file5":"1329177947","file3":"1329177938"},"map_files_photo_id_array":[{"photo_id":"1329177947","filename":"file5"},{"photo_id":"1329177934","filename":"file2"},{"photo_id":"1329177942","filename":"file4"},{"photo_id":"1329177929","filename":"file1"},{"photo_id":"1329177919","filename":"file0"},{"photo_id":"1329177938","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329177929":["hashtag1","hashtag2"]},{"1329177934":["hashtag1","hashtag2"]},{"1329177919":["hashtag1","hashtag2"]},{"1329177942":["hashtag1","hashtag2"]},{"1329177938":["hashtag1","hashtag2"]},{"1329177947":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329177929, 1329177934, 1329177919, 1329177942, 1329177938, 1329177947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.932852268218994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:54:42.748567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_48_2724.jpg', '/home/pi/Desktop/images/12012025/18/14/image_12012025_18_14_48_2596.jpg', '/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_32_2578.jpg', '/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_40_3501.jpg', '/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_30_2864.jpg', '/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_54_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/18/12/image_12012025_18_12_48_2724.jpg
/home/pi/Desktop/images/12012025/18/14/image_12012025_18_14_48_2596.jpg
/home/pi/Desktop/images/12012025/18/22/image_12012025_18_22_32_2578.jpg
/home/pi/Desktop/images/12012025/19/43/image_12012025_19_43_40_3501.jpg
/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_30_2864.jpg
/home/pi/Desktop/images/12012025/19/51/image_12012025_19_51_54_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329177982","1329177990","1329177963","1329177987","1329177972","1329177995"],"photo_ids_order":["1329177963","1329177972","1329177982","1329177987","1329177990","1329177995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0a64a0de1c08f1c817df024f024f80fb.jpg","text":"TemporaryFile(/tmp/multipartBody5855504295681939392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960143635,"filename":"image_12012025_18_22_32_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e801cf6c2e28b384fbe438f436986027.jpg","text":"TemporaryFile(/tmp/multipartBody1289568146922945537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960143635,"filename":"image_12012025_19_51_30_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1b0f3accc445af2a59fd129228ac639f.jpg","text":"TemporaryFile(/tmp/multipartBody741312867767404844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960143635,"filename":"image_12012025_18_12_48_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d6cc5244f9d63a80b76b1513c3dd489d.jpg","text":"TemporaryFile(/tmp/multipartBody1802288659549507058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960143635,"filename":"image_12012025_19_43_40_3501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7f58a5d33d9f3f3c4f7656629802981e.jpg","text":"TemporaryFile(/tmp/multipartBody3865104726294714773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960143635,"filename":"image_12012025_18_14_48_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40bbff48112a6fca4afb133d22e11b58.jpg","text":"TemporaryFile(/tmp/multipartBody7644647638108997587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960143635,"filename":"image_12012025_19_51_54_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329177982","file1":"1329177972","file0":"1329177963","file4":"1329177990","file5":"1329177995","file3":"1329177987"},"map_files_photo_id_array":[{"photo_id":"1329177995","filename":"file5"},{"photo_id":"1329177982","filename":"file2"},{"photo_id":"1329177990","filename":"file4"},{"photo_id":"1329177972","filename":"file1"},{"photo_id":"1329177963","filename":"file0"},{"photo_id":"1329177987","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329177982":["hashtag1","hashtag2"]},{"1329177990":["hashtag1","hashtag2"]},{"1329177963":["hashtag1","hashtag2"]},{"1329177987":["hashtag1","hashtag2"]},{"1329177972":["hashtag1","hashtag2"]},{"1329177995":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329177982, 1329177990, 1329177963, 1329177987, 1329177972, 1329177995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10412311553955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 17:55:22.561968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_43_2691.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_50_3776.jpg', '/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_58_2685.jpg', '/home/pi/Desktop/images/10012025/19/01/image_10012025_19_01_53_3654.jpg', '/home/pi/Desktop/images/10012025/19/05/image_10012025_19_05_52_2630.jpg', '/home/pi/Desktop/images/10012025/19/16/image_10012025_19_16_18_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_43_2691.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_50_3776.jpg
/home/pi/Desktop/images/10012025/18/57/image_10012025_18_57_58_2685.jpg
/home/pi/Desktop/images/10012025/19/01/image_10012025_19_01_53_3654.jpg
/home/pi/Desktop/images/10012025/19/05/image_10012025_19_05_52_2630.jpg
/home/pi/Desktop/images/10012025/19/16/image_10012025_19_16_18_2892.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178080","1329178131","1329178136","1329178112","1329178078","1329178016"],"photo_ids_order":["1329178016","1329178078","1329178080","1329178112","1329178131","1329178136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6abcc89562f79daf75d85dafdc2a2858.jpg","text":"TemporaryFile(/tmp/multipartBody6515305330015345413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960184879,"filename":"image_10012025_18_57_58_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8632ea26e4804c35eeb3ee21f234837.jpg","text":"TemporaryFile(/tmp/multipartBody4633110918831947452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960184879,"filename":"image_10012025_19_05_52_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4aa173cbd567fe619a25d1915046142c.jpg","text":"TemporaryFile(/tmp/multipartBody9036972928007284881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960184879,"filename":"image_10012025_19_16_18_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be80437a4889cef41deefc8eb6364dbd.jpg","text":"TemporaryFile(/tmp/multipartBody6505966424308200226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960184879,"filename":"image_10012025_19_01_53_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/391fb8744974953f902d03faf003f7c2.jpg","text":"TemporaryFile(/tmp/multipartBody1198264331832128906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960184879,"filename":"image_10012025_18_57_50_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f54360f1abb884561918d12700ec5bee.jpg","text":"TemporaryFile(/tmp/multipartBody172592190848640882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960184879,"filename":"image_10012025_18_57_43_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178080","file1":"1329178078","file0":"1329178016","file4":"1329178131","file5":"1329178136","file3":"1329178112"},"map_files_photo_id_array":[{"photo_id":"1329178136","filename":"file5"},{"photo_id":"1329178080","filename":"file2"},{"photo_id":"1329178131","filename":"file4"},{"photo_id":"1329178078","filename":"file1"},{"photo_id":"1329178016","filename":"file0"},{"photo_id":"1329178112","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329178080":["hashtag1","hashtag2"]},{"1329178131":["hashtag1","hashtag2"]},{"1329178136":["hashtag1","hashtag2"]},{"1329178112":["hashtag1","hashtag2"]},{"1329178078":["hashtag1","hashtag2"]},{"1329178016":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329178080, 1329178131, 1329178136, 1329178112, 1329178078, 1329178016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.835312604904175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:56:03.349809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/19/16/image_10012025_19_16_42_2816.jpg', '/home/pi/Desktop/images/10012025/19/22/image_10012025_19_22_48_3621.jpg', '/home/pi/Desktop/images/10012025/19/22/image_10012025_19_22_53_2551.jpg', '/home/pi/Desktop/images/10012025/19/22/image_10012025_19_22_56_2853.jpg', '/home/pi/Desktop/images/10012025/19/22/image_10012025_19_22_59_3718.jpg', '/home/pi/Desktop/images/10012025/19/23/image_10012025_19_23_14_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/19/16/image_10012025_19_16_42_2816.jpg
/home/pi/Desktop/images/10012025/19/22/image_10012025_19_22_48_3621.jpg
/home/pi/Desktop/images/10012025/19/22/image_10012025_19_22_53_2551.jpg
/home/pi/Desktop/images/10012025/19/22/image_10012025_19_22_56_2853.jpg
/home/pi/Desktop/images/10012025/19/22/image_10012025_19_22_59_3718.jpg
/home/pi/Desktop/images/10012025/19/23/image_10012025_19_23_14_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178186","1329178189","1329178234","1329178225","1329178193","1329178217"],"photo_ids_order":["1329178186","1329178189","1329178193","1329178217","1329178225","1329178234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7aa6424445d4782f164248ed7801382b.jpg","text":"TemporaryFile(/tmp/multipartBody5767197222434944810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960224928,"filename":"image_10012025_19_16_42_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87fdee217e598ca47fc190260317f31d.jpg","text":"TemporaryFile(/tmp/multipartBody8440606312855577490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960224928,"filename":"image_10012025_19_22_48_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3bf80d341f44218a390444c79e2b2f89.jpg","text":"TemporaryFile(/tmp/multipartBody5467982825340705052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960224928,"filename":"image_10012025_19_23_14_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5dc3f4f621ea6d7ac8798604b581ec3.jpg","text":"TemporaryFile(/tmp/multipartBody4453175123500782991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960224928,"filename":"image_10012025_19_22_59_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06e6094c1d52c079b19a0a128cc3c609.jpg","text":"TemporaryFile(/tmp/multipartBody7465602684644400436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960224928,"filename":"image_10012025_19_22_53_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/620951d68b571a24136cc4903e22a243.jpg","text":"TemporaryFile(/tmp/multipartBody5034424115292758630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960224928,"filename":"image_10012025_19_22_56_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178193","file1":"1329178189","file0":"1329178186","file4":"1329178225","file5":"1329178234","file3":"1329178217"},"map_files_photo_id_array":[{"photo_id":"1329178234","filename":"file5"},{"photo_id":"1329178193","filename":"file2"},{"photo_id":"1329178225","filename":"file4"},{"photo_id":"1329178189","filename":"file1"},{"photo_id":"1329178186","filename":"file0"},{"photo_id":"1329178217","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329178186":["hashtag1","hashtag2"]},{"1329178189":["hashtag1","hashtag2"]},{"1329178234":["hashtag1","hashtag2"]},{"1329178225":["hashtag1","hashtag2"]},{"1329178193":["hashtag1","hashtag2"]},{"1329178217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329178186, 1329178189, 1329178234, 1329178225, 1329178193, 1329178217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12274646759033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:56:42.718090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_32_2664.jpg', '/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_36_3548.jpg', '/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_11_2597.jpg', '/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_44_2745.jpg', '/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_30_3646.jpg', '/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_08_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_32_2664.jpg
/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_36_3548.jpg
/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_11_2597.jpg
/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_44_2745.jpg
/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_30_3646.jpg
/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_08_2695.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7970583438873291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:57:03.521058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/19/39/image_10012025_19_39_52_2652.jpg', '/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_07_2863.jpg', '/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_10_2790.jpg', '/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_19_2615.jpg', '/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_21_2599.jpg', '/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_25_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/19/39/image_10012025_19_39_52_2652.jpg
/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_07_2863.jpg
/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_10_2790.jpg
/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_19_2615.jpg
/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_21_2599.jpg
/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_25_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178291","1329178300","1329178299","1329178305","1329178298","1329178302"],"photo_ids_order":["1329178291","1329178298","1329178299","1329178300","1329178302","1329178305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88ecc148cf6e697ed06179f3063be378.jpg","text":"TemporaryFile(/tmp/multipartBody8772206940883295703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960285170,"filename":"image_10012025_19_39_52_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ede4fd800ef3abf06954140f30a5560d.jpg","text":"TemporaryFile(/tmp/multipartBody6516160596055134335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960285170,"filename":"image_10012025_19_40_19_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cfeba588f6af6197e87f7d2b1a8b71a9.jpg","text":"TemporaryFile(/tmp/multipartBody1600867379489661844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960285170,"filename":"image_10012025_19_40_10_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9339c332cda0a4e03229d5971444a771.jpg","text":"TemporaryFile(/tmp/multipartBody8743219898134649305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960285170,"filename":"image_10012025_19_40_25_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/120032e6fac5307360a638dfaf4c96b7.jpg","text":"TemporaryFile(/tmp/multipartBody560354531389592146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960285170,"filename":"image_10012025_19_40_07_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fdb1957dc59c3185bc10dea227b1708c.jpg","text":"TemporaryFile(/tmp/multipartBody3048985821382481259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960285170,"filename":"image_10012025_19_40_21_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178299","file1":"1329178298","file0":"1329178291","file4":"1329178302","file5":"1329178305","file3":"1329178300"},"map_files_photo_id_array":[{"photo_id":"1329178305","filename":"file5"},{"photo_id":"1329178299","filename":"file2"},{"photo_id":"1329178302","filename":"file4"},{"photo_id":"1329178298","filename":"file1"},{"photo_id":"1329178291","filename":"file0"},{"photo_id":"1329178300","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329178291":["hashtag1","hashtag2"]},{"1329178300":["hashtag1","hashtag2"]},{"1329178299":["hashtag1","hashtag2"]},{"1329178305":["hashtag1","hashtag2"]},{"1329178298":["hashtag1","hashtag2"]},{"1329178302":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329178291, 1329178300, 1329178299, 1329178305, 1329178298, 1329178302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.366753816604614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 17:57:42.673642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_32_2664.jpg', '/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_36_3548.jpg', '/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_11_2597.jpg', '/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_44_2745.jpg', '/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_30_3646.jpg', '/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_08_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_32_2664.jpg
/home/pi/Desktop/images/12012025/20/23/image_12012025_20_23_36_3548.jpg
/home/pi/Desktop/images/12012025/20/27/image_12012025_20_27_11_2597.jpg
/home/pi/Desktop/images/12012025/20/31/image_12012025_20_31_44_2745.jpg
/home/pi/Desktop/images/12012025/20/48/image_12012025_20_48_30_3646.jpg
/home/pi/Desktop/images/12012025/20/53/image_12012025_20_53_08_2695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178447","1329178452","1329178461","1329178464","1329178463","1329178457"],"photo_ids_order":["1329178447","1329178452","1329178457","1329178461","1329178463","1329178464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/259c7728386a656432f53b8ad64f20a3.jpg","text":"TemporaryFile(/tmp/multipartBody2746276734402374991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960323557,"filename":"image_12012025_20_23_32_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f3d126866150b0faadfc08522ff4c227.jpg","text":"TemporaryFile(/tmp/multipartBody6733516510914209798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960323557,"filename":"image_12012025_20_23_36_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a040f446f3d8a51fbc46aebbf5e507c.jpg","text":"TemporaryFile(/tmp/multipartBody1225064468260656191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960323557,"filename":"image_12012025_20_31_44_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a0ed53267814c84818ff637079700295.jpg","text":"TemporaryFile(/tmp/multipartBody4214982548865998817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960323557,"filename":"image_12012025_20_53_08_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5289dd5ba7348acab4f6ab790fed0fef.jpg","text":"TemporaryFile(/tmp/multipartBody7287573218226558673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960323557,"filename":"image_12012025_20_48_30_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f463d4d6b102d4db399db2c9ee7052f4.jpg","text":"TemporaryFile(/tmp/multipartBody1734295659256815435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960323557,"filename":"image_12012025_20_27_11_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178457","file1":"1329178452","file0":"1329178447","file4":"1329178463","file5":"1329178464","file3":"1329178461"},"map_files_photo_id_array":[{"photo_id":"1329178464","filename":"file5"},{"photo_id":"1329178457","filename":"file2"},{"photo_id":"1329178463","filename":"file4"},{"photo_id":"1329178452","filename":"file1"},{"photo_id":"1329178447","filename":"file0"},{"photo_id":"1329178461","filename":"file3"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329178447":["hashtag1","hashtag2"]},{"1329178452":["hashtag1","hashtag2"]},{"1329178461":["hashtag1","hashtag2"]},{"1329178464":["hashtag1","hashtag2"]},{"1329178463":["hashtag1","hashtag2"]},{"1329178457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329178447, 1329178452, 1329178461, 1329178464, 1329178463, 1329178457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32189702987671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 17:59:02.663666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_30_2992.jpg', '/home/pi/Desktop/images/10012025/19/42/image_10012025_19_42_12_2627.jpg', '/home/pi/Desktop/images/10012025/19/42/image_10012025_19_42_16_3671.jpg', '/home/pi/Desktop/images/10012025/19/42/image_10012025_19_42_21_2594.jpg', '/home/pi/Desktop/images/10012025/19/42/image_10012025_19_42_28_3838.jpg', '/home/pi/Desktop/images/10012025/19/44/image_10012025_19_44_25_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/19/40/image_10012025_19_40_30_2992.jpg
/home/pi/Desktop/images/10012025/19/42/image_10012025_19_42_12_2627.jpg
/home/pi/Desktop/images/10012025/19/42/image_10012025_19_42_16_3671.jpg
/home/pi/Desktop/images/10012025/19/42/image_10012025_19_42_21_2594.jpg
/home/pi/Desktop/images/10012025/19/42/image_10012025_19_42_28_3838.jpg
/home/pi/Desktop/images/10012025/19/44/image_10012025_19_44_25_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178546","1329178569","1329178577","1329178562","1329178556","1329178565"],"photo_ids_order":["1329178546","1329178556","1329178562","1329178565","1329178569","1329178577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/abaa6fc67c4aa740d5c7ebb35d856fd7.jpg","text":"TemporaryFile(/tmp/multipartBody8746605934145567695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960404446,"filename":"image_10012025_19_40_30_2992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c097e5fa1f237321132f29979985ac4.jpg","text":"TemporaryFile(/tmp/multipartBody4749750795785629068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960404446,"filename":"image_10012025_19_42_28_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2efb7e9528c50987870ec7678208e52.jpg","text":"TemporaryFile(/tmp/multipartBody4083915046115363808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960404446,"filename":"image_10012025_19_44_25_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9ba4c08eb4ec22b6a98d028df4891cd9.jpg","text":"TemporaryFile(/tmp/multipartBody1386784670214991404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960404446,"filename":"image_10012025_19_42_16_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2957fa2dfa44f4af0735972d450c8182.jpg","text":"TemporaryFile(/tmp/multipartBody6381098428619361313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960404446,"filename":"image_10012025_19_42_12_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/793ba65a044fa9df1a71f21f754c737e.jpg","text":"TemporaryFile(/tmp/multipartBody3076847545491004024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960404446,"filename":"image_10012025_19_42_21_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178562","file1":"1329178556","file0":"1329178546","file4":"1329178569","file5":"1329178577","file3":"1329178565"},"map_files_photo_id_array":[{"photo_id":"1329178577","filename":"file5"},{"photo_id":"1329178562","filename":"file2"},{"photo_id":"1329178569","filename":"file4"},{"photo_id":"1329178556","filename":"file1"},{"photo_id":"1329178546","filename":"file0"},{"photo_id":"1329178565","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329178546":["hashtag1","hashtag2"]},{"1329178569":["hashtag1","hashtag2"]},{"1329178577":["hashtag1","hashtag2"]},{"1329178562":["hashtag1","hashtag2"]},{"1329178556":["hashtag1","hashtag2"]},{"1329178565":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329178546, 1329178569, 1329178577, 1329178562, 1329178556, 1329178565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.75593018531799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:00:03.379291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/19/45/image_10012025_19_45_10_3590.jpg', '/home/pi/Desktop/images/10012025/19/45/image_10012025_19_45_19_3690.jpg', '/home/pi/Desktop/images/10012025/19/46/image_10012025_19_46_51_2785.jpg', '/home/pi/Desktop/images/10012025/19/48/image_10012025_19_48_45_3695.jpg', '/home/pi/Desktop/images/10012025/20/00/image_10012025_20_00_46_2707.jpg', '/home/pi/Desktop/images/10012025/20/36/image_10012025_20_36_11_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/19/45/image_10012025_19_45_10_3590.jpg
/home/pi/Desktop/images/10012025/19/45/image_10012025_19_45_19_3690.jpg
/home/pi/Desktop/images/10012025/19/46/image_10012025_19_46_51_2785.jpg
/home/pi/Desktop/images/10012025/19/48/image_10012025_19_48_45_3695.jpg
/home/pi/Desktop/images/10012025/20/00/image_10012025_20_00_46_2707.jpg
/home/pi/Desktop/images/10012025/20/36/image_10012025_20_36_11_3760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178596","1329178600","1329178590","1329178602","1329178598","1329178679"],"photo_ids_order":["1329178590","1329178596","1329178598","1329178600","1329178602","1329178679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/748ca6533fa52587cf5b7c7312af0907.jpg","text":"TemporaryFile(/tmp/multipartBody4577203750710276807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960465013,"filename":"image_10012025_19_45_19_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee8c6ea2ec5325e709ca86e355c92cd7.jpg","text":"TemporaryFile(/tmp/multipartBody8976443066640247485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960465013,"filename":"image_10012025_19_48_45_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5bfcbf5333819454f59a644776f5050.jpg","text":"TemporaryFile(/tmp/multipartBody2250683699213354619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960465013,"filename":"image_10012025_19_45_10_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/edc562194ba94fbcf4e282158ed4d32a.jpg","text":"TemporaryFile(/tmp/multipartBody1350112962280273403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960465013,"filename":"image_10012025_20_00_46_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5844365773c0d75e566d93265e969be4.jpg","text":"TemporaryFile(/tmp/multipartBody6789931009955208737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960465013,"filename":"image_10012025_19_46_51_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b4780749055d60beb08c1d01e05307b1.jpg","text":"TemporaryFile(/tmp/multipartBody8075051428022869305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960465013,"filename":"image_10012025_20_36_11_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178598","file1":"1329178596","file0":"1329178590","file4":"1329178602","file5":"1329178679","file3":"1329178600"},"map_files_photo_id_array":[{"photo_id":"1329178679","filename":"file5"},{"photo_id":"1329178598","filename":"file2"},{"photo_id":"1329178602","filename":"file4"},{"photo_id":"1329178596","filename":"file1"},{"photo_id":"1329178590","filename":"file0"},{"photo_id":"1329178600","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329178596":["hashtag1","hashtag2"]},{"1329178600":["hashtag1","hashtag2"]},{"1329178590":["hashtag1","hashtag2"]},{"1329178602":["hashtag1","hashtag2"]},{"1329178598":["hashtag1","hashtag2"]},{"1329178679":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329178596, 1329178600, 1329178590, 1329178602, 1329178598, 1329178679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88943910598755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:00:42.835871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
  port_id : 19647864
  datou_current_id : 2486575
in upload_from_sqlite, uploading in 19647864
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_52_2661.jpg', '/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_39_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486575&datou=0
/home/pi/Desktop/images/12012025/23/32/image_12012025_23_32_52_2661.jpg
/home/pi/Desktop/images/12012025/23/36/image_12012025_23_36_39_2851.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178758","1329178731"],"photo_ids_order":["1329178731","1329178758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88d13f87203281ff857ab7fc0e630017.jpg","text":"TemporaryFile(/tmp/multipartBody7831650777304445095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960503629,"filename":"image_12012025_23_36_39_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cebdcb2f54cb646f800d8a525e0fa53d.jpg","text":"TemporaryFile(/tmp/multipartBody7821297382625815305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960503629,"filename":"image_12012025_23_32_52_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329178758","file0":"1329178731"},"map_files_photo_id_array":[{"photo_id":"1329178758","filename":"file1"},{"photo_id":"1329178731","filename":"file0"}],"portfolio_id":19647864,"hashtag_by_photo_ids":[{"1329178758":["hashtag1","hashtag2"]},{"1329178731":["hashtag1","hashtag2"]}],"comms":"Portfolio 19647864 used, photo_id : ArrayBuffer(1329178758, 1329178731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.663573026657104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:01:02.854796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
  port_id : 19494244
  datou_current_id : 2473783
in upload_from_sqlite, uploading in 19494244
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10012025/21/10/image_10012025_21_10_46_2569.jpg', '/home/pi/Desktop/images/10012025/22/39/image_10012025_22_39_30_2630.jpg', '/home/pi/Desktop/images/10012025/22/40/image_10012025_22_40_44_2652.jpg', '/home/pi/Desktop/images/10012025/23/49/image_10012025_23_49_47_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2473783&datou=0
/home/pi/Desktop/images/10012025/21/10/image_10012025_21_10_46_2569.jpg
/home/pi/Desktop/images/10012025/22/39/image_10012025_22_39_30_2630.jpg
/home/pi/Desktop/images/10012025/22/40/image_10012025_22_40_44_2652.jpg
/home/pi/Desktop/images/10012025/23/49/image_10012025_23_49_47_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178777","1329178779","1329178775","1329178771"],"photo_ids_order":["1329178771","1329178775","1329178777","1329178779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b875a84c8162f6bfc74dffe2b03baa54.jpg","text":"TemporaryFile(/tmp/multipartBody100285952025145870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960524481,"filename":"image_10012025_22_40_44_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a7d606d49dbb01f9d49db4bc4cd9ea2c.jpg","text":"TemporaryFile(/tmp/multipartBody6831279597477716609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960524481,"filename":"image_10012025_23_49_47_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cbd2e01881a931488066cc819135b595.jpg","text":"TemporaryFile(/tmp/multipartBody877680501433539726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960524481,"filename":"image_10012025_22_39_30_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d2aaf1eb65b364744861a5d0275e92bb.jpg","text":"TemporaryFile(/tmp/multipartBody5558139545001767760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960524481,"filename":"image_10012025_21_10_46_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178777","file1":"1329178775","file0":"1329178771","file3":"1329178779"},"map_files_photo_id_array":[{"photo_id":"1329178777","filename":"file2"},{"photo_id":"1329178775","filename":"file1"},{"photo_id":"1329178771","filename":"file0"},{"photo_id":"1329178779","filename":"file3"}],"portfolio_id":19494244,"hashtag_by_photo_ids":[{"1329178777":["hashtag1","hashtag2"]},{"1329178779":["hashtag1","hashtag2"]},{"1329178775":["hashtag1","hashtag2"]},{"1329178771":["hashtag1","hashtag2"]}],"comms":"Portfolio 19494244 used, photo_id : ArrayBuffer(1329178777, 1329178779, 1329178775, 1329178771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.609288454055786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:01:41.996898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_41_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/17/36/image_15012025_17_36_41_2633.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178796"],"photo_id":"1329178796","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c3f60d0794d50ecfb0195ca56210562.jpg","text":"TemporaryFile(/tmp/multipartBody7049125002945545181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960562526,"filename":"image_15012025_17_36_41_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329178796"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329178796"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.845458745956421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:02:02.560822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_11012025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 19654020, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736960584000}
4219
2487144
4219
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_54_2804.jpg', '/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_42_2655.jpg', '/home/pi/Desktop/images/11012025/01/08/image_11012025_01_08_27_3627.jpg', '/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_49_2720.jpg', '/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_43_2819.jpg', '/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_04_2905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/00/39/image_11012025_00_39_54_2804.jpg
/home/pi/Desktop/images/11012025/01/04/image_11012025_01_04_42_2655.jpg
/home/pi/Desktop/images/11012025/01/08/image_11012025_01_08_27_3627.jpg
/home/pi/Desktop/images/11012025/01/51/image_11012025_01_51_49_2720.jpg
/home/pi/Desktop/images/11012025/01/56/image_11012025_01_56_43_2819.jpg
/home/pi/Desktop/images/11012025/02/25/image_11012025_02_25_04_2905.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178810","1329178813","1329178815","1329178823","1329178817","1329178820"],"photo_ids_order":["1329178810","1329178813","1329178815","1329178817","1329178820","1329178823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06d5140785dd9e15a35bde40d98f6508.jpg","text":"TemporaryFile(/tmp/multipartBody6650906481456011593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960585257,"filename":"image_11012025_00_39_54_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac4ff3338d0376121c9633f0b01168d3.jpg","text":"TemporaryFile(/tmp/multipartBody546268856343414247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960585257,"filename":"image_11012025_01_04_42_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e9f1d312bb227afdabeb58b6a4720e9a.jpg","text":"TemporaryFile(/tmp/multipartBody2497290310602668534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960585257,"filename":"image_11012025_01_08_27_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e490e9adbc12860898488a321968027.jpg","text":"TemporaryFile(/tmp/multipartBody6836740956771791341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960585257,"filename":"image_11012025_02_25_04_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0c32331050cb27de0a3cea98123f5617.jpg","text":"TemporaryFile(/tmp/multipartBody1344993037770831221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960585257,"filename":"image_11012025_01_51_49_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/deaad972c5a4b420ae2e1cacda6512d3.jpg","text":"TemporaryFile(/tmp/multipartBody2446701769290233278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960585257,"filename":"image_11012025_01_56_43_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178815","file1":"1329178813","file0":"1329178810","file4":"1329178820","file5":"1329178823","file3":"1329178817"},"map_files_photo_id_array":[{"photo_id":"1329178823","filename":"file5"},{"photo_id":"1329178815","filename":"file2"},{"photo_id":"1329178820","filename":"file4"},{"photo_id":"1329178813","filename":"file1"},{"photo_id":"1329178810","filename":"file0"},{"photo_id":"1329178817","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329178810":["hashtag1","hashtag2"]},{"1329178813":["hashtag1","hashtag2"]},{"1329178815":["hashtag1","hashtag2"]},{"1329178823":["hashtag1","hashtag2"]},{"1329178817":["hashtag1","hashtag2"]},{"1329178820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329178810, 1329178813, 1329178815, 1329178823, 1329178817, 1329178820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21454071998596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:02:41.890670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_13012025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 19654021, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736960622000}
4220
2487148
4220
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_37_2653.jpg', '/home/pi/Desktop/images/13012025/01/19/image_13012025_01_19_05_2619.jpg', '/home/pi/Desktop/images/13012025/01/22/image_13012025_01_22_26_2537.jpg', '/home/pi/Desktop/images/13012025/01/23/image_13012025_01_23_17_3763.jpg', '/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_26_3554.jpg', '/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_34_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/01/06/image_13012025_01_06_37_2653.jpg
/home/pi/Desktop/images/13012025/01/19/image_13012025_01_19_05_2619.jpg
/home/pi/Desktop/images/13012025/01/22/image_13012025_01_22_26_2537.jpg
/home/pi/Desktop/images/13012025/01/23/image_13012025_01_23_17_3763.jpg
/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_26_3554.jpg
/home/pi/Desktop/images/13012025/01/25/image_13012025_01_25_34_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178834","1329178842","1329178845","1329178839","1329178850","1329178847"],"photo_ids_order":["1329178834","1329178839","1329178842","1329178845","1329178847","1329178850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd0269a90c4ae224e85562f1e3d0d4cb.jpg","text":"TemporaryFile(/tmp/multipartBody8099261407277812854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960623879,"filename":"image_13012025_01_06_37_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc4380a8e45a5c3413ac6e5c9c2e599a.jpg","text":"TemporaryFile(/tmp/multipartBody3415917225581576414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960623879,"filename":"image_13012025_01_22_26_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5ee79635e53c0fc9c6e5bfd4cdd01f77.jpg","text":"TemporaryFile(/tmp/multipartBody4293463103795338485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960623879,"filename":"image_13012025_01_23_17_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f12278db6ba6eefd78bb9391dfea3871.jpg","text":"TemporaryFile(/tmp/multipartBody3687519050392114814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960623879,"filename":"image_13012025_01_19_05_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5c1dd2d8bb071f8e049b6421a122465.jpg","text":"TemporaryFile(/tmp/multipartBody3556153693436616162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960623879,"filename":"image_13012025_01_25_34_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/07437ca70241f642483cdbc51e550128.jpg","text":"TemporaryFile(/tmp/multipartBody3129448711130024090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960623879,"filename":"image_13012025_01_25_26_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178842","file1":"1329178839","file0":"1329178834","file4":"1329178847","file5":"1329178850","file3":"1329178845"},"map_files_photo_id_array":[{"photo_id":"1329178850","filename":"file5"},{"photo_id":"1329178842","filename":"file2"},{"photo_id":"1329178847","filename":"file4"},{"photo_id":"1329178839","filename":"file1"},{"photo_id":"1329178834","filename":"file0"},{"photo_id":"1329178845","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329178834":["hashtag1","hashtag2"]},{"1329178842":["hashtag1","hashtag2"]},{"1329178845":["hashtag1","hashtag2"]},{"1329178839":["hashtag1","hashtag2"]},{"1329178850":["hashtag1","hashtag2"]},{"1329178847":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329178834, 1329178842, 1329178845, 1329178839, 1329178850, 1329178847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.874956369400024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:03:22.490819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_38_2672.jpg', '/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_23_2804.jpg', '/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_53_3584.jpg', '/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_47_2725.jpg', '/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_14_2688.jpg', '/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_15_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/03/10/image_11012025_03_10_38_2672.jpg
/home/pi/Desktop/images/11012025/03/41/image_11012025_03_41_23_2804.jpg
/home/pi/Desktop/images/11012025/05/15/image_11012025_05_15_53_3584.jpg
/home/pi/Desktop/images/11012025/06/09/image_11012025_06_09_47_2725.jpg
/home/pi/Desktop/images/11012025/07/41/image_11012025_07_41_14_2688.jpg
/home/pi/Desktop/images/11012025/08/41/image_11012025_08_41_15_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178873","1329178858","1329178868","1329178877","1329178862","1329178856"],"photo_ids_order":["1329178856","1329178858","1329178862","1329178868","1329178873","1329178877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d51f612a9caae0342433b4b2f3dce142.jpg","text":"TemporaryFile(/tmp/multipartBody393741685353100862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960665069,"filename":"image_11012025_07_41_14_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/798becc2bbea989b40dc384e6d75840d.jpg","text":"TemporaryFile(/tmp/multipartBody7480487107179991745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960665069,"filename":"image_11012025_03_41_23_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/650e1a5cdd74fb9bc81126e05a9d1d57.jpg","text":"TemporaryFile(/tmp/multipartBody1027661020497383841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960665069,"filename":"image_11012025_06_09_47_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8f8591f1b201ca3554caa62c027d70f.jpg","text":"TemporaryFile(/tmp/multipartBody5134073357139138552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960665069,"filename":"image_11012025_08_41_15_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/449459dec5654d86fd02d8e256a2501d.jpg","text":"TemporaryFile(/tmp/multipartBody5972500047995905821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960665069,"filename":"image_11012025_05_15_53_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f37f1d90b23f820eab9a97de4dbb544a.jpg","text":"TemporaryFile(/tmp/multipartBody6347491651193429772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960665069,"filename":"image_11012025_03_10_38_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178862","file1":"1329178858","file0":"1329178856","file4":"1329178873","file5":"1329178877","file3":"1329178868"},"map_files_photo_id_array":[{"photo_id":"1329178877","filename":"file5"},{"photo_id":"1329178862","filename":"file2"},{"photo_id":"1329178873","filename":"file4"},{"photo_id":"1329178858","filename":"file1"},{"photo_id":"1329178856","filename":"file0"},{"photo_id":"1329178868","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329178873":["hashtag1","hashtag2"]},{"1329178858":["hashtag1","hashtag2"]},{"1329178868":["hashtag1","hashtag2"]},{"1329178877":["hashtag1","hashtag2"]},{"1329178862":["hashtag1","hashtag2"]},{"1329178856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329178873, 1329178858, 1329178868, 1329178877, 1329178862, 1329178856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31969928741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:04:22.545458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_03_2623.jpg', '/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_27_3653.jpg', '/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_39_2898.jpg', '/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_09_2711.jpg', '/home/pi/Desktop/images/11012025/08/52/image_11012025_08_52_23_2766.jpg', '/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_26_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_03_2623.jpg
/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_27_3653.jpg
/home/pi/Desktop/images/11012025/08/48/image_11012025_08_48_39_2898.jpg
/home/pi/Desktop/images/11012025/08/49/image_11012025_08_49_09_2711.jpg
/home/pi/Desktop/images/11012025/08/52/image_11012025_08_52_23_2766.jpg
/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_26_2815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178894","1329178915","1329178920","1329178910","1329178904","1329178897"],"photo_ids_order":["1329178894","1329178897","1329178904","1329178910","1329178915","1329178920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b813a99c71b45ad82acf760af02f98f4.jpg","text":"TemporaryFile(/tmp/multipartBody87788323986265722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960725043,"filename":"image_11012025_08_48_03_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9b5a623b98552c2bab47a6599d106999.jpg","text":"TemporaryFile(/tmp/multipartBody2127147575225614339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960725043,"filename":"image_11012025_08_52_23_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cec0b5d531152b75c33e36d0fda58d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7318127971413693634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960725043,"filename":"image_11012025_08_54_26_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b52d6216dd54e9edb404b62469bd774.jpg","text":"TemporaryFile(/tmp/multipartBody3673921867587768819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960725043,"filename":"image_11012025_08_49_09_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/455ebdd08562af168648094c310441b1.jpg","text":"TemporaryFile(/tmp/multipartBody1381832260651362496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960725043,"filename":"image_11012025_08_48_39_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/531f43089cc1c83a1fcbd2bb41619ca3.jpg","text":"TemporaryFile(/tmp/multipartBody7468806822752196077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960725043,"filename":"image_11012025_08_48_27_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178904","file1":"1329178897","file0":"1329178894","file4":"1329178915","file5":"1329178920","file3":"1329178910"},"map_files_photo_id_array":[{"photo_id":"1329178920","filename":"file5"},{"photo_id":"1329178904","filename":"file2"},{"photo_id":"1329178915","filename":"file4"},{"photo_id":"1329178897","filename":"file1"},{"photo_id":"1329178894","filename":"file0"},{"photo_id":"1329178910","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329178894":["hashtag1","hashtag2"]},{"1329178915":["hashtag1","hashtag2"]},{"1329178920":["hashtag1","hashtag2"]},{"1329178910":["hashtag1","hashtag2"]},{"1329178904":["hashtag1","hashtag2"]},{"1329178897":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329178894, 1329178915, 1329178920, 1329178910, 1329178904, 1329178897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31255602836609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:05:22.170963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_47_3683.jpg', '/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_56_3665.jpg', '/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_23_3709.jpg', '/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_29_3653.jpg', '/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_34_2613.jpg', '/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_26_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_47_3683.jpg
/home/pi/Desktop/images/11012025/08/54/image_11012025_08_54_56_3665.jpg
/home/pi/Desktop/images/11012025/08/55/image_11012025_08_55_23_3709.jpg
/home/pi/Desktop/images/11012025/08/58/image_11012025_08_58_29_3653.jpg
/home/pi/Desktop/images/11012025/08/59/image_11012025_08_59_34_2613.jpg
/home/pi/Desktop/images/11012025/09/00/image_11012025_09_00_26_3544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178927","1329178936","1329178941","1329178946","1329178931","1329178925"],"photo_ids_order":["1329178925","1329178927","1329178931","1329178936","1329178941","1329178946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2312c74f50bf5ba53495465e9dc0647.jpg","text":"TemporaryFile(/tmp/multipartBody8943394337394775645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960784527,"filename":"image_11012025_08_54_56_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b8b2dd4ce73d31b6a7b37a53db68381d.jpg","text":"TemporaryFile(/tmp/multipartBody1969777657236432078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960784527,"filename":"image_11012025_08_58_29_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca55bf3da5e3221ea6fd4605c442bd6c.jpg","text":"TemporaryFile(/tmp/multipartBody3592376699305418481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960784527,"filename":"image_11012025_08_59_34_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6a07291082908f4eec1427c9a4ce7652.jpg","text":"TemporaryFile(/tmp/multipartBody5360791672348885069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960784527,"filename":"image_11012025_09_00_26_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5491ce330628c8015d323860b0f96fd.jpg","text":"TemporaryFile(/tmp/multipartBody8343698460374543130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960784527,"filename":"image_11012025_08_55_23_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/120a59c012d733487d2be365c6e36c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3988575031764647704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960784527,"filename":"image_11012025_08_54_47_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178931","file1":"1329178927","file0":"1329178925","file4":"1329178941","file5":"1329178946","file3":"1329178936"},"map_files_photo_id_array":[{"photo_id":"1329178946","filename":"file5"},{"photo_id":"1329178931","filename":"file2"},{"photo_id":"1329178941","filename":"file4"},{"photo_id":"1329178927","filename":"file1"},{"photo_id":"1329178925","filename":"file0"},{"photo_id":"1329178936","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329178927":["hashtag1","hashtag2"]},{"1329178936":["hashtag1","hashtag2"]},{"1329178941":["hashtag1","hashtag2"]},{"1329178946":["hashtag1","hashtag2"]},{"1329178931":["hashtag1","hashtag2"]},{"1329178925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329178927, 1329178936, 1329178941, 1329178946, 1329178931, 1329178925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25777244567871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:06:03.208609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_22_2669.jpg', '/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_58_2633.jpg', '/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_25_2572.jpg', '/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_55_3645.jpg', '/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_49_3713.jpg', '/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_52_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_22_2669.jpg
/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_58_2633.jpg
/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_25_2572.jpg
/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_55_3645.jpg
/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_49_3713.jpg
/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_52_2857.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6759181022644043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:06:22.691684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_22_2669.jpg', '/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_58_2633.jpg', '/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_25_2572.jpg', '/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_55_3645.jpg', '/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_49_3713.jpg', '/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_52_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_22_2669.jpg
/home/pi/Desktop/images/11012025/09/08/image_11012025_09_08_58_2633.jpg
/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_25_2572.jpg
/home/pi/Desktop/images/11012025/09/09/image_11012025_09_09_55_3645.jpg
/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_49_3713.jpg
/home/pi/Desktop/images/11012025/09/10/image_11012025_09_10_52_2857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329178966","1329178980","1329178974","1329178970","1329178988","1329178984"],"photo_ids_order":["1329178966","1329178970","1329178974","1329178980","1329178984","1329178988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e4290cd1d7da72099b69430b0cb554c.jpg","text":"TemporaryFile(/tmp/multipartBody8533753847576642230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960845094,"filename":"image_11012025_09_08_22_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c2841b2d9351ce1f91a9753f87f3335.jpg","text":"TemporaryFile(/tmp/multipartBody3433221474763933669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960845094,"filename":"image_11012025_09_09_55_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d3ef216e8df0dce6b8366e25d3646f5.jpg","text":"TemporaryFile(/tmp/multipartBody655447024749851605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960845094,"filename":"image_11012025_09_09_25_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2907ea3799cc50eaa7c604ce4b9a8acc.jpg","text":"TemporaryFile(/tmp/multipartBody6965429442805471836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960845094,"filename":"image_11012025_09_08_58_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8418f5f9efecec85bb1657fe9e5a7137.jpg","text":"TemporaryFile(/tmp/multipartBody2892579128338721165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960845094,"filename":"image_11012025_09_10_52_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e4341aa866ca9dd8448b0884699912b.jpg","text":"TemporaryFile(/tmp/multipartBody1007176032387272164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960845094,"filename":"image_11012025_09_10_49_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329178974","file1":"1329178970","file0":"1329178966","file4":"1329178984","file5":"1329178988","file3":"1329178980"},"map_files_photo_id_array":[{"photo_id":"1329178988","filename":"file5"},{"photo_id":"1329178974","filename":"file2"},{"photo_id":"1329178984","filename":"file4"},{"photo_id":"1329178970","filename":"file1"},{"photo_id":"1329178966","filename":"file0"},{"photo_id":"1329178980","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329178966":["hashtag1","hashtag2"]},{"1329178980":["hashtag1","hashtag2"]},{"1329178974":["hashtag1","hashtag2"]},{"1329178970":["hashtag1","hashtag2"]},{"1329178988":["hashtag1","hashtag2"]},{"1329178984":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329178966, 1329178980, 1329178974, 1329178970, 1329178988, 1329178984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69393563270569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:07:22.318857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/10/image_11012025_09_11_01_3683.jpg', '/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_04_2704.jpg', '/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_25_2656.jpg', '/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_45_2527.jpg', '/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_52_2667.jpg', '/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_01_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/10/image_11012025_09_11_01_3683.jpg
/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_04_2704.jpg
/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_25_2656.jpg
/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_45_2527.jpg
/home/pi/Desktop/images/11012025/09/11/image_11012025_09_11_52_2667.jpg
/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_01_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179020","1329179014","1329179005","1329179010","1329178996","1329178999"],"photo_ids_order":["1329178996","1329178999","1329179005","1329179010","1329179014","1329179020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0057857a1b86b4a642e4a4d0a472ab1.jpg","text":"TemporaryFile(/tmp/multipartBody2064540434629341677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960904726,"filename":"image_11012025_09_12_01_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2006b27892eba5b08cef6070e03a6dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7293896633280322860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960904726,"filename":"image_11012025_09_11_52_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b58291fc777ad4457af5521dc7e9ee31.jpg","text":"TemporaryFile(/tmp/multipartBody1994645144496293453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960904726,"filename":"image_11012025_09_11_25_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/42f1d9482d77a3f3cbf5c4db95a01209.jpg","text":"TemporaryFile(/tmp/multipartBody1549640681341450904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960904726,"filename":"image_11012025_09_11_45_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f488b52909319accf41602a1f32191aa.jpg","text":"TemporaryFile(/tmp/multipartBody1082975708962387585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960904726,"filename":"image_11012025_09_11_01_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/17657214262635b8c4ce3f670ce7ff4d.jpg","text":"TemporaryFile(/tmp/multipartBody2228025631170790433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960904726,"filename":"image_11012025_09_11_04_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179005","file1":"1329178999","file0":"1329178996","file4":"1329179014","file5":"1329179020","file3":"1329179010"},"map_files_photo_id_array":[{"photo_id":"1329179020","filename":"file5"},{"photo_id":"1329179005","filename":"file2"},{"photo_id":"1329179014","filename":"file4"},{"photo_id":"1329178999","filename":"file1"},{"photo_id":"1329178996","filename":"file0"},{"photo_id":"1329179010","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329179020":["hashtag1","hashtag2"]},{"1329179014":["hashtag1","hashtag2"]},{"1329179005":["hashtag1","hashtag2"]},{"1329179010":["hashtag1","hashtag2"]},{"1329178996":["hashtag1","hashtag2"]},{"1329178999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329179020, 1329179014, 1329179005, 1329179010, 1329178996, 1329178999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.066832304000854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:08:22.633634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_04_2644.jpg', '/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_49_3681.jpg', '/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_16_3677.jpg', '/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_19_2619.jpg', '/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_27_2647.jpg', '/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_39_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_04_2644.jpg
/home/pi/Desktop/images/11012025/09/12/image_11012025_09_12_49_3681.jpg
/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_16_3677.jpg
/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_19_2619.jpg
/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_27_2647.jpg
/home/pi/Desktop/images/11012025/09/13/image_11012025_09_13_39_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179233","1329179238","1329179195","1329179228","1329179243","1329179222"],"photo_ids_order":["1329179195","1329179222","1329179228","1329179233","1329179238","1329179243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a8239bb64c5b2c0c0c16bfb09d877608.jpg","text":"TemporaryFile(/tmp/multipartBody3725071587686965124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960965060,"filename":"image_11012025_09_13_19_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fff7f0007c70429c1f3b5d6008a2ef4f.jpg","text":"TemporaryFile(/tmp/multipartBody1495388528582257681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960965060,"filename":"image_11012025_09_13_27_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2fa4b3146ab37d2a0accb5e0999f658.jpg","text":"TemporaryFile(/tmp/multipartBody7797155772676138095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960965060,"filename":"image_11012025_09_12_04_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d1d9eb4385ffb93b2aeb244677f2e95.jpg","text":"TemporaryFile(/tmp/multipartBody7672384253107927261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960965060,"filename":"image_11012025_09_13_16_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2605e4caf43d00cd33c68d3d71148d0f.jpg","text":"TemporaryFile(/tmp/multipartBody835189517218275347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960965060,"filename":"image_11012025_09_13_39_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e574a0d7d8321bc4f8fd888fd53e9624.jpg","text":"TemporaryFile(/tmp/multipartBody7036333596897901704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736960965060,"filename":"image_11012025_09_12_49_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179228","file1":"1329179222","file0":"1329179195","file4":"1329179238","file5":"1329179243","file3":"1329179233"},"map_files_photo_id_array":[{"photo_id":"1329179243","filename":"file5"},{"photo_id":"1329179228","filename":"file2"},{"photo_id":"1329179238","filename":"file4"},{"photo_id":"1329179222","filename":"file1"},{"photo_id":"1329179195","filename":"file0"},{"photo_id":"1329179233","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329179233":["hashtag1","hashtag2"]},{"1329179238":["hashtag1","hashtag2"]},{"1329179195":["hashtag1","hashtag2"]},{"1329179228":["hashtag1","hashtag2"]},{"1329179243":["hashtag1","hashtag2"]},{"1329179222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329179233, 1329179238, 1329179195, 1329179228, 1329179243, 1329179222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29781103134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:09:21.944500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/18/01/image_15012025_18_01_46_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/18/01/image_15012025_18_01_46_2573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179270"],"photo_id":"1329179270","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4b4ed766c32fa933b74fc696c51ad66.jpg","text":"TemporaryFile(/tmp/multipartBody7214007277201907282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961022470,"filename":"image_15012025_18_01_46_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329179270"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329179270"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.043733835220337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:09:41.806467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/01/50/image_13012025_01_50_38_2553.jpg', '/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_26_2639.jpg', '/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_28_2655.jpg', '/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_37_6443.jpg', '/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_28_2634.jpg', '/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_27_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/01/50/image_13012025_01_50_38_2553.jpg
/home/pi/Desktop/images/13012025/01/51/image_13012025_01_51_26_2639.jpg
/home/pi/Desktop/images/13012025/02/34/image_13012025_02_34_28_2655.jpg
/home/pi/Desktop/images/13012025/02/36/image_13012025_02_36_37_6443.jpg
/home/pi/Desktop/images/13012025/02/37/image_13012025_02_37_28_2634.jpg
/home/pi/Desktop/images/13012025/02/39/image_13012025_02_39_27_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179305","1329179298","1329179302","1329179292","1329179286","1329179304"],"photo_ids_order":["1329179286","1329179292","1329179298","1329179302","1329179304","1329179305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73050f7dbcdc92eba225ff86b2a52eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6845159667621523365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961042945,"filename":"image_13012025_02_39_27_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02bc1745b15559ff42f44d9b3828bf1e.jpg","text":"TemporaryFile(/tmp/multipartBody6671081685116440967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961042945,"filename":"image_13012025_02_34_28_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/999aa3c329d881330c3fb8d941c53e39.jpg","text":"TemporaryFile(/tmp/multipartBody8741856191459573619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961042945,"filename":"image_13012025_02_36_37_6443.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f690b5631e59eb2341fae4deb0e4169e.jpg","text":"TemporaryFile(/tmp/multipartBody9114903314151848114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961042945,"filename":"image_13012025_01_51_26_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31333c72dd6580cc1bfdb85588e5d852.jpg","text":"TemporaryFile(/tmp/multipartBody5856956525307425814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961042945,"filename":"image_13012025_01_50_38_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e3339e52ee584e937646091ad88cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody7265651437345083276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961042945,"filename":"image_13012025_02_37_28_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179298","file1":"1329179292","file0":"1329179286","file4":"1329179304","file5":"1329179305","file3":"1329179302"},"map_files_photo_id_array":[{"photo_id":"1329179305","filename":"file5"},{"photo_id":"1329179298","filename":"file2"},{"photo_id":"1329179304","filename":"file4"},{"photo_id":"1329179292","filename":"file1"},{"photo_id":"1329179286","filename":"file0"},{"photo_id":"1329179302","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329179305":["hashtag1","hashtag2"]},{"1329179298":["hashtag1","hashtag2"]},{"1329179302":["hashtag1","hashtag2"]},{"1329179292":["hashtag1","hashtag2"]},{"1329179286":["hashtag1","hashtag2"]},{"1329179304":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329179305, 1329179298, 1329179302, 1329179292, 1329179286, 1329179304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.17209053039551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:10:41.743108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_50_3549.jpg', '/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_31_2684.jpg', '/home/pi/Desktop/images/13012025/03/08/image_13012025_03_09_00_2692.jpg', '/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_50_2632.jpg', '/home/pi/Desktop/images/13012025/03/34/image_13012025_03_34_49_2690.jpg', '/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_57_3766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/02/53/image_13012025_02_53_50_3549.jpg
/home/pi/Desktop/images/13012025/03/04/image_13012025_03_04_31_2684.jpg
/home/pi/Desktop/images/13012025/03/08/image_13012025_03_09_00_2692.jpg
/home/pi/Desktop/images/13012025/03/19/image_13012025_03_19_50_2632.jpg
/home/pi/Desktop/images/13012025/03/34/image_13012025_03_34_49_2690.jpg
/home/pi/Desktop/images/13012025/05/14/image_13012025_05_14_57_3766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179478","1329179436","1329179468","1329179465","1329179429","1329179473"],"photo_ids_order":["1329179429","1329179436","1329179465","1329179468","1329179473","1329179478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bab9841259b65611e01a5757abb4f6d7.jpg","text":"TemporaryFile(/tmp/multipartBody5526237969769463771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961102881,"filename":"image_13012025_05_14_57_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/050d4ffcf4c1ece1a4458ad9bacc6224.jpg","text":"TemporaryFile(/tmp/multipartBody84467294647957389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961102881,"filename":"image_13012025_03_04_31_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/efbd52b64d2141fb4ddd236f0b9d78e5.jpg","text":"TemporaryFile(/tmp/multipartBody4577980166427162675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961102881,"filename":"image_13012025_03_19_50_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/468583381b2b80600edcf58d73163675.jpg","text":"TemporaryFile(/tmp/multipartBody267401652755053331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961102881,"filename":"image_13012025_03_09_00_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a13fcbf2cda4fc446b06363f8fd4326.jpg","text":"TemporaryFile(/tmp/multipartBody2436062743049567310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961102881,"filename":"image_13012025_02_53_50_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e215bd377afbd77d37ea8474b7e5a943.jpg","text":"TemporaryFile(/tmp/multipartBody1088904243033567868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961102881,"filename":"image_13012025_03_34_49_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179465","file1":"1329179436","file0":"1329179429","file4":"1329179473","file5":"1329179478","file3":"1329179468"},"map_files_photo_id_array":[{"photo_id":"1329179478","filename":"file5"},{"photo_id":"1329179465","filename":"file2"},{"photo_id":"1329179473","filename":"file4"},{"photo_id":"1329179436","filename":"file1"},{"photo_id":"1329179429","filename":"file0"},{"photo_id":"1329179468","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329179478":["hashtag1","hashtag2"]},{"1329179436":["hashtag1","hashtag2"]},{"1329179468":["hashtag1","hashtag2"]},{"1329179465":["hashtag1","hashtag2"]},{"1329179429":["hashtag1","hashtag2"]},{"1329179473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329179478, 1329179436, 1329179468, 1329179465, 1329179429, 1329179473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54143452644348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:11:22.333286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_25_3752.jpg', '/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_39_2626.jpg', '/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_48_2665.jpg', '/home/pi/Desktop/images/11012025/09/15/image_11012025_09_15_04_3522.jpg', '/home/pi/Desktop/images/11012025/09/15/image_11012025_09_15_09_2820.jpg', '/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_19_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_25_3752.jpg
/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_39_2626.jpg
/home/pi/Desktop/images/11012025/09/14/image_11012025_09_14_48_2665.jpg
/home/pi/Desktop/images/11012025/09/15/image_11012025_09_15_04_3522.jpg
/home/pi/Desktop/images/11012025/09/15/image_11012025_09_15_09_2820.jpg
/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_19_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179503","1329179498","1329179491","1329179485","1329179494","1329179488"],"photo_ids_order":["1329179485","1329179488","1329179491","1329179494","1329179498","1329179503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3863e05e79b1212ea290086dd7ed3457.jpg","text":"TemporaryFile(/tmp/multipartBody8781195019701665508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961144772,"filename":"image_11012025_09_17_19_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/156130c41693c83acf0b020979e4bc58.jpg","text":"TemporaryFile(/tmp/multipartBody1197569389756989974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961144772,"filename":"image_11012025_09_15_09_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cd94894e924afbc3fae3776d403efb83.jpg","text":"TemporaryFile(/tmp/multipartBody416177883529814261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961144772,"filename":"image_11012025_09_14_48_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b668c2669ef7216d7399ed33707bdc0b.jpg","text":"TemporaryFile(/tmp/multipartBody2883086200850874907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961144772,"filename":"image_11012025_09_14_25_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d7c06302c6e6709807a0e234e85fdb6c.jpg","text":"TemporaryFile(/tmp/multipartBody77659242655413413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961144772,"filename":"image_11012025_09_15_04_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/54f1785a16485898c1006e987b0de4df.jpg","text":"TemporaryFile(/tmp/multipartBody6862530787735396847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961144772,"filename":"image_11012025_09_14_39_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179491","file1":"1329179488","file0":"1329179485","file4":"1329179498","file5":"1329179503","file3":"1329179494"},"map_files_photo_id_array":[{"photo_id":"1329179503","filename":"file5"},{"photo_id":"1329179491","filename":"file2"},{"photo_id":"1329179498","filename":"file4"},{"photo_id":"1329179488","filename":"file1"},{"photo_id":"1329179485","filename":"file0"},{"photo_id":"1329179494","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329179503":["hashtag1","hashtag2"]},{"1329179498":["hashtag1","hashtag2"]},{"1329179491":["hashtag1","hashtag2"]},{"1329179485":["hashtag1","hashtag2"]},{"1329179494":["hashtag1","hashtag2"]},{"1329179488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329179503, 1329179498, 1329179491, 1329179485, 1329179494, 1329179488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34614014625549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:12:02.403560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_42_2736.jpg', '/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_06_2787.jpg', '/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_57_2655.jpg', '/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_03_2654.jpg', '/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_36_3643.jpg', '/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_18_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/17/image_11012025_09_17_42_2736.jpg
/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_06_2787.jpg
/home/pi/Desktop/images/11012025/09/18/image_11012025_09_18_57_2655.jpg
/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_03_2654.jpg
/home/pi/Desktop/images/11012025/09/19/image_11012025_09_19_36_3643.jpg
/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_18_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179545","1329179539","1329179556","1329179553","1329179548","1329179542"],"photo_ids_order":["1329179539","1329179542","1329179545","1329179548","1329179553","1329179556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e4b1ed1eefaf41fdd3f21881122d2122.jpg","text":"TemporaryFile(/tmp/multipartBody4700094639571249613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961184154,"filename":"image_11012025_09_18_57_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0e0d1adfd14306a0bb1aab42dc0c4c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1086656599309591618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961184154,"filename":"image_11012025_09_17_42_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f6a0e3570308926910597bd8f6d709a.jpg","text":"TemporaryFile(/tmp/multipartBody6419669879552583424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961184154,"filename":"image_11012025_09_20_18_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/01ed788261a02cd6a959a9c31f0cce7a.jpg","text":"TemporaryFile(/tmp/multipartBody8362490740469012966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961184154,"filename":"image_11012025_09_19_36_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5de9ac658758ff1258957c343564ea7d.jpg","text":"TemporaryFile(/tmp/multipartBody5482059063560403102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961184154,"filename":"image_11012025_09_19_03_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c24363d8c1ef7298d11331907afcbd2.jpg","text":"TemporaryFile(/tmp/multipartBody15130329274503796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961184154,"filename":"image_11012025_09_18_06_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179545","file1":"1329179542","file0":"1329179539","file4":"1329179553","file5":"1329179556","file3":"1329179548"},"map_files_photo_id_array":[{"photo_id":"1329179556","filename":"file5"},{"photo_id":"1329179545","filename":"file2"},{"photo_id":"1329179553","filename":"file4"},{"photo_id":"1329179542","filename":"file1"},{"photo_id":"1329179539","filename":"file0"},{"photo_id":"1329179548","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329179545":["hashtag1","hashtag2"]},{"1329179539":["hashtag1","hashtag2"]},{"1329179556":["hashtag1","hashtag2"]},{"1329179553":["hashtag1","hashtag2"]},{"1329179548":["hashtag1","hashtag2"]},{"1329179542":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329179545, 1329179539, 1329179556, 1329179553, 1329179548, 1329179542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75426888465881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:12:41.752251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_09_3619.jpg', '/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_34_2581.jpg', '/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_46_3582.jpg', '/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_49_2785.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_16_2852.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_19_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/05/20/image_13012025_05_20_09_3619.jpg
/home/pi/Desktop/images/13012025/05/38/image_13012025_05_38_34_2581.jpg
/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_46_3582.jpg
/home/pi/Desktop/images/13012025/07/33/image_13012025_07_33_49_2785.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_16_2852.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_19_2667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179577","1329179571","1329179565","1329179573","1329179575","1329179569"],"photo_ids_order":["1329179565","1329179569","1329179571","1329179573","1329179575","1329179577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3b9aceb13c787b1cc613059aa41096a6.jpg","text":"TemporaryFile(/tmp/multipartBody7208030394492904180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961222933,"filename":"image_13012025_07_34_19_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5e6a81a9bf02b0cd981a4826b333cc6.jpg","text":"TemporaryFile(/tmp/multipartBody8475611933394675626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961222933,"filename":"image_13012025_07_33_46_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa34b11cd67206a372bbebd8c9a2f571.jpg","text":"TemporaryFile(/tmp/multipartBody1465659375552527977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961222933,"filename":"image_13012025_05_20_09_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c150b40ace02daf6072e9c222d0607c.jpg","text":"TemporaryFile(/tmp/multipartBody1656542615637784221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961222933,"filename":"image_13012025_07_33_49_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/27c078f415879d2de0b3611552e2cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody4809380513641981248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961222933,"filename":"image_13012025_07_34_16_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c0e2c968beed0815eb7c895cbdfad19f.jpg","text":"TemporaryFile(/tmp/multipartBody1819525803161891067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961222933,"filename":"image_13012025_05_38_34_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179571","file1":"1329179569","file0":"1329179565","file4":"1329179575","file5":"1329179577","file3":"1329179573"},"map_files_photo_id_array":[{"photo_id":"1329179577","filename":"file5"},{"photo_id":"1329179571","filename":"file2"},{"photo_id":"1329179575","filename":"file4"},{"photo_id":"1329179569","filename":"file1"},{"photo_id":"1329179565","filename":"file0"},{"photo_id":"1329179573","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329179577":["hashtag1","hashtag2"]},{"1329179571":["hashtag1","hashtag2"]},{"1329179565":["hashtag1","hashtag2"]},{"1329179573":["hashtag1","hashtag2"]},{"1329179575":["hashtag1","hashtag2"]},{"1329179569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329179577, 1329179571, 1329179565, 1329179573, 1329179575, 1329179569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15672707557678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:13:22.672980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/18/09/image_15012025_18_09_43_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/18/09/image_15012025_18_09_43_2748.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179580"],"photo_id":"1329179580","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/464c8858e868168a69f51a232de765b5.jpg","text":"TemporaryFile(/tmp/multipartBody7979814155867447164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961263203,"filename":"image_15012025_18_09_43_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329179580"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329179580"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.467708349227905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:13:42.617445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_22_3654.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_25_2618.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_27_2643.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_31_3587.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_34_2945.jpg', '/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_40_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_22_3654.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_25_2618.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_27_2643.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_31_3587.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_34_2945.jpg
/home/pi/Desktop/images/13012025/07/34/image_13012025_07_34_40_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179617","1329179598","1329179607","1329179603","1329179615","1329179609"],"photo_ids_order":["1329179598","1329179603","1329179607","1329179609","1329179615","1329179617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38cfbef524b3644985f4a3f85aa00e19.jpg","text":"TemporaryFile(/tmp/multipartBody1130998930206217862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961283840,"filename":"image_13012025_07_34_40_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4cb53e902a8c2af22845dd2668c94cb8.jpg","text":"TemporaryFile(/tmp/multipartBody7630282686273077984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961283840,"filename":"image_13012025_07_34_22_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/08602a48855fae07d60e89f3237c1485.jpg","text":"TemporaryFile(/tmp/multipartBody7702166400094072590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961283840,"filename":"image_13012025_07_34_27_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6132e04ed48886cb54047d70c38ca928.jpg","text":"TemporaryFile(/tmp/multipartBody2312349634407409961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961283840,"filename":"image_13012025_07_34_25_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a09cd2914f63d4d7188094fa8fc672c.jpg","text":"TemporaryFile(/tmp/multipartBody6742033161847787243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961283840,"filename":"image_13012025_07_34_34_2945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0e1413dc271f133572b665bf50df6c1.jpg","text":"TemporaryFile(/tmp/multipartBody5509453647475960779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961283840,"filename":"image_13012025_07_34_31_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179607","file1":"1329179603","file0":"1329179598","file4":"1329179615","file5":"1329179617","file3":"1329179609"},"map_files_photo_id_array":[{"photo_id":"1329179617","filename":"file5"},{"photo_id":"1329179607","filename":"file2"},{"photo_id":"1329179615","filename":"file4"},{"photo_id":"1329179603","filename":"file1"},{"photo_id":"1329179598","filename":"file0"},{"photo_id":"1329179609","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329179617":["hashtag1","hashtag2"]},{"1329179598":["hashtag1","hashtag2"]},{"1329179607":["hashtag1","hashtag2"]},{"1329179603":["hashtag1","hashtag2"]},{"1329179615":["hashtag1","hashtag2"]},{"1329179609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329179617, 1329179598, 1329179607, 1329179603, 1329179615, 1329179609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.807480335235596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:14:21.967977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_42_3576.jpg', '/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_51_2711.jpg', '/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_17_2803.jpg', '/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_20_3675.jpg', '/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_08_2650.jpg', '/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_14_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_42_3576.jpg
/home/pi/Desktop/images/11012025/09/20/image_11012025_09_20_51_2711.jpg
/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_17_2803.jpg
/home/pi/Desktop/images/11012025/09/27/image_11012025_09_27_20_3675.jpg
/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_08_2650.jpg
/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_14_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179679","1329179651","1329179645","1329179639","1329179633","1329179674"],"photo_ids_order":["1329179633","1329179639","1329179645","1329179651","1329179674","1329179679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2807bc2fae6b827cc2b3367bf61ae372.jpg","text":"TemporaryFile(/tmp/multipartBody6111979681203740872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961324396,"filename":"image_11012025_09_28_14_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84c0e68b4f037b8d2617fa22c43a3a88.jpg","text":"TemporaryFile(/tmp/multipartBody464087126428163970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961324396,"filename":"image_11012025_09_27_20_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/318be9244553f3e8c6a2cfc10b751fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2672496832030946589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961324396,"filename":"image_11012025_09_27_17_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9849d649946852a457102c044481e3eb.jpg","text":"TemporaryFile(/tmp/multipartBody2748480462160157319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961324396,"filename":"image_11012025_09_20_51_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cbbb7df7207865b306d6b979dc84b36b.jpg","text":"TemporaryFile(/tmp/multipartBody4701642618172155675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961324396,"filename":"image_11012025_09_20_42_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33606b6259c2d860cab7441417a1a82e.jpg","text":"TemporaryFile(/tmp/multipartBody2690983089890803689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961324396,"filename":"image_11012025_09_28_08_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179645","file1":"1329179639","file0":"1329179633","file4":"1329179674","file5":"1329179679","file3":"1329179651"},"map_files_photo_id_array":[{"photo_id":"1329179679","filename":"file5"},{"photo_id":"1329179645","filename":"file2"},{"photo_id":"1329179674","filename":"file4"},{"photo_id":"1329179639","filename":"file1"},{"photo_id":"1329179633","filename":"file0"},{"photo_id":"1329179651","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329179679":["hashtag1","hashtag2"]},{"1329179651":["hashtag1","hashtag2"]},{"1329179645":["hashtag1","hashtag2"]},{"1329179639":["hashtag1","hashtag2"]},{"1329179633":["hashtag1","hashtag2"]},{"1329179674":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329179679, 1329179651, 1329179645, 1329179639, 1329179633, 1329179674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.93257689476013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:15:22.252990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_30_3658.jpg', '/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_32_2648.jpg', '/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_05_3583.jpg', '/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_29_2756.jpg', '/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_46_2619.jpg', '/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_25_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_30_3658.jpg
/home/pi/Desktop/images/11012025/09/28/image_11012025_09_28_32_2648.jpg
/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_05_3583.jpg
/home/pi/Desktop/images/11012025/09/29/image_11012025_09_29_29_2756.jpg
/home/pi/Desktop/images/11012025/09/30/image_11012025_09_30_46_2619.jpg
/home/pi/Desktop/images/11012025/09/35/image_11012025_09_35_25_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179836","1329179818","1329179856","1329179798","1329179741","1329179767"],"photo_ids_order":["1329179741","1329179767","1329179798","1329179818","1329179836","1329179856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/37cb313607df3761ec5b9080f41132a8.jpg","text":"TemporaryFile(/tmp/multipartBody4560777654107221442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961384629,"filename":"image_11012025_09_30_46_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ccf7be8e4079f1a5e054384cf4637577.jpg","text":"TemporaryFile(/tmp/multipartBody6639498010125194377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961384629,"filename":"image_11012025_09_29_29_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b6511b577ed641910f8e40e0006f4de.jpg","text":"TemporaryFile(/tmp/multipartBody4477165544286205042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961384629,"filename":"image_11012025_09_35_25_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/950e51703fd8f3a644b8a23ca3341150.jpg","text":"TemporaryFile(/tmp/multipartBody8398545151502862189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961384629,"filename":"image_11012025_09_29_05_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3a0fb3f1093f767b82e0974eee58b84.jpg","text":"TemporaryFile(/tmp/multipartBody6230013518111457251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961384629,"filename":"image_11012025_09_28_30_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/15214951c7ff75bf9190d2a658d46172.jpg","text":"TemporaryFile(/tmp/multipartBody6478211771960001410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961384629,"filename":"image_11012025_09_28_32_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179798","file1":"1329179767","file0":"1329179741","file4":"1329179836","file5":"1329179856","file3":"1329179818"},"map_files_photo_id_array":[{"photo_id":"1329179856","filename":"file5"},{"photo_id":"1329179798","filename":"file2"},{"photo_id":"1329179836","filename":"file4"},{"photo_id":"1329179767","filename":"file1"},{"photo_id":"1329179741","filename":"file0"},{"photo_id":"1329179818","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329179836":["hashtag1","hashtag2"]},{"1329179818":["hashtag1","hashtag2"]},{"1329179856":["hashtag1","hashtag2"]},{"1329179798":["hashtag1","hashtag2"]},{"1329179741":["hashtag1","hashtag2"]},{"1329179767":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329179836, 1329179818, 1329179856, 1329179798, 1329179741, 1329179767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5576958656311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:16:03.354896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_25_3752.jpg', '/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_28_2545.jpg', '/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_37_2867.jpg', '/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_15_2669.jpg', '/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_19_3609.jpg', '/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_22_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_25_3752.jpg
/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_28_2545.jpg
/home/pi/Desktop/images/11012025/09/36/image_11012025_09_36_37_2867.jpg
/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_15_2669.jpg
/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_19_3609.jpg
/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_22_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179874","1329179883","1329179879","1329179873","1329179887","1329179881"],"photo_ids_order":["1329179873","1329179874","1329179879","1329179881","1329179883","1329179887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e74ced559a344b772cd0bd48d4dae78f.jpg","text":"TemporaryFile(/tmp/multipartBody8830439605580353345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961425251,"filename":"image_11012025_09_36_28_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/320abeff0169afb71cd85b52d51f6ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8659260625290792038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961425251,"filename":"image_11012025_09_37_19_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0efafdeed1d367ef44dc6deb79c5b80e.jpg","text":"TemporaryFile(/tmp/multipartBody368533542716615050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961425251,"filename":"image_11012025_09_36_37_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2afbc052e387925b8a707ca131598c96.jpg","text":"TemporaryFile(/tmp/multipartBody5717873472361043418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961425251,"filename":"image_11012025_09_36_25_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ae928a27239a0d04209bd9a976a2cde.jpg","text":"TemporaryFile(/tmp/multipartBody1700427703961380952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961425251,"filename":"image_11012025_09_37_22_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10b626e75e4f8f2995f6e609efd91abf.jpg","text":"TemporaryFile(/tmp/multipartBody4737948169546602978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961425251,"filename":"image_11012025_09_37_15_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179879","file1":"1329179874","file0":"1329179873","file4":"1329179883","file5":"1329179887","file3":"1329179881"},"map_files_photo_id_array":[{"photo_id":"1329179887","filename":"file5"},{"photo_id":"1329179879","filename":"file2"},{"photo_id":"1329179883","filename":"file4"},{"photo_id":"1329179874","filename":"file1"},{"photo_id":"1329179873","filename":"file0"},{"photo_id":"1329179881","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329179874":["hashtag1","hashtag2"]},{"1329179883":["hashtag1","hashtag2"]},{"1329179879":["hashtag1","hashtag2"]},{"1329179873":["hashtag1","hashtag2"]},{"1329179887":["hashtag1","hashtag2"]},{"1329179881":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329179874, 1329179883, 1329179879, 1329179873, 1329179887, 1329179881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.292896032333374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:16:42.671778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_13_2742.jpg', '/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_06_2596.jpg', '/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_36_2742.jpg', '/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_39_2672.jpg', '/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_42_2759.jpg', '/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_46_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/35/image_13012025_07_35_13_2742.jpg
/home/pi/Desktop/images/13012025/07/38/image_13012025_07_38_06_2596.jpg
/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_36_2742.jpg
/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_39_2672.jpg
/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_42_2759.jpg
/home/pi/Desktop/images/13012025/07/39/image_13012025_07_39_46_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179914","1329179940","1329179946","1329179919","1329179948","1329179942"],"photo_ids_order":["1329179914","1329179919","1329179940","1329179942","1329179946","1329179948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/599addb5ff8f63483e2145a2c48dbf3c.jpg","text":"TemporaryFile(/tmp/multipartBody8199095038983164572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961463853,"filename":"image_13012025_07_35_13_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f123e3160100fcb0d50ab4deaf1ff9b.jpg","text":"TemporaryFile(/tmp/multipartBody5886640310215522584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961463853,"filename":"image_13012025_07_39_36_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d7189e31f61f8f10e1737a3c640ee78.jpg","text":"TemporaryFile(/tmp/multipartBody3986409193736733365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961463853,"filename":"image_13012025_07_39_42_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d475c2894de4306f517b9f44de10af2.jpg","text":"TemporaryFile(/tmp/multipartBody6823856881742004235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961463853,"filename":"image_13012025_07_38_06_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5852cea59ccf1409ab8533857681a62e.jpg","text":"TemporaryFile(/tmp/multipartBody2459759396014102448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961463853,"filename":"image_13012025_07_39_46_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b939c4aa7ebacdfdc5a2a89d5f9137bd.jpg","text":"TemporaryFile(/tmp/multipartBody1313755517404605535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961463853,"filename":"image_13012025_07_39_39_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179940","file1":"1329179919","file0":"1329179914","file4":"1329179946","file5":"1329179948","file3":"1329179942"},"map_files_photo_id_array":[{"photo_id":"1329179948","filename":"file5"},{"photo_id":"1329179940","filename":"file2"},{"photo_id":"1329179946","filename":"file4"},{"photo_id":"1329179919","filename":"file1"},{"photo_id":"1329179914","filename":"file0"},{"photo_id":"1329179942","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329179914":["hashtag1","hashtag2"]},{"1329179940":["hashtag1","hashtag2"]},{"1329179946":["hashtag1","hashtag2"]},{"1329179919":["hashtag1","hashtag2"]},{"1329179948":["hashtag1","hashtag2"]},{"1329179942":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329179914, 1329179940, 1329179946, 1329179919, 1329179948, 1329179942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26632881164551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:17:22.552921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/18/13/image_15012025_18_13_49_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/18/13/image_15012025_18_13_49_3741.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179953"],"photo_id":"1329179953","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9604c6c94b0e5dbc6d700181b832df60.jpg","text":"TemporaryFile(/tmp/multipartBody6257285632970279830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961503082,"filename":"image_15012025_18_13_49_3741.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329179953"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329179953"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.754457712173462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:17:42.532910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_06_2841.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_08_2888.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_11_2722.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_14_2798.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_17_3534.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_20_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_06_2841.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_08_2888.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_11_2722.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_14_2798.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_17_3534.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_20_2521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329179979","1329179967","1329180133","1329179976","1329180004","1329179972"],"photo_ids_order":["1329179967","1329179972","1329179976","1329179979","1329180004","1329180133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/43709253f7ab15f6ac48bab3398458f9.jpg","text":"TemporaryFile(/tmp/multipartBody9119193646885912935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961523727,"filename":"image_13012025_07_50_14_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c6931040529cbe4c7085ed93cb5e575b.jpg","text":"TemporaryFile(/tmp/multipartBody4124252730436548458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961523727,"filename":"image_13012025_07_50_06_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a3a3d6f449dd2e9eea32c53b8fbc57a1.jpg","text":"TemporaryFile(/tmp/multipartBody3869796561398294348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961523727,"filename":"image_13012025_07_50_20_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87e482f108f1e20abacaf2bbf11ae878.jpg","text":"TemporaryFile(/tmp/multipartBody8242609222035587674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961523727,"filename":"image_13012025_07_50_11_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff9c2fa306ae3cb88ecaf6ada8909e21.jpg","text":"TemporaryFile(/tmp/multipartBody4777725211991626218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961523727,"filename":"image_13012025_07_50_17_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05c5562fcc11905f4ac9048186008daa.jpg","text":"TemporaryFile(/tmp/multipartBody9087179298475218382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961523727,"filename":"image_13012025_07_50_08_2888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329179976","file1":"1329179972","file0":"1329179967","file4":"1329180004","file5":"1329180133","file3":"1329179979"},"map_files_photo_id_array":[{"photo_id":"1329180133","filename":"file5"},{"photo_id":"1329179976","filename":"file2"},{"photo_id":"1329180004","filename":"file4"},{"photo_id":"1329179972","filename":"file1"},{"photo_id":"1329179967","filename":"file0"},{"photo_id":"1329179979","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329179979":["hashtag1","hashtag2"]},{"1329179967":["hashtag1","hashtag2"]},{"1329180133":["hashtag1","hashtag2"]},{"1329179976":["hashtag1","hashtag2"]},{"1329180004":["hashtag1","hashtag2"]},{"1329179972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329179979, 1329179967, 1329180133, 1329179976, 1329180004, 1329179972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.889766454696655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:18:22.508921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_36_2642.jpg', '/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_54_2803.jpg', '/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_10_3669.jpg', '/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_58_3793.jpg', '/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_16_2901.jpg', '/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_36_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_36_2642.jpg
/home/pi/Desktop/images/11012025/09/37/image_11012025_09_37_54_2803.jpg
/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_10_3669.jpg
/home/pi/Desktop/images/11012025/09/38/image_11012025_09_38_58_3793.jpg
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_16_2901.jpg
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_36_3632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329180850","1329180712","1329180378","1329180570","1329180542","1329180952"],"photo_ids_order":["1329180378","1329180542","1329180570","1329180712","1329180850","1329180952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8f640eeb9448ec239449e48a6a8bdbd7.jpg","text":"TemporaryFile(/tmp/multipartBody6062016046121887603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961564925,"filename":"image_11012025_09_39_16_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c4471ba59afc783a7866bd07dffe9f73.jpg","text":"TemporaryFile(/tmp/multipartBody7520224101394134924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961564925,"filename":"image_11012025_09_38_58_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/620f88fdc6dac7b225483c9f24e97beb.jpg","text":"TemporaryFile(/tmp/multipartBody6228265530486897510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961564925,"filename":"image_11012025_09_37_36_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f968ca3f64dee8c3db12cc5316eaa5ca.jpg","text":"TemporaryFile(/tmp/multipartBody4619193702212862027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961564925,"filename":"image_11012025_09_38_10_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8fc16a11b40b3140bacc7449aa8de228.jpg","text":"TemporaryFile(/tmp/multipartBody5781924208232080701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961564925,"filename":"image_11012025_09_37_54_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7e6c11c6c327a5190d6f96b25bab5880.jpg","text":"TemporaryFile(/tmp/multipartBody1614144174247562067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961564925,"filename":"image_11012025_09_39_36_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329180570","file1":"1329180542","file0":"1329180378","file4":"1329180850","file5":"1329180952","file3":"1329180712"},"map_files_photo_id_array":[{"photo_id":"1329180952","filename":"file5"},{"photo_id":"1329180570","filename":"file2"},{"photo_id":"1329180850","filename":"file4"},{"photo_id":"1329180542","filename":"file1"},{"photo_id":"1329180378","filename":"file0"},{"photo_id":"1329180712","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329180850":["hashtag1","hashtag2"]},{"1329180712":["hashtag1","hashtag2"]},{"1329180378":["hashtag1","hashtag2"]},{"1329180570":["hashtag1","hashtag2"]},{"1329180542":["hashtag1","hashtag2"]},{"1329180952":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329180850, 1329180712, 1329180378, 1329180570, 1329180542, 1329180952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12726879119873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:19:22.783316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/18/17/image_15012025_18_17_52_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/18/17/image_15012025_18_17_52_3017.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329181021"],"photo_id":"1329181021","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/738456eed2f8e2b3c6312d962554d8c0.jpg","text":"TemporaryFile(/tmp/multipartBody5111291212650980019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961623315,"filename":"image_15012025_18_17_52_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329181021"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329181021"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.872801065444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:19:42.784865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_24_4291.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_29_2695.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_38_3546.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_41_2764.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_57_1623.jpg', '/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_59_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_24_4291.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_29_2695.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_38_3546.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_41_2764.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_57_1623.jpg
/home/pi/Desktop/images/13012025/07/50/image_13012025_07_50_59_2657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329181047","1329181032","1329181073","1329181061","1329181133","1329181051"],"photo_ids_order":["1329181032","1329181047","1329181051","1329181061","1329181073","1329181133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ac2f857b95c51cd08cac4cf1a1ea151.jpg","text":"TemporaryFile(/tmp/multipartBody802176996216757111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961644114,"filename":"image_13012025_07_50_29_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fa8accea5dbccf372f5f5aaae31e47f2.jpg","text":"TemporaryFile(/tmp/multipartBody3102198324265609146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961644114,"filename":"image_13012025_07_50_24_4291.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e19390667d6cc342066f7ebcf56c1cdb.jpg","text":"TemporaryFile(/tmp/multipartBody184661603542605499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961644114,"filename":"image_13012025_07_50_57_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3942fe91fdf6b8a58a19ac950708804e.jpg","text":"TemporaryFile(/tmp/multipartBody7499187711140675545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961644114,"filename":"image_13012025_07_50_41_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/872b809c08a3d472c4e444ceefa05434.jpg","text":"TemporaryFile(/tmp/multipartBody3454877231812503508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961644114,"filename":"image_13012025_07_50_59_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8e132d1348d33bb9ffab384493d43ae3.jpg","text":"TemporaryFile(/tmp/multipartBody3638127541253994521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961644114,"filename":"image_13012025_07_50_38_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329181051","file1":"1329181047","file0":"1329181032","file4":"1329181073","file5":"1329181133","file3":"1329181061"},"map_files_photo_id_array":[{"photo_id":"1329181133","filename":"file5"},{"photo_id":"1329181051","filename":"file2"},{"photo_id":"1329181073","filename":"file4"},{"photo_id":"1329181047","filename":"file1"},{"photo_id":"1329181032","filename":"file0"},{"photo_id":"1329181061","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329181047":["hashtag1","hashtag2"]},{"1329181032":["hashtag1","hashtag2"]},{"1329181073":["hashtag1","hashtag2"]},{"1329181061":["hashtag1","hashtag2"]},{"1329181133":["hashtag1","hashtag2"]},{"1329181051":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329181047, 1329181032, 1329181073, 1329181061, 1329181133, 1329181051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33032417297363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:20:22.073089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_45_2646.jpg', '/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_06_2714.jpg', '/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_09_2647.jpg', '/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_33_2681.jpg', '/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_30_2883.jpg', '/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_33_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/39/image_11012025_09_39_45_2646.jpg
/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_06_2714.jpg
/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_09_2647.jpg
/home/pi/Desktop/images/11012025/09/40/image_11012025_09_40_33_2681.jpg
/home/pi/Desktop/images/11012025/09/41/image_11012025_09_41_30_2883.jpg
/home/pi/Desktop/images/11012025/09/43/image_11012025_09_43_33_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329181473","1329181482","1329181428","1329181469","1329181520","1329181430"],"photo_ids_order":["1329181428","1329181430","1329181469","1329181473","1329181482","1329181520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/933a1383900be107618ca2e140b56fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5428670438110601880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961684622,"filename":"image_11012025_09_40_33_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31a5dafcb469dd3f49ab98d0e5717edf.jpg","text":"TemporaryFile(/tmp/multipartBody2754575507267054474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961684622,"filename":"image_11012025_09_41_30_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/72b1bf686829052b66d8e15a09401c00.jpg","text":"TemporaryFile(/tmp/multipartBody5289878763790832931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961684622,"filename":"image_11012025_09_39_45_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d41c81bc6806f26c758797bb9ac69af.jpg","text":"TemporaryFile(/tmp/multipartBody4465372801545038441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961684622,"filename":"image_11012025_09_40_09_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e26319db0cad4d0e636d169077044adc.jpg","text":"TemporaryFile(/tmp/multipartBody5440355832426254122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961684622,"filename":"image_11012025_09_43_33_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/81952f9616992e7c513559345ea40919.jpg","text":"TemporaryFile(/tmp/multipartBody8587614742165813673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961684622,"filename":"image_11012025_09_40_06_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329181469","file1":"1329181430","file0":"1329181428","file4":"1329181482","file5":"1329181520","file3":"1329181473"},"map_files_photo_id_array":[{"photo_id":"1329181520","filename":"file5"},{"photo_id":"1329181469","filename":"file2"},{"photo_id":"1329181482","filename":"file4"},{"photo_id":"1329181430","filename":"file1"},{"photo_id":"1329181428","filename":"file0"},{"photo_id":"1329181473","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329181473":["hashtag1","hashtag2"]},{"1329181482":["hashtag1","hashtag2"]},{"1329181428":["hashtag1","hashtag2"]},{"1329181469":["hashtag1","hashtag2"]},{"1329181520":["hashtag1","hashtag2"]},{"1329181430":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329181473, 1329181482, 1329181428, 1329181469, 1329181520, 1329181430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25218892097473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:21:03.250115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_2729.jpg', '/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_29_2590.jpg', '/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_14_2712.jpg', '/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_17_3141.jpg', '/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_55_2559.jpg', '/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_20_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_02_2729.jpg
/home/pi/Desktop/images/11012025/09/53/image_11012025_09_53_29_2590.jpg
/home/pi/Desktop/images/11012025/09/57/image_11012025_09_57_14_2712.jpg
/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_17_3141.jpg
/home/pi/Desktop/images/11012025/09/59/image_11012025_09_59_55_2559.jpg
/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_20_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329181542","1329181539","1329181550","1329181553","1329181547","1329181556"],"photo_ids_order":["1329181539","1329181542","1329181547","1329181550","1329181553","1329181556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2185f181cd580e769752d7e9730dabb7.jpg","text":"TemporaryFile(/tmp/multipartBody8718808537995883275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961725134,"filename":"image_11012025_09_53_29_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a0c8373fe2539dac57aa1b2bed235d84.jpg","text":"TemporaryFile(/tmp/multipartBody834917985208046452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961725134,"filename":"image_11012025_09_53_02_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/90e6c89158fb2dd2fedd4b5ca58609b5.jpg","text":"TemporaryFile(/tmp/multipartBody3502091917878677409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961725134,"filename":"image_11012025_09_59_17_3141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c0d1b8469a5896f094632bcae5f0317.jpg","text":"TemporaryFile(/tmp/multipartBody3171084642010617204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961725134,"filename":"image_11012025_09_59_55_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a859f0eca3b17b5b1705558a4dd4a612.jpg","text":"TemporaryFile(/tmp/multipartBody1766345437554668153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961725134,"filename":"image_11012025_09_57_14_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c820b68ae783a77f04e42f80e8927fd0.jpg","text":"TemporaryFile(/tmp/multipartBody7445701022868886145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961725134,"filename":"image_11012025_10_00_20_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329181547","file1":"1329181542","file0":"1329181539","file4":"1329181553","file5":"1329181556","file3":"1329181550"},"map_files_photo_id_array":[{"photo_id":"1329181556","filename":"file5"},{"photo_id":"1329181547","filename":"file2"},{"photo_id":"1329181553","filename":"file4"},{"photo_id":"1329181542","filename":"file1"},{"photo_id":"1329181539","filename":"file0"},{"photo_id":"1329181550","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329181542":["hashtag1","hashtag2"]},{"1329181539":["hashtag1","hashtag2"]},{"1329181550":["hashtag1","hashtag2"]},{"1329181553":["hashtag1","hashtag2"]},{"1329181547":["hashtag1","hashtag2"]},{"1329181556":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329181542, 1329181539, 1329181550, 1329181553, 1329181547, 1329181556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.402087450027466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:21:42.661542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_2775.jpg', '/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_08_2509.jpg', '/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_15_3657.jpg', '/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_20_2813.jpg', '/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_29_2770.jpg', '/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_41_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_02_2775.jpg
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_08_2509.jpg
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_15_3657.jpg
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_20_2813.jpg
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_29_2770.jpg
/home/pi/Desktop/images/13012025/07/51/image_13012025_07_51_41_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329181599","1329181586","1329181594","1329181597","1329181576","1329181603"],"photo_ids_order":["1329181576","1329181586","1329181594","1329181597","1329181599","1329181603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/693f36b4534da6310fbc7325b9c5984a.jpg","text":"TemporaryFile(/tmp/multipartBody4198983418072866032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961763869,"filename":"image_13012025_07_51_29_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0b3245a0dadff857687709bd04024b52.jpg","text":"TemporaryFile(/tmp/multipartBody3969655829213596046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961763869,"filename":"image_13012025_07_51_08_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/643962afb8a166e47828bf6c8eda55c5.jpg","text":"TemporaryFile(/tmp/multipartBody4923590084460289796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961763869,"filename":"image_13012025_07_51_15_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9099d58e9343816fd09ed7a534313b99.jpg","text":"TemporaryFile(/tmp/multipartBody1060618362796013751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961763869,"filename":"image_13012025_07_51_20_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7527f7759e24da4ecfe5e48d54d6e463.jpg","text":"TemporaryFile(/tmp/multipartBody8273010741610975087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961763869,"filename":"image_13012025_07_51_02_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/feae8947cf5ad0cb7ebe3399a0498c05.jpg","text":"TemporaryFile(/tmp/multipartBody6394022832863294872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961763869,"filename":"image_13012025_07_51_41_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329181594","file1":"1329181586","file0":"1329181576","file4":"1329181599","file5":"1329181603","file3":"1329181597"},"map_files_photo_id_array":[{"photo_id":"1329181603","filename":"file5"},{"photo_id":"1329181594","filename":"file2"},{"photo_id":"1329181599","filename":"file4"},{"photo_id":"1329181586","filename":"file1"},{"photo_id":"1329181576","filename":"file0"},{"photo_id":"1329181597","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329181599":["hashtag1","hashtag2"]},{"1329181586":["hashtag1","hashtag2"]},{"1329181594":["hashtag1","hashtag2"]},{"1329181597":["hashtag1","hashtag2"]},{"1329181576":["hashtag1","hashtag2"]},{"1329181603":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329181599, 1329181586, 1329181594, 1329181597, 1329181576, 1329181603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31529188156128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:22:22.449421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/18/19/image_15012025_18_19_42_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/18/19/image_15012025_18_19_42_2657.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329181622"],"photo_id":"1329181622","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3fd22838d6dc0073341814a8f1047d1a.jpg","text":"TemporaryFile(/tmp/multipartBody3727247257747483042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961802994,"filename":"image_15012025_18_19_42_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329181622"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329181622"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.26151156425476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:22:42.308866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_29_2710.jpg', '/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_35_2687.jpg', '/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_44_2774.jpg', '/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_59_2650.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_05_3594.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_14_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_29_2710.jpg
/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_35_2687.jpg
/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_44_2774.jpg
/home/pi/Desktop/images/13012025/07/52/image_13012025_07_52_59_2650.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_05_3594.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_14_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329182294","1329182768","1329182770","1329182764","1329182455","1329182655"],"photo_ids_order":["1329182294","1329182455","1329182655","1329182764","1329182768","1329182770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0c0eb79b4fe095f52030151b87bd93b.jpg","text":"TemporaryFile(/tmp/multipartBody5968181262304479990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961823497,"filename":"image_13012025_07_52_29_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0c0704851a51a32a0ba2f1466f400899.jpg","text":"TemporaryFile(/tmp/multipartBody8741865312885549697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961823497,"filename":"image_13012025_07_53_05_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2711515db409f2bc4dc6f1c9df70d3b5.jpg","text":"TemporaryFile(/tmp/multipartBody7062411353202510671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961823497,"filename":"image_13012025_07_53_14_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0d8c8cd848700ef4d0c15a71cafb18c.jpg","text":"TemporaryFile(/tmp/multipartBody1735635564756927935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961823497,"filename":"image_13012025_07_52_59_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/adf4b29f96e2af33beeb18e76d296ef0.jpg","text":"TemporaryFile(/tmp/multipartBody8730116619498488039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961823497,"filename":"image_13012025_07_52_35_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/df704d5538358a9a2e74de63e3b31c77.jpg","text":"TemporaryFile(/tmp/multipartBody7440357317552595187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961823497,"filename":"image_13012025_07_52_44_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329182655","file1":"1329182455","file0":"1329182294","file4":"1329182768","file5":"1329182770","file3":"1329182764"},"map_files_photo_id_array":[{"photo_id":"1329182770","filename":"file5"},{"photo_id":"1329182655","filename":"file2"},{"photo_id":"1329182768","filename":"file4"},{"photo_id":"1329182455","filename":"file1"},{"photo_id":"1329182294","filename":"file0"},{"photo_id":"1329182764","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329182294":["hashtag1","hashtag2"]},{"1329182768":["hashtag1","hashtag2"]},{"1329182770":["hashtag1","hashtag2"]},{"1329182764":["hashtag1","hashtag2"]},{"1329182455":["hashtag1","hashtag2"]},{"1329182655":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329182294, 1329182768, 1329182770, 1329182764, 1329182455, 1329182655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.181204080581665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:23:42.578617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_20_3646.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_29_2642.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_41_2567.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_44_3672.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_50_2569.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_56_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_20_3646.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_29_2642.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_41_2567.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_44_3672.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_50_2569.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_56_2700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1187734603881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:24:03.194728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_32_2690.jpg', '/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_13_2545.jpg', '/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_26_3770.jpg', '/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_47_2657.jpg', '/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_46_2669.jpg', '/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_55_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/00/image_11012025_10_00_32_2690.jpg
/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_13_2545.jpg
/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_26_3770.jpg
/home/pi/Desktop/images/11012025/10/01/image_11012025_10_01_47_2657.jpg
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_46_2669.jpg
/home/pi/Desktop/images/11012025/10/02/image_11012025_10_02_55_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329182844","1329182852","1329183046","1329182857","1329183195","1329182854"],"photo_ids_order":["1329182844","1329182852","1329182854","1329182857","1329183046","1329183195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bec10f8e624298b1e60a86e935949b00.jpg","text":"TemporaryFile(/tmp/multipartBody2501109620598803333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961905005,"filename":"image_11012025_10_00_32_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/008aaed6bc6f737c50e68e37e3775bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6596023297087935703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961905005,"filename":"image_11012025_10_01_13_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2df00899ab1239b760876f883adc9e10.jpg","text":"TemporaryFile(/tmp/multipartBody2054843246665821510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961905005,"filename":"image_11012025_10_02_46_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3176ae2de2ae28e953b22baa57db9ae6.jpg","text":"TemporaryFile(/tmp/multipartBody2787533334426883577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961905005,"filename":"image_11012025_10_01_47_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c5bb62b0e67265c2c2fed2c6d93663eb.jpg","text":"TemporaryFile(/tmp/multipartBody1956563901632927574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961905005,"filename":"image_11012025_10_02_55_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d9fcc9ad16e0e0f907946d4ec0b22b8.jpg","text":"TemporaryFile(/tmp/multipartBody8878146366808896717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961905005,"filename":"image_11012025_10_01_26_3770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329182854","file1":"1329182852","file0":"1329182844","file4":"1329183046","file5":"1329183195","file3":"1329182857"},"map_files_photo_id_array":[{"photo_id":"1329183195","filename":"file5"},{"photo_id":"1329182854","filename":"file2"},{"photo_id":"1329183046","filename":"file4"},{"photo_id":"1329182852","filename":"file1"},{"photo_id":"1329182844","filename":"file0"},{"photo_id":"1329182857","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329182844":["hashtag1","hashtag2"]},{"1329182852":["hashtag1","hashtag2"]},{"1329183046":["hashtag1","hashtag2"]},{"1329182857":["hashtag1","hashtag2"]},{"1329183195":["hashtag1","hashtag2"]},{"1329182854":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329182844, 1329182852, 1329183046, 1329182857, 1329183195, 1329182854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.424944162368774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:24:42.339104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_20_3646.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_29_2642.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_41_2567.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_44_3672.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_50_2569.jpg', '/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_56_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_20_3646.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_29_2642.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_41_2567.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_44_3672.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_50_2569.jpg
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_56_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329183321","1329183318","1329183317","1329183305","1329183268","1329183259"],"photo_ids_order":["1329183259","1329183268","1329183305","1329183317","1329183318","1329183321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0b813b3c2818e9c00c03ed597461736.jpg","text":"TemporaryFile(/tmp/multipartBody3090641464970871897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961943450,"filename":"image_13012025_07_53_56_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a15f08126445fd9be677b612d51eb8a.jpg","text":"TemporaryFile(/tmp/multipartBody1871288535722968542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961943450,"filename":"image_13012025_07_53_50_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f400ab27944736a97929cc05ef5c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody5578064578117980691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961943450,"filename":"image_13012025_07_53_44_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05bc3a60aefd27b542666c9560baaac0.jpg","text":"TemporaryFile(/tmp/multipartBody5075834956451836391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961943450,"filename":"image_13012025_07_53_41_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ef22c27473ccc2f5cb85f5d2f35d2b98.jpg","text":"TemporaryFile(/tmp/multipartBody3583399459409059754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961943450,"filename":"image_13012025_07_53_29_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/afb39c27381428c2c6a93cd5d90db107.jpg","text":"TemporaryFile(/tmp/multipartBody2348891992508227091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961943450,"filename":"image_13012025_07_53_20_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329183305","file1":"1329183268","file0":"1329183259","file4":"1329183318","file5":"1329183321","file3":"1329183317"},"map_files_photo_id_array":[{"photo_id":"1329183321","filename":"file5"},{"photo_id":"1329183305","filename":"file2"},{"photo_id":"1329183318","filename":"file4"},{"photo_id":"1329183268","filename":"file1"},{"photo_id":"1329183259","filename":"file0"},{"photo_id":"1329183317","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329183321":["hashtag1","hashtag2"]},{"1329183318":["hashtag1","hashtag2"]},{"1329183317":["hashtag1","hashtag2"]},{"1329183305":["hashtag1","hashtag2"]},{"1329183268":["hashtag1","hashtag2"]},{"1329183259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329183321, 1329183318, 1329183317, 1329183305, 1329183268, 1329183259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05702090263367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:25:22.486490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_52_2818.jpg', '/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_16_2572.jpg', '/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_49_2838.jpg', '/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_52_3590.jpg', '/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_55_2593.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_04_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/03/image_11012025_10_03_52_2818.jpg
/home/pi/Desktop/images/11012025/10/07/image_11012025_10_07_16_2572.jpg
/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_49_2838.jpg
/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_52_3590.jpg
/home/pi/Desktop/images/11012025/10/08/image_11012025_10_08_55_2593.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_04_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329183335","1329183323","1329183326","1329183343","1329183339","1329183330"],"photo_ids_order":["1329183323","1329183326","1329183330","1329183335","1329183339","1329183343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5a604366161df5f16a2fde191cb96cf.jpg","text":"TemporaryFile(/tmp/multipartBody5706190921700276477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961984869,"filename":"image_11012025_10_08_52_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5a78b04eb26998584209f6a590dda2de.jpg","text":"TemporaryFile(/tmp/multipartBody9196849326315886969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961984869,"filename":"image_11012025_10_03_52_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2eee4d6baf4f5e2b809fc6e54f092083.jpg","text":"TemporaryFile(/tmp/multipartBody3917279870334190336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961984869,"filename":"image_11012025_10_07_16_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/661e5e54572e74799acad411c429dc6f.jpg","text":"TemporaryFile(/tmp/multipartBody8364206983187347938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961984869,"filename":"image_11012025_10_09_04_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/86f9803fd2486ca68f219954da8dc542.jpg","text":"TemporaryFile(/tmp/multipartBody9200959644034080073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961984869,"filename":"image_11012025_10_08_55_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6a63fccc3bad5b884753fcc0f1fa133f.jpg","text":"TemporaryFile(/tmp/multipartBody7779320442472479708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736961984869,"filename":"image_11012025_10_08_49_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329183330","file1":"1329183326","file0":"1329183323","file4":"1329183339","file5":"1329183343","file3":"1329183335"},"map_files_photo_id_array":[{"photo_id":"1329183343","filename":"file5"},{"photo_id":"1329183330","filename":"file2"},{"photo_id":"1329183339","filename":"file4"},{"photo_id":"1329183326","filename":"file1"},{"photo_id":"1329183323","filename":"file0"},{"photo_id":"1329183335","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329183335":["hashtag1","hashtag2"]},{"1329183323":["hashtag1","hashtag2"]},{"1329183326":["hashtag1","hashtag2"]},{"1329183343":["hashtag1","hashtag2"]},{"1329183339":["hashtag1","hashtag2"]},{"1329183330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329183335, 1329183323, 1329183326, 1329183343, 1329183339, 1329183330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15924310684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:26:02.802903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_22_3582.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_31_3732.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_34_2629.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_37_2654.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_40_3724.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_52_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_22_3582.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_31_3732.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_34_2629.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_37_2654.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_40_3724.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_52_3565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329183383","1329183367","1329183361","1329183381","1329183390","1329183366"],"photo_ids_order":["1329183361","1329183366","1329183367","1329183381","1329183383","1329183390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/877ca9af6d2f3392bb9e2ae40e54660e.jpg","text":"TemporaryFile(/tmp/multipartBody8785689044958839671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962024687,"filename":"image_11012025_10_09_40_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b9a155614397584029aea9c97c966662.jpg","text":"TemporaryFile(/tmp/multipartBody1206320491642106954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962024687,"filename":"image_11012025_10_09_34_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf024abbff92357faa5b2c1afbb1d195.jpg","text":"TemporaryFile(/tmp/multipartBody2300071057951686313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962024687,"filename":"image_11012025_10_09_22_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff1e244eafb9916df6183c8763874c11.jpg","text":"TemporaryFile(/tmp/multipartBody6529077444733909567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962024687,"filename":"image_11012025_10_09_37_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9b50e1aeb4c1d2893c410d2cba2e6cc7.jpg","text":"TemporaryFile(/tmp/multipartBody5135891296869843882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962024687,"filename":"image_11012025_10_09_52_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a5b406e2041fb1745d219cfc12c5e1a.jpg","text":"TemporaryFile(/tmp/multipartBody8340611186992048103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962024687,"filename":"image_11012025_10_09_31_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329183367","file1":"1329183366","file0":"1329183361","file4":"1329183383","file5":"1329183390","file3":"1329183381"},"map_files_photo_id_array":[{"photo_id":"1329183390","filename":"file5"},{"photo_id":"1329183367","filename":"file2"},{"photo_id":"1329183383","filename":"file4"},{"photo_id":"1329183366","filename":"file1"},{"photo_id":"1329183361","filename":"file0"},{"photo_id":"1329183381","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329183383":["hashtag1","hashtag2"]},{"1329183367":["hashtag1","hashtag2"]},{"1329183361":["hashtag1","hashtag2"]},{"1329183381":["hashtag1","hashtag2"]},{"1329183390":["hashtag1","hashtag2"]},{"1329183366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329183383, 1329183367, 1329183361, 1329183381, 1329183390, 1329183366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.516247034072876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:26:42.291251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_59_2705.jpg', '/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_2805.jpg', '/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_05_3676.jpg', '/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_08_2659.jpg', '/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_17_3636.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_08_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/53/image_13012025_07_53_59_2705.jpg
/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_02_2805.jpg
/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_05_3676.jpg
/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_08_2659.jpg
/home/pi/Desktop/images/13012025/07/54/image_13012025_07_54_17_3636.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_08_3632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329183434","1329183443","1329183437","1329183478","1329183439","1329183423"],"photo_ids_order":["1329183423","1329183434","1329183437","1329183439","1329183443","1329183478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e21e139f60b30d09cc970fcb510e4b7.jpg","text":"TemporaryFile(/tmp/multipartBody2349422772530078842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962063508,"filename":"image_13012025_07_54_02_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00c57166fc942c58f213a7014207b8da.jpg","text":"TemporaryFile(/tmp/multipartBody6266362130724287187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962063508,"filename":"image_13012025_07_54_17_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c660c25c3effa6acdf7a813a33c94273.jpg","text":"TemporaryFile(/tmp/multipartBody9040644733146239944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962063508,"filename":"image_13012025_07_54_05_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be03e79e70786a121da0ec0c02ec875f.jpg","text":"TemporaryFile(/tmp/multipartBody4179508595867297535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962063508,"filename":"image_13012025_07_55_08_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/809628ca78d11ed663d4df847193f76e.jpg","text":"TemporaryFile(/tmp/multipartBody6786812550802198667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962063508,"filename":"image_13012025_07_54_08_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1eb79fe3200c9169b9b6d2b5d6cef6da.jpg","text":"TemporaryFile(/tmp/multipartBody6860282512088778423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962063508,"filename":"image_13012025_07_53_59_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329183437","file1":"1329183434","file0":"1329183423","file4":"1329183443","file5":"1329183478","file3":"1329183439"},"map_files_photo_id_array":[{"photo_id":"1329183478","filename":"file5"},{"photo_id":"1329183437","filename":"file2"},{"photo_id":"1329183443","filename":"file4"},{"photo_id":"1329183434","filename":"file1"},{"photo_id":"1329183423","filename":"file0"},{"photo_id":"1329183439","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329183434":["hashtag1","hashtag2"]},{"1329183443":["hashtag1","hashtag2"]},{"1329183437":["hashtag1","hashtag2"]},{"1329183478":["hashtag1","hashtag2"]},{"1329183439":["hashtag1","hashtag2"]},{"1329183423":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329183434, 1329183443, 1329183437, 1329183478, 1329183439, 1329183423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00627779960632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:27:22.246029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_55_2674.jpg', '/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_58_2766.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_14_2632.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_17_3674.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_20_2817.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_23_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_55_2674.jpg
/home/pi/Desktop/images/11012025/10/09/image_11012025_10_09_58_2766.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_14_2632.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_17_3674.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_20_2817.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_23_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329183515","1329183496","1329183487","1329183492","1329183505","1329183522"],"photo_ids_order":["1329183487","1329183492","1329183496","1329183505","1329183515","1329183522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1bd2b1d60c13cfcc5b6795f771ced143.jpg","text":"TemporaryFile(/tmp/multipartBody1633640700763025514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962104683,"filename":"image_11012025_10_10_20_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52f14e92fa052ac27f08a9dfb21a31d3.jpg","text":"TemporaryFile(/tmp/multipartBody4813759163879905444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962104683,"filename":"image_11012025_10_10_14_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92f112073af538bed0ceb2f7310baa67.jpg","text":"TemporaryFile(/tmp/multipartBody5545102238222283560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962104683,"filename":"image_11012025_10_09_55_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/beba3afb5a11eafb8d0d4827e1fe2c58.jpg","text":"TemporaryFile(/tmp/multipartBody7856226816938653606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962104683,"filename":"image_11012025_10_09_58_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3e87a396b65967be38b288f9afec0dc4.jpg","text":"TemporaryFile(/tmp/multipartBody4239333177919956156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962104683,"filename":"image_11012025_10_10_17_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d260995a1ded999cce8b0d8644aa297.jpg","text":"TemporaryFile(/tmp/multipartBody5152273215139906674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962104683,"filename":"image_11012025_10_10_23_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329183496","file1":"1329183492","file0":"1329183487","file4":"1329183515","file5":"1329183522","file3":"1329183505"},"map_files_photo_id_array":[{"photo_id":"1329183522","filename":"file5"},{"photo_id":"1329183496","filename":"file2"},{"photo_id":"1329183515","filename":"file4"},{"photo_id":"1329183492","filename":"file1"},{"photo_id":"1329183487","filename":"file0"},{"photo_id":"1329183505","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329183515":["hashtag1","hashtag2"]},{"1329183496":["hashtag1","hashtag2"]},{"1329183487":["hashtag1","hashtag2"]},{"1329183492":["hashtag1","hashtag2"]},{"1329183505":["hashtag1","hashtag2"]},{"1329183522":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329183515, 1329183496, 1329183487, 1329183492, 1329183505, 1329183522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.192853689193726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:28:21.952907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_25_2579.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_29_3598.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_32_2661.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_38_2576.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_41_2715.jpg', '/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_44_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_25_2579.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_29_3598.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_32_2661.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_38_2576.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_41_2715.jpg
/home/pi/Desktop/images/11012025/10/10/image_11012025_10_10_44_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329183551","1329183557","1329183538","1329183561","1329183540","1329183546"],"photo_ids_order":["1329183538","1329183540","1329183546","1329183551","1329183557","1329183561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bfcd300d1127588faa511a9f801bfb2d.jpg","text":"TemporaryFile(/tmp/multipartBody956790405357714122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962164443,"filename":"image_11012025_10_10_38_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dcec43e3222391abef4518e27d5a0654.jpg","text":"TemporaryFile(/tmp/multipartBody2825930025398747890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962164443,"filename":"image_11012025_10_10_41_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea751d6ec5438b7323f9c43f831cbdaa.jpg","text":"TemporaryFile(/tmp/multipartBody2979649585556701285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962164443,"filename":"image_11012025_10_10_25_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/50cc2509b9e9d7debc158595695733dd.jpg","text":"TemporaryFile(/tmp/multipartBody5178561243615503454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962164443,"filename":"image_11012025_10_10_44_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/167a76253f3569cd067d49bbfe620e71.jpg","text":"TemporaryFile(/tmp/multipartBody7691878266889781342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962164443,"filename":"image_11012025_10_10_29_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f0633504f5cbe722d137ee8b3391a60.jpg","text":"TemporaryFile(/tmp/multipartBody7767783833368760303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962164443,"filename":"image_11012025_10_10_32_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329183546","file1":"1329183540","file0":"1329183538","file4":"1329183557","file5":"1329183561","file3":"1329183551"},"map_files_photo_id_array":[{"photo_id":"1329183561","filename":"file5"},{"photo_id":"1329183546","filename":"file2"},{"photo_id":"1329183557","filename":"file4"},{"photo_id":"1329183540","filename":"file1"},{"photo_id":"1329183538","filename":"file0"},{"photo_id":"1329183551","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329183551":["hashtag1","hashtag2"]},{"1329183557":["hashtag1","hashtag2"]},{"1329183538":["hashtag1","hashtag2"]},{"1329183561":["hashtag1","hashtag2"]},{"1329183540":["hashtag1","hashtag2"]},{"1329183546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329183551, 1329183557, 1329183538, 1329183561, 1329183540, 1329183546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17540884017944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:29:03.266926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_46_3561.jpg', '/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_07_2593.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_10_2554.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_19_2663.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_34_3621.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_43_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/15/image_11012025_10_15_46_3561.jpg
/home/pi/Desktop/images/11012025/10/17/image_11012025_10_17_07_2593.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_10_2554.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_19_2663.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_34_3621.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_43_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329183583","1329183568","1329183622","1329183601","1329183582","1329183630"],"photo_ids_order":["1329183568","1329183582","1329183583","1329183601","1329183622","1329183630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/863ff5ee8f62e075c2eeca5c967f9f84.jpg","text":"TemporaryFile(/tmp/multipartBody8454333276902867083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962205189,"filename":"image_11012025_10_18_10_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff95a58a5c63df30dee582ed3f102cc8.jpg","text":"TemporaryFile(/tmp/multipartBody8506840248129843406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962205189,"filename":"image_11012025_10_15_46_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/53a5c1fb4e8ef793a35cd58432a49105.jpg","text":"TemporaryFile(/tmp/multipartBody2145764288132313815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962205189,"filename":"image_11012025_10_18_34_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/000c1fa72348ab13773665c961fa4e68.jpg","text":"TemporaryFile(/tmp/multipartBody8725803792961888051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962205189,"filename":"image_11012025_10_18_19_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6144216cf87a7b7de51009b659106579.jpg","text":"TemporaryFile(/tmp/multipartBody7961754006630586160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962205189,"filename":"image_11012025_10_17_07_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4248816257255e727d6d337615ef1c7.jpg","text":"TemporaryFile(/tmp/multipartBody1108801380415073538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962205189,"filename":"image_11012025_10_18_43_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329183583","file1":"1329183582","file0":"1329183568","file4":"1329183622","file5":"1329183630","file3":"1329183601"},"map_files_photo_id_array":[{"photo_id":"1329183630","filename":"file5"},{"photo_id":"1329183583","filename":"file2"},{"photo_id":"1329183622","filename":"file4"},{"photo_id":"1329183582","filename":"file1"},{"photo_id":"1329183568","filename":"file0"},{"photo_id":"1329183601","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329183583":["hashtag1","hashtag2"]},{"1329183568":["hashtag1","hashtag2"]},{"1329183622":["hashtag1","hashtag2"]},{"1329183601":["hashtag1","hashtag2"]},{"1329183582":["hashtag1","hashtag2"]},{"1329183630":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329183583, 1329183568, 1329183622, 1329183601, 1329183582, 1329183630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73494911193848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:30:03.174416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/18/22/image_15012025_18_22_09_3782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/18/22/image_15012025_18_22_09_3782.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329183724"],"photo_id":"1329183724","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ab148fe08e08efb803bbc602342a4bf.jpg","text":"TemporaryFile(/tmp/multipartBody3140426292130525976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962263745,"filename":"image_15012025_18_22_09_3782.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329183724"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329183724"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.94867205619812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:30:22.577601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_46_2708.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_49_2725.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_51_2699.jpg', '/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_58_2627.jpg', '/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_16_2589.jpg', '/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_28_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_46_2708.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_49_2725.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_51_2699.jpg
/home/pi/Desktop/images/11012025/10/18/image_11012025_10_18_58_2627.jpg
/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_16_2589.jpg
/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_28_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329184247","1329184070","1329184096","1329184144","1329184225","1329183999"],"photo_ids_order":["1329183999","1329184070","1329184096","1329184144","1329184225","1329184247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b75d30424e81454b3ccf1c57494626e6.jpg","text":"TemporaryFile(/tmp/multipartBody7183743414220359771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962285173,"filename":"image_11012025_10_19_28_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f32e1e4db21bfa9cccfc71503135b031.jpg","text":"TemporaryFile(/tmp/multipartBody919185409342253345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962285173,"filename":"image_11012025_10_18_49_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f9c7404587b4c865c03f4818204a9b51.jpg","text":"TemporaryFile(/tmp/multipartBody2297459751792486885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962285173,"filename":"image_11012025_10_18_51_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10f65f57ae3099651f4b4a6f884059b9.jpg","text":"TemporaryFile(/tmp/multipartBody5912448624992823922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962285173,"filename":"image_11012025_10_18_58_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/447de97a9f993df6943e0d0e81645093.jpg","text":"TemporaryFile(/tmp/multipartBody8373272252038152176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962285173,"filename":"image_11012025_10_19_16_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8812c217811c55c602248061ab7b4983.jpg","text":"TemporaryFile(/tmp/multipartBody4508102685839387942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962285173,"filename":"image_11012025_10_18_46_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329184096","file1":"1329184070","file0":"1329183999","file4":"1329184225","file5":"1329184247","file3":"1329184144"},"map_files_photo_id_array":[{"photo_id":"1329184247","filename":"file5"},{"photo_id":"1329184096","filename":"file2"},{"photo_id":"1329184225","filename":"file4"},{"photo_id":"1329184070","filename":"file1"},{"photo_id":"1329183999","filename":"file0"},{"photo_id":"1329184144","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329184247":["hashtag1","hashtag2"]},{"1329184070":["hashtag1","hashtag2"]},{"1329184096":["hashtag1","hashtag2"]},{"1329184144":["hashtag1","hashtag2"]},{"1329184225":["hashtag1","hashtag2"]},{"1329183999":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329184247, 1329184070, 1329184096, 1329184144, 1329184225, 1329183999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.16345238685608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:31:22.101891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_49_2556.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_13_2542.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_35_3763.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_37_2777.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_40_2626.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_43_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/19/image_11012025_10_19_49_2556.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_13_2542.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_35_3763.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_37_2777.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_40_2626.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_43_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329184675","1329184555","1329184624","1329184612","1329184563","1329184647"],"photo_ids_order":["1329184555","1329184563","1329184612","1329184624","1329184647","1329184675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/91de1aeeffa3ad4f857a69aaabd11b49.jpg","text":"TemporaryFile(/tmp/multipartBody6113740217942926448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962344556,"filename":"image_11012025_10_20_43_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b806119af3458043c0e577388d6b392a.jpg","text":"TemporaryFile(/tmp/multipartBody7764178303658666128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962344556,"filename":"image_11012025_10_19_49_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc6bdf2735c9d1560e209d258ca78e2f.jpg","text":"TemporaryFile(/tmp/multipartBody8482610651494978188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962344556,"filename":"image_11012025_10_20_37_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a9e95c6c428675144d66f76505f3490e.jpg","text":"TemporaryFile(/tmp/multipartBody191805471603677970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962344556,"filename":"image_11012025_10_20_35_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/442367442d4223e2b2931907620a68b0.jpg","text":"TemporaryFile(/tmp/multipartBody3777538860369129415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962344556,"filename":"image_11012025_10_20_13_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7963ecf0574a9d0fab61c61d1a26e14d.jpg","text":"TemporaryFile(/tmp/multipartBody4115583650076748287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962344556,"filename":"image_11012025_10_20_40_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329184612","file1":"1329184563","file0":"1329184555","file4":"1329184647","file5":"1329184675","file3":"1329184624"},"map_files_photo_id_array":[{"photo_id":"1329184675","filename":"file5"},{"photo_id":"1329184612","filename":"file2"},{"photo_id":"1329184647","filename":"file4"},{"photo_id":"1329184563","filename":"file1"},{"photo_id":"1329184555","filename":"file0"},{"photo_id":"1329184624","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329184675":["hashtag1","hashtag2"]},{"1329184555":["hashtag1","hashtag2"]},{"1329184624":["hashtag1","hashtag2"]},{"1329184612":["hashtag1","hashtag2"]},{"1329184563":["hashtag1","hashtag2"]},{"1329184647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329184675, 1329184555, 1329184624, 1329184612, 1329184563, 1329184647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.07316279411316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:32:22.471476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_47_3760.jpg', '/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_49_2601.jpg', '/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_34_3662.jpg', '/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_37_2675.jpg', '/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_40_2832.jpg', '/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_46_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_47_3760.jpg
/home/pi/Desktop/images/11012025/10/20/image_11012025_10_20_49_2601.jpg
/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_34_3662.jpg
/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_37_2675.jpg
/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_40_2832.jpg
/home/pi/Desktop/images/11012025/10/21/image_11012025_10_21_46_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329184958","1329184943","1329184986","1329184989","1329184982","1329184991"],"photo_ids_order":["1329184943","1329184958","1329184982","1329184986","1329184989","1329184991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9ee20508a7cc5be75ff2b57b47db19ca.jpg","text":"TemporaryFile(/tmp/multipartBody1600905882215928077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962404889,"filename":"image_11012025_10_20_49_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/afdebeab34767e036721321256e2e32a.jpg","text":"TemporaryFile(/tmp/multipartBody3837802675705148417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962404889,"filename":"image_11012025_10_20_47_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b087684bf948c455eab24400d63eda7a.jpg","text":"TemporaryFile(/tmp/multipartBody9076787056769640899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962404889,"filename":"image_11012025_10_21_37_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf9d3a7763bbab820bebbaff133819b3.jpg","text":"TemporaryFile(/tmp/multipartBody5126516060243983409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962404889,"filename":"image_11012025_10_21_40_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/420986d3a19783387915539f8c220fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8060494092186868237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962404889,"filename":"image_11012025_10_21_34_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0d4092db467d45587b830e610218ca0.jpg","text":"TemporaryFile(/tmp/multipartBody4847021913212032544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962404889,"filename":"image_11012025_10_21_46_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329184982","file1":"1329184958","file0":"1329184943","file4":"1329184989","file5":"1329184991","file3":"1329184986"},"map_files_photo_id_array":[{"photo_id":"1329184991","filename":"file5"},{"photo_id":"1329184982","filename":"file2"},{"photo_id":"1329184989","filename":"file4"},{"photo_id":"1329184958","filename":"file1"},{"photo_id":"1329184943","filename":"file0"},{"photo_id":"1329184986","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329184958":["hashtag1","hashtag2"]},{"1329184943":["hashtag1","hashtag2"]},{"1329184986":["hashtag1","hashtag2"]},{"1329184989":["hashtag1","hashtag2"]},{"1329184982":["hashtag1","hashtag2"]},{"1329184991":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329184958, 1329184943, 1329184986, 1329184989, 1329184982, 1329184991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.83514475822449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:33:21.940389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_52_2655.jpg', '/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_31_2614.jpg', '/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_13_2589.jpg', '/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_19_2641.jpg', '/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_37_2725.jpg', '/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_22_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/28/image_11012025_10_28_52_2655.jpg
/home/pi/Desktop/images/11012025/10/31/image_11012025_10_31_31_2614.jpg
/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_13_2589.jpg
/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_19_2641.jpg
/home/pi/Desktop/images/11012025/10/32/image_11012025_10_32_37_2725.jpg
/home/pi/Desktop/images/11012025/10/36/image_11012025_10_36_22_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329185203","1329185163","1329185211","1329185195","1329185093","1329185207"],"photo_ids_order":["1329185093","1329185163","1329185195","1329185203","1329185207","1329185211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c06af5d69af792471fe60aa9fc5aa24.jpg","text":"TemporaryFile(/tmp/multipartBody5092775316884217690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962464331,"filename":"image_11012025_10_32_19_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99d282b5b74bf6f3b67ac4f06a66823e.jpg","text":"TemporaryFile(/tmp/multipartBody8243983664607003082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962464331,"filename":"image_11012025_10_31_31_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3f6f854be89691168c6ac178b35bc017.jpg","text":"TemporaryFile(/tmp/multipartBody2980604584121482773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962464331,"filename":"image_11012025_10_36_22_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8fb48b216156aa09a33aa2ac85006be5.jpg","text":"TemporaryFile(/tmp/multipartBody4318273753976395576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962464331,"filename":"image_11012025_10_32_13_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7f91e589b7e0ed07cdb7e12585e7d6bb.jpg","text":"TemporaryFile(/tmp/multipartBody4336073411647404875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962464331,"filename":"image_11012025_10_28_52_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9538a508c583143dc60ca2ce17938f00.jpg","text":"TemporaryFile(/tmp/multipartBody4465455378287218276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962464331,"filename":"image_11012025_10_32_37_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329185195","file1":"1329185163","file0":"1329185093","file4":"1329185207","file5":"1329185211","file3":"1329185203"},"map_files_photo_id_array":[{"photo_id":"1329185211","filename":"file5"},{"photo_id":"1329185195","filename":"file2"},{"photo_id":"1329185207","filename":"file4"},{"photo_id":"1329185163","filename":"file1"},{"photo_id":"1329185093","filename":"file0"},{"photo_id":"1329185203","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329185203":["hashtag1","hashtag2"]},{"1329185163":["hashtag1","hashtag2"]},{"1329185211":["hashtag1","hashtag2"]},{"1329185195":["hashtag1","hashtag2"]},{"1329185093":["hashtag1","hashtag2"]},{"1329185207":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329185203, 1329185163, 1329185211, 1329185195, 1329185093, 1329185207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.321067094802856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:34:03.075794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_07_3011.jpg', '/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_26_3719.jpg', '/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_28_2596.jpg', '/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_43_2742.jpg', '/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_47_3668.jpg', '/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_04_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/46/image_11012025_10_46_07_3011.jpg
/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_26_3719.jpg
/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_28_2596.jpg
/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_43_2742.jpg
/home/pi/Desktop/images/11012025/10/47/image_11012025_10_47_47_3668.jpg
/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_04_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329185219","1329185235","1329185223","1329185226","1329185285","1329185228"],"photo_ids_order":["1329185219","1329185223","1329185226","1329185228","1329185235","1329185285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f1acf2b65f153775caa594dba5975bb.jpg","text":"TemporaryFile(/tmp/multipartBody5683269798417323144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962504899,"filename":"image_11012025_10_46_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d45b8f46e7cadd753d6266a7c12b954.jpg","text":"TemporaryFile(/tmp/multipartBody8767368941097203644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962504899,"filename":"image_11012025_10_47_47_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e166cd7f0ab60ccfbfa505b04f0439f.jpg","text":"TemporaryFile(/tmp/multipartBody3387458033698770064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962504899,"filename":"image_11012025_10_47_26_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7bbcc50e06bd31b5bbaf715fcc193dbb.jpg","text":"TemporaryFile(/tmp/multipartBody2308710080151309232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962504899,"filename":"image_11012025_10_47_28_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2bc19e6b60bec103be0a5bc9abfdc53a.jpg","text":"TemporaryFile(/tmp/multipartBody9021962117251362965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962504899,"filename":"image_11012025_10_48_04_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8cdf954dda30a621b4f23190e44e9474.jpg","text":"TemporaryFile(/tmp/multipartBody7960018439472886469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962504899,"filename":"image_11012025_10_47_43_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329185226","file1":"1329185223","file0":"1329185219","file4":"1329185235","file5":"1329185285","file3":"1329185228"},"map_files_photo_id_array":[{"photo_id":"1329185285","filename":"file5"},{"photo_id":"1329185226","filename":"file2"},{"photo_id":"1329185235","filename":"file4"},{"photo_id":"1329185223","filename":"file1"},{"photo_id":"1329185219","filename":"file0"},{"photo_id":"1329185228","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329185219":["hashtag1","hashtag2"]},{"1329185235":["hashtag1","hashtag2"]},{"1329185223":["hashtag1","hashtag2"]},{"1329185226":["hashtag1","hashtag2"]},{"1329185285":["hashtag1","hashtag2"]},{"1329185228":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329185219, 1329185235, 1329185223, 1329185226, 1329185285, 1329185228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90743446350098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:34:42.232825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_14_2684.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_20_3734.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_23_2696.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_29_3651.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_35_3621.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_41_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_14_2684.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_20_3734.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_23_2696.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_29_3651.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_35_3621.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_41_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329185528","1329185506","1329185532","1329185523","1329185517","1329185534"],"photo_ids_order":["1329185506","1329185517","1329185523","1329185528","1329185532","1329185534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8661087da9dba52411420473c6ece51.jpg","text":"TemporaryFile(/tmp/multipartBody1053326246573840230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962543439,"filename":"image_13012025_07_55_29_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8468a9c5958f7070e146fd7c047fc0f5.jpg","text":"TemporaryFile(/tmp/multipartBody7007395480312810306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962543439,"filename":"image_13012025_07_55_14_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/287c9faedc12dc58a5b4da926f883757.jpg","text":"TemporaryFile(/tmp/multipartBody212611095003400091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962543439,"filename":"image_13012025_07_55_35_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92fc981bd90ffe2b5fe574081ae23706.jpg","text":"TemporaryFile(/tmp/multipartBody8352076667103319427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962543439,"filename":"image_13012025_07_55_23_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8c90707b71e9ab13cae4707c530d7a77.jpg","text":"TemporaryFile(/tmp/multipartBody1905927604961774822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962543439,"filename":"image_13012025_07_55_20_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dee556957b9e2229315061c189d98d2c.jpg","text":"TemporaryFile(/tmp/multipartBody15707193737281395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962543439,"filename":"image_13012025_07_55_41_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329185523","file1":"1329185517","file0":"1329185506","file4":"1329185532","file5":"1329185534","file3":"1329185528"},"map_files_photo_id_array":[{"photo_id":"1329185534","filename":"file5"},{"photo_id":"1329185523","filename":"file2"},{"photo_id":"1329185532","filename":"file4"},{"photo_id":"1329185517","filename":"file1"},{"photo_id":"1329185506","filename":"file0"},{"photo_id":"1329185528","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329185528":["hashtag1","hashtag2"]},{"1329185506":["hashtag1","hashtag2"]},{"1329185532":["hashtag1","hashtag2"]},{"1329185523":["hashtag1","hashtag2"]},{"1329185517":["hashtag1","hashtag2"]},{"1329185534":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329185528, 1329185506, 1329185532, 1329185523, 1329185517, 1329185534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.656439542770386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:35:22.649118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_32_3789.jpg', '/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_16_2632.jpg', '/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_23_3649.jpg', '/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_49_2651.jpg', '/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_16_2536.jpg', '/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_52_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/48/image_11012025_10_48_32_3789.jpg
/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_16_2632.jpg
/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_23_3649.jpg
/home/pi/Desktop/images/11012025/10/49/image_11012025_10_49_49_2651.jpg
/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_16_2536.jpg
/home/pi/Desktop/images/11012025/10/50/image_11012025_10_50_52_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329185581","1329185602","1329185595","1329185559","1329185553","1329185588"],"photo_ids_order":["1329185553","1329185559","1329185581","1329185588","1329185595","1329185602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dbb2358c1192142f88d2acff799bc46c.jpg","text":"TemporaryFile(/tmp/multipartBody4057340709496871110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962585354,"filename":"image_11012025_10_49_23_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6cfdf4cf19382fd2cfebe1c6caf0c55f.jpg","text":"TemporaryFile(/tmp/multipartBody3945034064037597408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962585354,"filename":"image_11012025_10_50_52_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f8b5b24afc72c648ec7d413d0f530acb.jpg","text":"TemporaryFile(/tmp/multipartBody5515919508157006705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962585354,"filename":"image_11012025_10_50_16_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e2405262d7ac1193b34a1149968fafb.jpg","text":"TemporaryFile(/tmp/multipartBody7266521662714275586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962585354,"filename":"image_11012025_10_49_16_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/604a9f90bef938c298bd7134f06efa0c.jpg","text":"TemporaryFile(/tmp/multipartBody2941513243522524952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962585354,"filename":"image_11012025_10_48_32_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44b1f36a1eabc047b706e466e7527372.jpg","text":"TemporaryFile(/tmp/multipartBody9003607264893897698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962585354,"filename":"image_11012025_10_49_49_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329185581","file1":"1329185559","file0":"1329185553","file4":"1329185595","file5":"1329185602","file3":"1329185588"},"map_files_photo_id_array":[{"photo_id":"1329185602","filename":"file5"},{"photo_id":"1329185581","filename":"file2"},{"photo_id":"1329185595","filename":"file4"},{"photo_id":"1329185559","filename":"file1"},{"photo_id":"1329185553","filename":"file0"},{"photo_id":"1329185588","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329185581":["hashtag1","hashtag2"]},{"1329185602":["hashtag1","hashtag2"]},{"1329185595":["hashtag1","hashtag2"]},{"1329185559":["hashtag1","hashtag2"]},{"1329185553":["hashtag1","hashtag2"]},{"1329185588":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329185581, 1329185602, 1329185595, 1329185559, 1329185553, 1329185588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25168013572693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:36:22.513579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_46_2861.jpg', '/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_40_2583.jpg', '/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_58_2683.jpg', '/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_28_3638.jpg', '/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_29_3658.jpg', '/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_32_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/10/51/image_11012025_10_51_46_2861.jpg
/home/pi/Desktop/images/11012025/10/52/image_11012025_10_52_40_2583.jpg
/home/pi/Desktop/images/11012025/10/53/image_11012025_10_53_58_2683.jpg
/home/pi/Desktop/images/11012025/10/54/image_11012025_10_54_28_3638.jpg
/home/pi/Desktop/images/11012025/10/55/image_11012025_10_55_29_3658.jpg
/home/pi/Desktop/images/11012025/10/59/image_11012025_10_59_32_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329185773","1329185809","1329185868","1329185844","1329185768","1329185813"],"photo_ids_order":["1329185768","1329185773","1329185809","1329185813","1329185844","1329185868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/036d5f8c877ad7766d253b8bb6bbf5d8.jpg","text":"TemporaryFile(/tmp/multipartBody43163129963663368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962644963,"filename":"image_11012025_10_52_40_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7ac47e52d81ba6193821e708de05376.jpg","text":"TemporaryFile(/tmp/multipartBody8526870719484743478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962644963,"filename":"image_11012025_10_53_58_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/739dcef759446aa68fc588f1f96ba100.jpg","text":"TemporaryFile(/tmp/multipartBody8405547771939292704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962644963,"filename":"image_11012025_10_59_32_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6cff4b95b7d2c0817b4e3cadb88d0acc.jpg","text":"TemporaryFile(/tmp/multipartBody8315476261629611520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962644963,"filename":"image_11012025_10_55_29_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7e25351c35b14491236d869a1c2ac164.jpg","text":"TemporaryFile(/tmp/multipartBody4844607381476935571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962644963,"filename":"image_11012025_10_51_46_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f626bcc81b017f0b22259bc88c7fac4.jpg","text":"TemporaryFile(/tmp/multipartBody5828278520279903408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962644963,"filename":"image_11012025_10_54_28_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329185809","file1":"1329185773","file0":"1329185768","file4":"1329185844","file5":"1329185868","file3":"1329185813"},"map_files_photo_id_array":[{"photo_id":"1329185868","filename":"file5"},{"photo_id":"1329185809","filename":"file2"},{"photo_id":"1329185844","filename":"file4"},{"photo_id":"1329185773","filename":"file1"},{"photo_id":"1329185768","filename":"file0"},{"photo_id":"1329185813","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329185773":["hashtag1","hashtag2"]},{"1329185809":["hashtag1","hashtag2"]},{"1329185868":["hashtag1","hashtag2"]},{"1329185844":["hashtag1","hashtag2"]},{"1329185768":["hashtag1","hashtag2"]},{"1329185813":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329185773, 1329185809, 1329185868, 1329185844, 1329185768, 1329185813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91131639480591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:37:03.528878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_40_2659.jpg', '/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_01_2703.jpg', '/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_25_2683.jpg', '/home/pi/Desktop/images/11012025/11/07/image_11012025_11_07_57_2549.jpg', '/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_10_2575.jpg', '/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_19_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/11/00/image_11012025_11_00_40_2659.jpg
/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_01_2703.jpg
/home/pi/Desktop/images/11012025/11/01/image_11012025_11_01_25_2683.jpg
/home/pi/Desktop/images/11012025/11/07/image_11012025_11_07_57_2549.jpg
/home/pi/Desktop/images/11012025/11/12/image_11012025_11_12_10_2575.jpg
/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_19_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329185884","1329185892","1329185877","1329185894","1329185897","1329185890"],"photo_ids_order":["1329185877","1329185884","1329185890","1329185892","1329185894","1329185897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b878883586b47e1406d0117754886284.jpg","text":"TemporaryFile(/tmp/multipartBody4080674306619753717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962685398,"filename":"image_11012025_11_01_01_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5ef9289b7229d32b87f331265c135c3.jpg","text":"TemporaryFile(/tmp/multipartBody5203575282755987127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962685398,"filename":"image_11012025_11_07_57_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/27caca8660e7b5c264e5869b18e50fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1962386407240601381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962685398,"filename":"image_11012025_11_00_40_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/094c4dba944719b6fd90fad4ed72861c.jpg","text":"TemporaryFile(/tmp/multipartBody6747219020003567613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962685398,"filename":"image_11012025_11_12_10_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffdcb3de00341b45a63326220771f2a3.jpg","text":"TemporaryFile(/tmp/multipartBody3980022574262956915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962685398,"filename":"image_11012025_11_14_19_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5e1ddf0a38bafff716d01e4367616ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5725783684949408817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962685398,"filename":"image_11012025_11_01_25_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329185890","file1":"1329185884","file0":"1329185877","file4":"1329185894","file5":"1329185897","file3":"1329185892"},"map_files_photo_id_array":[{"photo_id":"1329185897","filename":"file5"},{"photo_id":"1329185890","filename":"file2"},{"photo_id":"1329185894","filename":"file4"},{"photo_id":"1329185884","filename":"file1"},{"photo_id":"1329185877","filename":"file0"},{"photo_id":"1329185892","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329185884":["hashtag1","hashtag2"]},{"1329185892":["hashtag1","hashtag2"]},{"1329185877":["hashtag1","hashtag2"]},{"1329185894":["hashtag1","hashtag2"]},{"1329185897":["hashtag1","hashtag2"]},{"1329185890":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329185884, 1329185892, 1329185877, 1329185894, 1329185897, 1329185890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86578035354614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:37:42.794884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_43_2659.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_47_3572.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_50_2692.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_52_2681.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_56_3606.jpg', '/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_58_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_43_2659.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_47_3572.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_50_2692.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_52_2681.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_56_3606.jpg
/home/pi/Desktop/images/13012025/07/55/image_13012025_07_55_58_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329185918","1329185905","1329185922","1329185916","1329185913","1329185909"],"photo_ids_order":["1329185905","1329185909","1329185913","1329185916","1329185918","1329185922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/812380ffb601ea30f37d3e6f1343f91c.jpg","text":"TemporaryFile(/tmp/multipartBody5240358484710523961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962723969,"filename":"image_13012025_07_55_56_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3904ac72f0be72ffb4e65781b6a0435.jpg","text":"TemporaryFile(/tmp/multipartBody6965626139919473899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962723969,"filename":"image_13012025_07_55_43_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8f5ef35104114971bf483c3fe0211a5.jpg","text":"TemporaryFile(/tmp/multipartBody7831785934268992213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962723969,"filename":"image_13012025_07_55_58_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d58a4fc16f33d454fb2272ee00c16772.jpg","text":"TemporaryFile(/tmp/multipartBody5095967178233123524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962723969,"filename":"image_13012025_07_55_52_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/37fe401855f6c52ae6026d7abff47eca.jpg","text":"TemporaryFile(/tmp/multipartBody2070110603736378124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962723969,"filename":"image_13012025_07_55_50_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/102df619112564ce07f43fbf807c5e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4972228344835050065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962723969,"filename":"image_13012025_07_55_47_3572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329185913","file1":"1329185909","file0":"1329185905","file4":"1329185918","file5":"1329185922","file3":"1329185916"},"map_files_photo_id_array":[{"photo_id":"1329185922","filename":"file5"},{"photo_id":"1329185913","filename":"file2"},{"photo_id":"1329185918","filename":"file4"},{"photo_id":"1329185909","filename":"file1"},{"photo_id":"1329185905","filename":"file0"},{"photo_id":"1329185916","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329185918":["hashtag1","hashtag2"]},{"1329185905":["hashtag1","hashtag2"]},{"1329185922":["hashtag1","hashtag2"]},{"1329185916":["hashtag1","hashtag2"]},{"1329185913":["hashtag1","hashtag2"]},{"1329185909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329185918, 1329185905, 1329185922, 1329185916, 1329185913, 1329185909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03127431869507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:38:22.882684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_25_2638.jpg', '/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_10_2766.jpg', '/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_23_3820.jpg', '/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_04_2644.jpg', '/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_07_2813.jpg', '/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_46_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/11/14/image_11012025_11_14_25_2638.jpg
/home/pi/Desktop/images/11012025/11/17/image_11012025_11_17_10_2766.jpg
/home/pi/Desktop/images/11012025/11/19/image_11012025_11_19_23_3820.jpg
/home/pi/Desktop/images/11012025/11/21/image_11012025_11_21_04_2644.jpg
/home/pi/Desktop/images/11012025/11/22/image_11012025_11_22_07_2813.jpg
/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_46_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329185935","1329185938","1329185932","1329185952","1329185949","1329185930"],"photo_ids_order":["1329185930","1329185932","1329185935","1329185938","1329185949","1329185952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a7d7edd7461faf9329035fdaaa1fe710.jpg","text":"TemporaryFile(/tmp/multipartBody8725713321888575115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962765360,"filename":"image_11012025_11_19_23_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4793492ed253a71719a3cb80bead432e.jpg","text":"TemporaryFile(/tmp/multipartBody3646089455518253926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962765360,"filename":"image_11012025_11_21_04_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4aa967d7301115f029ae0b7d441e6452.jpg","text":"TemporaryFile(/tmp/multipartBody7601295854531352972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962765360,"filename":"image_11012025_11_17_10_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d20b8f810d841ba136a8e4753026ffad.jpg","text":"TemporaryFile(/tmp/multipartBody5518103121762186273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962765360,"filename":"image_11012025_11_26_46_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f19e3ae4924f1f3f673af0e279924ce1.jpg","text":"TemporaryFile(/tmp/multipartBody8296464909488495592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962765360,"filename":"image_11012025_11_22_07_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/153733a7c8fdb68e9387fee73dfa2b38.jpg","text":"TemporaryFile(/tmp/multipartBody1150019627640558706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962765360,"filename":"image_11012025_11_14_25_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329185935","file1":"1329185932","file0":"1329185930","file4":"1329185949","file5":"1329185952","file3":"1329185938"},"map_files_photo_id_array":[{"photo_id":"1329185952","filename":"file5"},{"photo_id":"1329185935","filename":"file2"},{"photo_id":"1329185949","filename":"file4"},{"photo_id":"1329185932","filename":"file1"},{"photo_id":"1329185930","filename":"file0"},{"photo_id":"1329185938","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329185935":["hashtag1","hashtag2"]},{"1329185938":["hashtag1","hashtag2"]},{"1329185932":["hashtag1","hashtag2"]},{"1329185952":["hashtag1","hashtag2"]},{"1329185949":["hashtag1","hashtag2"]},{"1329185930":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329185935, 1329185938, 1329185932, 1329185952, 1329185949, 1329185930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.468745946884155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:39:22.182190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_52_2673.jpg', '/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_07_3743.jpg', '/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_16_2651.jpg', '/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_52_2641.jpg', '/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_58_3749.jpg', '/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_01_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_52_2673.jpg
/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_07_3743.jpg
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_16_2651.jpg
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_52_2641.jpg
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_58_3749.jpg
/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_01_2670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.342353343963623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:39:42.222878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_3686.jpg', '/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_05_2706.jpg', '/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_07_2605.jpg', '/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_11_3643.jpg', '/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_14_2696.jpg', '/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_52_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_02_3686.jpg
/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_05_2706.jpg
/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_07_2605.jpg
/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_11_3643.jpg
/home/pi/Desktop/images/13012025/07/56/image_13012025_07_56_14_2696.jpg
/home/pi/Desktop/images/13012025/07/57/image_13012025_07_57_52_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329185995","1329185988","1329186006","1329185999","1329186008","1329186002"],"photo_ids_order":["1329185988","1329185995","1329185999","1329186002","1329186006","1329186008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ace7b0f39de22ce3b2285fb41c5732a7.jpg","text":"TemporaryFile(/tmp/multipartBody2347667388052851215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962843447,"filename":"image_13012025_07_56_05_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6548f0b7a1e2951866f8c5890c345a59.jpg","text":"TemporaryFile(/tmp/multipartBody5679733318760094825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962843447,"filename":"image_13012025_07_56_02_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bdf59130a0ce362d5a1243f08254c45c.jpg","text":"TemporaryFile(/tmp/multipartBody6956382861636298075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962843447,"filename":"image_13012025_07_56_14_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8886ccf93d312c1ba339fca993ad66ee.jpg","text":"TemporaryFile(/tmp/multipartBody6782899139989181778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962843447,"filename":"image_13012025_07_56_07_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b12f6526ca5f835f590fe7351b53f28d.jpg","text":"TemporaryFile(/tmp/multipartBody4025038899679103101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962843447,"filename":"image_13012025_07_57_52_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/90b0e9b0160881bf88346a6fc5cffa5e.jpg","text":"TemporaryFile(/tmp/multipartBody1854283960899505029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962843447,"filename":"image_13012025_07_56_11_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329185999","file1":"1329185995","file0":"1329185988","file4":"1329186006","file5":"1329186008","file3":"1329186002"},"map_files_photo_id_array":[{"photo_id":"1329186008","filename":"file5"},{"photo_id":"1329185999","filename":"file2"},{"photo_id":"1329186006","filename":"file4"},{"photo_id":"1329185995","filename":"file1"},{"photo_id":"1329185988","filename":"file0"},{"photo_id":"1329186002","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329185995":["hashtag1","hashtag2"]},{"1329185988":["hashtag1","hashtag2"]},{"1329186006":["hashtag1","hashtag2"]},{"1329185999":["hashtag1","hashtag2"]},{"1329186008":["hashtag1","hashtag2"]},{"1329186002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329185995, 1329185988, 1329186006, 1329185999, 1329186008, 1329186002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.03412222862244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:40:42.166438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_11_3606.jpg', '/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_25_2774.jpg', '/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_31_2574.jpg', '/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_49_2738.jpg', '/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_52_2823.jpg', '/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_56_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_11_3606.jpg
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_25_2774.jpg
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_31_2574.jpg
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_49_2738.jpg
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_52_2823.jpg
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_56_3709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0601110458374023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:41:03.140638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_52_2673.jpg', '/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_07_3743.jpg', '/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_16_2651.jpg', '/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_52_2641.jpg', '/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_58_3749.jpg', '/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_01_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/11/26/image_11012025_11_26_52_2673.jpg
/home/pi/Desktop/images/11012025/11/27/image_11012025_11_27_07_3743.jpg
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_16_2651.jpg
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_52_2641.jpg
/home/pi/Desktop/images/11012025/11/28/image_11012025_11_28_58_3749.jpg
/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_01_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329186597","1329186570","1329186759","1329186534","1329186456","1329186665"],"photo_ids_order":["1329186456","1329186534","1329186570","1329186597","1329186665","1329186759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e6ad267c6ee4b604442cfb85cc389b3e.jpg","text":"TemporaryFile(/tmp/multipartBody375280720725866845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962924973,"filename":"image_11012025_11_28_52_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2506383262e18039c90629afe90c259.jpg","text":"TemporaryFile(/tmp/multipartBody3360644685123458580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962924973,"filename":"image_11012025_11_28_16_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6b5d54db974fcfd3c143107804b2b126.jpg","text":"TemporaryFile(/tmp/multipartBody1492571821497933076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962924973,"filename":"image_11012025_11_29_01_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5cc937328678962c63530a40e074678e.jpg","text":"TemporaryFile(/tmp/multipartBody4669336509185430163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962924973,"filename":"image_11012025_11_27_07_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2e4e531069f5b7da5ceea0fd5760d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5946826819283091188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962924973,"filename":"image_11012025_11_26_52_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d2cd0be09212121e868dbf285e24768.jpg","text":"TemporaryFile(/tmp/multipartBody5677467645933729194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962924973,"filename":"image_11012025_11_28_58_3749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329186570","file1":"1329186534","file0":"1329186456","file4":"1329186665","file5":"1329186759","file3":"1329186597"},"map_files_photo_id_array":[{"photo_id":"1329186759","filename":"file5"},{"photo_id":"1329186570","filename":"file2"},{"photo_id":"1329186665","filename":"file4"},{"photo_id":"1329186534","filename":"file1"},{"photo_id":"1329186456","filename":"file0"},{"photo_id":"1329186597","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329186597":["hashtag1","hashtag2"]},{"1329186570":["hashtag1","hashtag2"]},{"1329186759":["hashtag1","hashtag2"]},{"1329186534":["hashtag1","hashtag2"]},{"1329186456":["hashtag1","hashtag2"]},{"1329186665":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329186597, 1329186570, 1329186759, 1329186534, 1329186456, 1329186665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.98580622673035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:42:03.230210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_34_2827.jpg', '/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_30_2684.jpg', '/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_55_2714.jpg', '/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_04_2638.jpg', '/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_31_3615.jpg', '/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_07_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/11/29/image_11012025_11_29_34_2827.jpg
/home/pi/Desktop/images/11012025/11/32/image_11012025_11_32_30_2684.jpg
/home/pi/Desktop/images/11012025/11/42/image_11012025_11_42_55_2714.jpg
/home/pi/Desktop/images/11012025/11/44/image_11012025_11_44_04_2638.jpg
/home/pi/Desktop/images/11012025/11/45/image_11012025_11_45_31_3615.jpg
/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_07_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329187201","1329187204","1329187206","1329187184","1329187198","1329187192"],"photo_ids_order":["1329187184","1329187192","1329187198","1329187201","1329187204","1329187206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/005a160614b820eeb8554b746da8e50c.jpg","text":"TemporaryFile(/tmp/multipartBody5614547638621895998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962985033,"filename":"image_11012025_11_44_04_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/62646433e16a7519bb0de3852cd0a236.jpg","text":"TemporaryFile(/tmp/multipartBody227871560962870941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962985033,"filename":"image_11012025_11_45_31_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2826b6e4566776c587b3ea8a2907a75d.jpg","text":"TemporaryFile(/tmp/multipartBody4126642704230473646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962985033,"filename":"image_11012025_11_46_07_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d42aafd2d8c93e19f387a4a50660bb56.jpg","text":"TemporaryFile(/tmp/multipartBody6595769260877761748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962985033,"filename":"image_11012025_11_29_34_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c6ea784714f07a8e1944ce2e06f9904.jpg","text":"TemporaryFile(/tmp/multipartBody8344880687499587328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962985033,"filename":"image_11012025_11_42_55_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d6c136a71378ba63f5551b1cd41ea88e.jpg","text":"TemporaryFile(/tmp/multipartBody1807820417248920283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736962985033,"filename":"image_11012025_11_32_30_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329187198","file1":"1329187192","file0":"1329187184","file4":"1329187204","file5":"1329187206","file3":"1329187201"},"map_files_photo_id_array":[{"photo_id":"1329187206","filename":"file5"},{"photo_id":"1329187198","filename":"file2"},{"photo_id":"1329187204","filename":"file4"},{"photo_id":"1329187192","filename":"file1"},{"photo_id":"1329187184","filename":"file0"},{"photo_id":"1329187201","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329187201":["hashtag1","hashtag2"]},{"1329187204":["hashtag1","hashtag2"]},{"1329187206":["hashtag1","hashtag2"]},{"1329187184":["hashtag1","hashtag2"]},{"1329187198":["hashtag1","hashtag2"]},{"1329187192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329187201, 1329187204, 1329187206, 1329187184, 1329187198, 1329187192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37574338912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:42:42.507770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_11_3606.jpg', '/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_25_2774.jpg', '/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_31_2574.jpg', '/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_49_2738.jpg', '/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_52_2823.jpg', '/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_56_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_11_3606.jpg
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_25_2774.jpg
/home/pi/Desktop/images/13012025/07/58/image_13012025_07_58_31_2574.jpg
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_49_2738.jpg
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_52_2823.jpg
/home/pi/Desktop/images/13012025/08/01/image_13012025_08_01_56_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329187216","1329187221","1329187230","1329187224","1329187232","1329187217"],"photo_ids_order":["1329187216","1329187217","1329187221","1329187224","1329187230","1329187232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4025cdb8f9982d473feabfe4d3bac1fa.jpg","text":"TemporaryFile(/tmp/multipartBody4373694354509260105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963023685,"filename":"image_13012025_07_58_11_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0b95045434b5eb6b1b23e3ca3ce98f47.jpg","text":"TemporaryFile(/tmp/multipartBody8177009756922353027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963023685,"filename":"image_13012025_07_58_31_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9dcad4be20126c24431af4c9a05e8da1.jpg","text":"TemporaryFile(/tmp/multipartBody3606299869864440723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963023685,"filename":"image_13012025_08_01_52_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0153eae737ca2a335779243869349cb.jpg","text":"TemporaryFile(/tmp/multipartBody6139803082684627016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963023685,"filename":"image_13012025_08_01_49_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac1bbf51ed8c5cf9da8a76e45d2cc1aa.jpg","text":"TemporaryFile(/tmp/multipartBody6521950248609574551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963023685,"filename":"image_13012025_08_01_56_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5fe93579e801131f7dbca4a77cf854c.jpg","text":"TemporaryFile(/tmp/multipartBody576777949628168932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963023685,"filename":"image_13012025_07_58_25_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329187221","file1":"1329187217","file0":"1329187216","file4":"1329187230","file5":"1329187232","file3":"1329187224"},"map_files_photo_id_array":[{"photo_id":"1329187232","filename":"file5"},{"photo_id":"1329187221","filename":"file2"},{"photo_id":"1329187230","filename":"file4"},{"photo_id":"1329187217","filename":"file1"},{"photo_id":"1329187216","filename":"file0"},{"photo_id":"1329187224","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329187216":["hashtag1","hashtag2"]},{"1329187221":["hashtag1","hashtag2"]},{"1329187230":["hashtag1","hashtag2"]},{"1329187224":["hashtag1","hashtag2"]},{"1329187232":["hashtag1","hashtag2"]},{"1329187217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329187216, 1329187221, 1329187230, 1329187224, 1329187232, 1329187217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.080294370651245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:43:22.387668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_58_2603.jpg', '/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_27_2715.jpg', '/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_16_3844.jpg', '/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_40_2772.jpg', '/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_14_2665.jpg', '/home/pi/Desktop/images/11012025/11/55/image_11012025_11_55_34_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/11/46/image_11012025_11_46_58_2603.jpg
/home/pi/Desktop/images/11012025/11/47/image_11012025_11_47_27_2715.jpg
/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_16_3844.jpg
/home/pi/Desktop/images/11012025/11/49/image_11012025_11_49_40_2772.jpg
/home/pi/Desktop/images/11012025/11/50/image_11012025_11_50_14_2665.jpg
/home/pi/Desktop/images/11012025/11/55/image_11012025_11_55_34_3659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329187293","1329187272","1329187407","1329187376","1329187262","1329187246"],"photo_ids_order":["1329187246","1329187262","1329187272","1329187293","1329187376","1329187407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3ea32d363e9fb31c9f346aae37ad9a30.jpg","text":"TemporaryFile(/tmp/multipartBody1432465630966684934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963064827,"filename":"image_11012025_11_49_40_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3895122862c4e937084841d279cf699b.jpg","text":"TemporaryFile(/tmp/multipartBody5089000765686408956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963064827,"filename":"image_11012025_11_49_16_3844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/32590cf01782ed3ac59ab5fd3643d000.jpg","text":"TemporaryFile(/tmp/multipartBody3002491771901844018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963064827,"filename":"image_11012025_11_55_34_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c4901ba7248b7239919d8e5aede7fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody7393432208778664943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963064827,"filename":"image_11012025_11_50_14_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e32926cbfafcd0a4588ba54a957b0145.jpg","text":"TemporaryFile(/tmp/multipartBody3625753870296721681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963064827,"filename":"image_11012025_11_47_27_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eed6cae32d05ff5f57c83bf6909e9b75.jpg","text":"TemporaryFile(/tmp/multipartBody5579522185363363570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963064827,"filename":"image_11012025_11_46_58_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329187272","file1":"1329187262","file0":"1329187246","file4":"1329187376","file5":"1329187407","file3":"1329187293"},"map_files_photo_id_array":[{"photo_id":"1329187407","filename":"file5"},{"photo_id":"1329187272","filename":"file2"},{"photo_id":"1329187376","filename":"file4"},{"photo_id":"1329187262","filename":"file1"},{"photo_id":"1329187246","filename":"file0"},{"photo_id":"1329187293","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329187293":["hashtag1","hashtag2"]},{"1329187272":["hashtag1","hashtag2"]},{"1329187407":["hashtag1","hashtag2"]},{"1329187376":["hashtag1","hashtag2"]},{"1329187262":["hashtag1","hashtag2"]},{"1329187246":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329187293, 1329187272, 1329187407, 1329187376, 1329187262, 1329187246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.14881658554077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:44:22.254068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_22_3566.jpg', '/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_28_2772.jpg', '/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_31_3548.jpg', '/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_33_2621.jpg', '/home/pi/Desktop/images/11012025/11/58/image_11012025_11_58_13_2639.jpg', '/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_01_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_22_3566.jpg
/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_28_2772.jpg
/home/pi/Desktop/images/11012025/11/56/image_11012025_11_56_31_3548.jpg
/home/pi/Desktop/images/11012025/11/57/image_11012025_11_57_33_2621.jpg
/home/pi/Desktop/images/11012025/11/58/image_11012025_11_58_13_2639.jpg
/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_01_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329187671","1329187713","1329187787","1329187757","1329187795","1329187727"],"photo_ids_order":["1329187671","1329187713","1329187727","1329187757","1329187787","1329187795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f710e9ee36a14a0f8d2a18153ee2962c.jpg","text":"TemporaryFile(/tmp/multipartBody6149065472774298079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963124752,"filename":"image_11012025_11_56_22_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4788234a369685f99cd0733f81bc187e.jpg","text":"TemporaryFile(/tmp/multipartBody7136326405753472695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963124752,"filename":"image_11012025_11_56_28_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e1df4a6bb235bf7914fc9390d0b8d96c.jpg","text":"TemporaryFile(/tmp/multipartBody4859717260464221463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963124752,"filename":"image_11012025_11_58_13_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1b3a6847d555ba02672808133c485780.jpg","text":"TemporaryFile(/tmp/multipartBody1705498178862548449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963124752,"filename":"image_11012025_11_57_33_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/931e2e8b22352d25eefa496890f98662.jpg","text":"TemporaryFile(/tmp/multipartBody1692886372818108205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963124752,"filename":"image_11012025_11_59_01_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4920689ebbfa09ef42836e568a13f7bd.jpg","text":"TemporaryFile(/tmp/multipartBody1147728586966600589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963124752,"filename":"image_11012025_11_56_31_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329187727","file1":"1329187713","file0":"1329187671","file4":"1329187787","file5":"1329187795","file3":"1329187757"},"map_files_photo_id_array":[{"photo_id":"1329187795","filename":"file5"},{"photo_id":"1329187727","filename":"file2"},{"photo_id":"1329187787","filename":"file4"},{"photo_id":"1329187713","filename":"file1"},{"photo_id":"1329187671","filename":"file0"},{"photo_id":"1329187757","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329187671":["hashtag1","hashtag2"]},{"1329187713":["hashtag1","hashtag2"]},{"1329187787":["hashtag1","hashtag2"]},{"1329187757":["hashtag1","hashtag2"]},{"1329187795":["hashtag1","hashtag2"]},{"1329187727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329187671, 1329187713, 1329187787, 1329187757, 1329187795, 1329187727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.18043780326843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:45:22.738428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_25_3583.jpg', '/home/pi/Desktop/images/11012025/11/59/image_11012025_12_00_00_2684.jpg', '/home/pi/Desktop/images/11012025/12/00/image_11012025_12_00_56_3819.jpg', '/home/pi/Desktop/images/11012025/12/01/image_11012025_12_01_53_3577.jpg', '/home/pi/Desktop/images/11012025/12/03/image_11012025_12_03_44_3718.jpg', '/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_43_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/11/59/image_11012025_11_59_25_3583.jpg
/home/pi/Desktop/images/11012025/11/59/image_11012025_12_00_00_2684.jpg
/home/pi/Desktop/images/11012025/12/00/image_11012025_12_00_56_3819.jpg
/home/pi/Desktop/images/11012025/12/01/image_11012025_12_01_53_3577.jpg
/home/pi/Desktop/images/11012025/12/03/image_11012025_12_03_44_3718.jpg
/home/pi/Desktop/images/11012025/12/04/image_11012025_12_04_43_2586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329187956","1329187970","1329187862","1329187931","1329187919","1329187904"],"photo_ids_order":["1329187862","1329187904","1329187919","1329187931","1329187956","1329187970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8c07224afc839e2d3ddc669cce77586b.jpg","text":"TemporaryFile(/tmp/multipartBody1192641704601365200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963185226,"filename":"image_11012025_12_03_44_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb67a8e4df3600d43ae2276dda3ceaaa.jpg","text":"TemporaryFile(/tmp/multipartBody1576525013151033133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963185226,"filename":"image_11012025_12_04_43_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76c8318ccdeec52b2e8510b34e588ae5.jpg","text":"TemporaryFile(/tmp/multipartBody261908850047584943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963185226,"filename":"image_11012025_11_59_25_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8f4206652df7ee7cfa4500eb0d0d428b.jpg","text":"TemporaryFile(/tmp/multipartBody1508463218692542896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963185226,"filename":"image_11012025_12_01_53_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6382c4a41b9b451db7f77b1e6d93f164.jpg","text":"TemporaryFile(/tmp/multipartBody2840127553263562701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963185226,"filename":"image_11012025_12_00_56_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36e712ee29ea3fb742956e84a8a5e938.jpg","text":"TemporaryFile(/tmp/multipartBody847517331687496008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963185226,"filename":"image_11012025_12_00_00_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329187919","file1":"1329187904","file0":"1329187862","file4":"1329187956","file5":"1329187970","file3":"1329187931"},"map_files_photo_id_array":[{"photo_id":"1329187970","filename":"file5"},{"photo_id":"1329187919","filename":"file2"},{"photo_id":"1329187956","filename":"file4"},{"photo_id":"1329187904","filename":"file1"},{"photo_id":"1329187862","filename":"file0"},{"photo_id":"1329187931","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329187956":["hashtag1","hashtag2"]},{"1329187970":["hashtag1","hashtag2"]},{"1329187862":["hashtag1","hashtag2"]},{"1329187931":["hashtag1","hashtag2"]},{"1329187919":["hashtag1","hashtag2"]},{"1329187904":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329187956, 1329187970, 1329187862, 1329187931, 1329187919, 1329187904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.673216104507446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:46:22.269527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_08_3594.jpg', '/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_32_2981.jpg', '/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_41_3645.jpg', '/home/pi/Desktop/images/11012025/12/06/image_11012025_12_06_17_3714.jpg', '/home/pi/Desktop/images/11012025/12/07/image_11012025_12_07_58_2869.jpg', '/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_01_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_08_3594.jpg
/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_32_2981.jpg
/home/pi/Desktop/images/11012025/12/05/image_11012025_12_05_41_3645.jpg
/home/pi/Desktop/images/11012025/12/06/image_11012025_12_06_17_3714.jpg
/home/pi/Desktop/images/11012025/12/07/image_11012025_12_07_58_2869.jpg
/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_01_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329188031","1329188007","1329188021","1329188009","1329188056","1329188052"],"photo_ids_order":["1329188007","1329188009","1329188021","1329188031","1329188052","1329188056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1fb0a6504cf912016f4f4958652db540.jpg","text":"TemporaryFile(/tmp/multipartBody8884180816902345533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963244940,"filename":"image_11012025_12_06_17_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/261bcc677fb52f7da305aebdde283d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7450980515212621975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963244940,"filename":"image_11012025_12_05_08_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e6f3684e119951f53d55c0d02160ac31.jpg","text":"TemporaryFile(/tmp/multipartBody4083368573046172422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963244940,"filename":"image_11012025_12_05_41_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/053f559535bcb707d3099a6da3dfd959.jpg","text":"TemporaryFile(/tmp/multipartBody5367728809830411964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963244940,"filename":"image_11012025_12_05_32_2981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/644674d26f0f500371aa0e0bddf03ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2687372375432259017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963244940,"filename":"image_11012025_12_08_01_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/df290fc2b1d0351ff2aaa6ea08e6f534.jpg","text":"TemporaryFile(/tmp/multipartBody3283313182947880843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963244940,"filename":"image_11012025_12_07_58_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329188021","file1":"1329188009","file0":"1329188007","file4":"1329188052","file5":"1329188056","file3":"1329188031"},"map_files_photo_id_array":[{"photo_id":"1329188056","filename":"file5"},{"photo_id":"1329188021","filename":"file2"},{"photo_id":"1329188052","filename":"file4"},{"photo_id":"1329188009","filename":"file1"},{"photo_id":"1329188007","filename":"file0"},{"photo_id":"1329188031","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329188031":["hashtag1","hashtag2"]},{"1329188007":["hashtag1","hashtag2"]},{"1329188021":["hashtag1","hashtag2"]},{"1329188009":["hashtag1","hashtag2"]},{"1329188056":["hashtag1","hashtag2"]},{"1329188052":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329188031, 1329188007, 1329188021, 1329188009, 1329188056, 1329188052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.21332836151123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:47:22.660828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_16_3583.jpg', '/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_43_3671.jpg', '/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_04_2580.jpg', '/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_28_2784.jpg', '/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_52_2736.jpg', '/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_22_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_16_3583.jpg
/home/pi/Desktop/images/11012025/12/08/image_11012025_12_08_43_3671.jpg
/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_04_2580.jpg
/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_28_2784.jpg
/home/pi/Desktop/images/11012025/12/09/image_11012025_12_09_52_2736.jpg
/home/pi/Desktop/images/11012025/12/11/image_11012025_12_11_22_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329188118","1329188100","1329188123","1329188113","1329188107","1329188097"],"photo_ids_order":["1329188097","1329188100","1329188107","1329188113","1329188118","1329188123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a4850978767c66c9f24170407fb79256.jpg","text":"TemporaryFile(/tmp/multipartBody1289672818658128288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963305072,"filename":"image_11012025_12_09_52_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1184b5210c02c338337dacb30c89eadd.jpg","text":"TemporaryFile(/tmp/multipartBody4854495887500873585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963305072,"filename":"image_11012025_12_08_43_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa76e1d753e1aa20e4b2fac6bcb4578f.jpg","text":"TemporaryFile(/tmp/multipartBody8113580037833163962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963305072,"filename":"image_11012025_12_11_22_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8796657f52c6fc04483b24d9dad2a75.jpg","text":"TemporaryFile(/tmp/multipartBody4089376552855119273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963305072,"filename":"image_11012025_12_09_28_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2fec6e04097b198aa57adcbf196cf670.jpg","text":"TemporaryFile(/tmp/multipartBody5117449532332014246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963305072,"filename":"image_11012025_12_09_04_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ccffa2131119b5b0930a55e67aaff00.jpg","text":"TemporaryFile(/tmp/multipartBody1445743304516224928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963305072,"filename":"image_11012025_12_08_16_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329188107","file1":"1329188100","file0":"1329188097","file4":"1329188118","file5":"1329188123","file3":"1329188113"},"map_files_photo_id_array":[{"photo_id":"1329188123","filename":"file5"},{"photo_id":"1329188107","filename":"file2"},{"photo_id":"1329188118","filename":"file4"},{"photo_id":"1329188100","filename":"file1"},{"photo_id":"1329188097","filename":"file0"},{"photo_id":"1329188113","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329188118":["hashtag1","hashtag2"]},{"1329188100":["hashtag1","hashtag2"]},{"1329188123":["hashtag1","hashtag2"]},{"1329188113":["hashtag1","hashtag2"]},{"1329188107":["hashtag1","hashtag2"]},{"1329188097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329188118, 1329188100, 1329188123, 1329188113, 1329188107, 1329188097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16908049583435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:48:03.126284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_10_3637.jpg', '/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_34_3636.jpg', '/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_04_3751.jpg', '/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_21_2682.jpg', '/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_28_3665.jpg', '/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_57_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/12/12/image_11012025_12_12_10_3637.jpg
/home/pi/Desktop/images/11012025/12/13/image_11012025_12_13_34_3636.jpg
/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_04_3751.jpg
/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_21_2682.jpg
/home/pi/Desktop/images/11012025/12/16/image_11012025_12_16_28_3665.jpg
/home/pi/Desktop/images/11012025/12/17/image_11012025_12_17_57_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329188180","1329188171","1329188173","1329188179","1329188184","1329188178"],"photo_ids_order":["1329188171","1329188173","1329188178","1329188179","1329188180","1329188184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/234e66042f4985464360ec04b76feac8.jpg","text":"TemporaryFile(/tmp/multipartBody8021123826247015899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963345051,"filename":"image_11012025_12_16_28_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/246383f26fbc6ffec5f491ca1cf9c819.jpg","text":"TemporaryFile(/tmp/multipartBody233087085614929594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963345051,"filename":"image_11012025_12_12_10_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/535a6d0a63b6b6141748fc0658f8481d.jpg","text":"TemporaryFile(/tmp/multipartBody5730759401137922536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963345051,"filename":"image_11012025_12_13_34_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4ddaa52120439931bb6570b50106e774.jpg","text":"TemporaryFile(/tmp/multipartBody2989080086110437506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963345051,"filename":"image_11012025_12_16_21_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5915220060b01321aa5fe87072792b92.jpg","text":"TemporaryFile(/tmp/multipartBody3158142926658261253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963345051,"filename":"image_11012025_12_17_57_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10b158cdb111ff52eb9e1357e6496e43.jpg","text":"TemporaryFile(/tmp/multipartBody9035936064550421096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963345051,"filename":"image_11012025_12_16_04_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329188178","file1":"1329188173","file0":"1329188171","file4":"1329188180","file5":"1329188184","file3":"1329188179"},"map_files_photo_id_array":[{"photo_id":"1329188184","filename":"file5"},{"photo_id":"1329188178","filename":"file2"},{"photo_id":"1329188180","filename":"file4"},{"photo_id":"1329188173","filename":"file1"},{"photo_id":"1329188171","filename":"file0"},{"photo_id":"1329188179","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329188180":["hashtag1","hashtag2"]},{"1329188171":["hashtag1","hashtag2"]},{"1329188173":["hashtag1","hashtag2"]},{"1329188179":["hashtag1","hashtag2"]},{"1329188184":["hashtag1","hashtag2"]},{"1329188178":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329188180, 1329188171, 1329188173, 1329188179, 1329188184, 1329188178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40237903594971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:48:42.411974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_40_2793.jpg', '/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_43_3703.jpg', '/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_07_2672.jpg', '/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_34_3484.jpg', '/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_58_2679.jpg', '/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_19_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_40_2793.jpg
/home/pi/Desktop/images/13012025/08/06/image_13012025_08_06_43_3703.jpg
/home/pi/Desktop/images/13012025/08/07/image_13012025_08_07_07_2672.jpg
/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_34_3484.jpg
/home/pi/Desktop/images/13012025/08/08/image_13012025_08_08_58_2679.jpg
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_19_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329188220","1329188244","1329188246","1329188249","1329188227","1329188250"],"photo_ids_order":["1329188220","1329188227","1329188244","1329188246","1329188249","1329188250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/23448bea643edacb9aeb2afb6a1e994f.jpg","text":"TemporaryFile(/tmp/multipartBody3486131193613178692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963383612,"filename":"image_13012025_08_06_40_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3839583f80e2b5ef0a2c5be2fe08443b.jpg","text":"TemporaryFile(/tmp/multipartBody2039911553699924698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963383612,"filename":"image_13012025_08_07_07_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d0aa595f5502f25f6ccdde3a25aa0b0.jpg","text":"TemporaryFile(/tmp/multipartBody7558231491550772176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963383612,"filename":"image_13012025_08_08_34_3484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4719b881d4c685f6d207c9038e853b67.jpg","text":"TemporaryFile(/tmp/multipartBody9039052066913060015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963383612,"filename":"image_13012025_08_08_58_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4c417b0858973f422d4d40afa3e9b37.jpg","text":"TemporaryFile(/tmp/multipartBody3900510331041065261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963383612,"filename":"image_13012025_08_06_43_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0c565eafa3580d02b519b422c1392cc4.jpg","text":"TemporaryFile(/tmp/multipartBody566468344753802555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963383612,"filename":"image_13012025_08_10_19_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329188244","file1":"1329188227","file0":"1329188220","file4":"1329188249","file5":"1329188250","file3":"1329188246"},"map_files_photo_id_array":[{"photo_id":"1329188250","filename":"file5"},{"photo_id":"1329188244","filename":"file2"},{"photo_id":"1329188249","filename":"file4"},{"photo_id":"1329188227","filename":"file1"},{"photo_id":"1329188220","filename":"file0"},{"photo_id":"1329188246","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329188220":["hashtag1","hashtag2"]},{"1329188244":["hashtag1","hashtag2"]},{"1329188246":["hashtag1","hashtag2"]},{"1329188249":["hashtag1","hashtag2"]},{"1329188227":["hashtag1","hashtag2"]},{"1329188250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329188220, 1329188244, 1329188246, 1329188249, 1329188227, 1329188250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83866477012634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:49:22.402199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_06_2780.jpg', '/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_12_3632.jpg', '/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_54_3628.jpg', '/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_30_3805.jpg', '/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_35_2566.jpg', '/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_05_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_06_2780.jpg
/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_12_3632.jpg
/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_54_3628.jpg
/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_30_3805.jpg
/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_35_2566.jpg
/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_05_2618.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.3588476181030273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:49:42.417665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_25_3757.jpg', '/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_27_2545.jpg', '/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_30_2660.jpg', '/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_35_5061.jpg', '/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_39_2581.jpg', '/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_42_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_25_3757.jpg
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_27_2545.jpg
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_30_2660.jpg
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_35_5061.jpg
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_39_2581.jpg
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_42_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329188280","1329188293","1329188287","1329188296","1329188295","1329188298"],"photo_ids_order":["1329188280","1329188287","1329188293","1329188295","1329188296","1329188298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d804db50184aa7a4085f5a1e3344ab0d.jpg","text":"TemporaryFile(/tmp/multipartBody3421006678388045640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963443616,"filename":"image_13012025_08_10_25_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ba35fe0cdbdf1c647633dc21377a3a88.jpg","text":"TemporaryFile(/tmp/multipartBody1476648475212624086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963443616,"filename":"image_13012025_08_10_30_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24216d2e869d791211539563001ad826.jpg","text":"TemporaryFile(/tmp/multipartBody5261298080820834888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963443616,"filename":"image_13012025_08_10_27_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/61d4a48e7b9fc72d0018a84e1906f0a9.jpg","text":"TemporaryFile(/tmp/multipartBody84082152148770710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963443616,"filename":"image_13012025_08_10_39_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad401f8a64124f6f17bca6ad7ee5bab4.jpg","text":"TemporaryFile(/tmp/multipartBody707393923624382027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963443616,"filename":"image_13012025_08_10_35_5061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca2585f9cbaf2620864dffcf974f1ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5444368194966992591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963443616,"filename":"image_13012025_08_10_42_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329188293","file1":"1329188287","file0":"1329188280","file4":"1329188296","file5":"1329188298","file3":"1329188295"},"map_files_photo_id_array":[{"photo_id":"1329188298","filename":"file5"},{"photo_id":"1329188293","filename":"file2"},{"photo_id":"1329188296","filename":"file4"},{"photo_id":"1329188287","filename":"file1"},{"photo_id":"1329188280","filename":"file0"},{"photo_id":"1329188295","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329188280":["hashtag1","hashtag2"]},{"1329188293":["hashtag1","hashtag2"]},{"1329188287":["hashtag1","hashtag2"]},{"1329188296":["hashtag1","hashtag2"]},{"1329188295":["hashtag1","hashtag2"]},{"1329188298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329188280, 1329188293, 1329188287, 1329188296, 1329188295, 1329188298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99781847000122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:50:22.684831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_06_2780.jpg', '/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_12_3632.jpg', '/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_54_3628.jpg', '/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_30_3805.jpg', '/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_35_2566.jpg', '/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_05_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/12/18/image_11012025_12_18_06_2780.jpg
/home/pi/Desktop/images/11012025/12/19/image_11012025_12_19_12_3632.jpg
/home/pi/Desktop/images/11012025/12/22/image_11012025_12_22_54_3628.jpg
/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_30_3805.jpg
/home/pi/Desktop/images/11012025/12/24/image_11012025_12_24_35_2566.jpg
/home/pi/Desktop/images/11012025/12/25/image_11012025_12_25_05_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329188373","1329188355","1329188396","1329188429","1329188422","1329188404"],"photo_ids_order":["1329188355","1329188373","1329188396","1329188404","1329188422","1329188429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1acc4f57d13f0c99ea9344502c207f72.jpg","text":"TemporaryFile(/tmp/multipartBody8014991631402697223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963485012,"filename":"image_11012025_12_19_12_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be2d7ef84cd6847a39ad82247a07412a.jpg","text":"TemporaryFile(/tmp/multipartBody568865513018373541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963485012,"filename":"image_11012025_12_18_06_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fb1a43d3c3f5a3f80cf2021fd6530027.jpg","text":"TemporaryFile(/tmp/multipartBody4349378042809530138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963485012,"filename":"image_11012025_12_22_54_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aab93168c4b1fccc9ff660de133948b5.jpg","text":"TemporaryFile(/tmp/multipartBody128381086171241560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963485012,"filename":"image_11012025_12_25_05_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e88d7e02ed56592383ddfbcbdd3d550.jpg","text":"TemporaryFile(/tmp/multipartBody7767359533112518521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963485012,"filename":"image_11012025_12_24_35_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cc27ff3b23c618bd60d9456c6f293c2.jpg","text":"TemporaryFile(/tmp/multipartBody3313382743734659134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963485012,"filename":"image_11012025_12_24_30_3805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329188396","file1":"1329188373","file0":"1329188355","file4":"1329188422","file5":"1329188429","file3":"1329188404"},"map_files_photo_id_array":[{"photo_id":"1329188429","filename":"file5"},{"photo_id":"1329188396","filename":"file2"},{"photo_id":"1329188422","filename":"file4"},{"photo_id":"1329188373","filename":"file1"},{"photo_id":"1329188355","filename":"file0"},{"photo_id":"1329188404","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329188373":["hashtag1","hashtag2"]},{"1329188355":["hashtag1","hashtag2"]},{"1329188396":["hashtag1","hashtag2"]},{"1329188429":["hashtag1","hashtag2"]},{"1329188422":["hashtag1","hashtag2"]},{"1329188404":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329188373, 1329188355, 1329188396, 1329188429, 1329188422, 1329188404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69432783126831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:51:02.484312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_11_2833.jpg', '/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_36_3711.jpg', '/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_35_3566.jpg', '/home/pi/Desktop/images/11012025/12/34/image_11012025_12_34_28_2534.jpg', '/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_01_2727.jpg', '/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_55_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/12/26/image_11012025_12_26_11_2833.jpg
/home/pi/Desktop/images/11012025/12/27/image_11012025_12_27_36_3711.jpg
/home/pi/Desktop/images/11012025/12/32/image_11012025_12_32_35_3566.jpg
/home/pi/Desktop/images/11012025/12/34/image_11012025_12_34_28_2534.jpg
/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_01_2727.jpg
/home/pi/Desktop/images/11012025/12/35/image_11012025_12_35_55_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329188453","1329188450","1329188447","1329188458","1329188461","1329188463"],"photo_ids_order":["1329188447","1329188450","1329188453","1329188458","1329188461","1329188463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad9ed0c956e77b851fb373ccaa2cb52b.jpg","text":"TemporaryFile(/tmp/multipartBody5491215813934910716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963524538,"filename":"image_11012025_12_32_35_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bceee208e582a98fdc65f0162f4da851.jpg","text":"TemporaryFile(/tmp/multipartBody8032582241902273483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963524538,"filename":"image_11012025_12_27_36_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0b972061310778ca43fd13a6878f7574.jpg","text":"TemporaryFile(/tmp/multipartBody6917673222308156768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963524538,"filename":"image_11012025_12_26_11_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a4d7a9a26136442bbfee28f9183f739.jpg","text":"TemporaryFile(/tmp/multipartBody7050189723272413483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963524538,"filename":"image_11012025_12_34_28_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8116067aa4f5bdff0faa5f2f6a35b13d.jpg","text":"TemporaryFile(/tmp/multipartBody8347317765850586311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963524538,"filename":"image_11012025_12_35_01_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4728fefdbc1b22472492e7f958e643d0.jpg","text":"TemporaryFile(/tmp/multipartBody3304635641507723615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963524538,"filename":"image_11012025_12_35_55_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329188453","file1":"1329188450","file0":"1329188447","file4":"1329188461","file5":"1329188463","file3":"1329188458"},"map_files_photo_id_array":[{"photo_id":"1329188463","filename":"file5"},{"photo_id":"1329188453","filename":"file2"},{"photo_id":"1329188461","filename":"file4"},{"photo_id":"1329188450","filename":"file1"},{"photo_id":"1329188447","filename":"file0"},{"photo_id":"1329188458","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329188453":["hashtag1","hashtag2"]},{"1329188450":["hashtag1","hashtag2"]},{"1329188447":["hashtag1","hashtag2"]},{"1329188458":["hashtag1","hashtag2"]},{"1329188461":["hashtag1","hashtag2"]},{"1329188463":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329188453, 1329188450, 1329188447, 1329188458, 1329188461, 1329188463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21155405044556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:51:41.899292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_46_3677.jpg', '/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_43_2674.jpg', '/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_45_2675.jpg', '/home/pi/Desktop/images/13012025/08/14/image_13012025_08_15_00_2708.jpg', '/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_39_2616.jpg', '/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_24_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/10/image_13012025_08_10_46_3677.jpg
/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_43_2674.jpg
/home/pi/Desktop/images/13012025/08/11/image_13012025_08_11_45_2675.jpg
/home/pi/Desktop/images/13012025/08/14/image_13012025_08_15_00_2708.jpg
/home/pi/Desktop/images/13012025/08/15/image_13012025_08_15_39_2616.jpg
/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_24_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329188480","1329188476","1329188488","1329188473","1329188469","1329188484"],"photo_ids_order":["1329188469","1329188473","1329188476","1329188480","1329188484","1329188488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7904fc5926bd68e793c98bf2dbf0241a.jpg","text":"TemporaryFile(/tmp/multipartBody3321642082013809857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963563034,"filename":"image_13012025_08_15_00_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb6fcfa551f37ff8b12f2911b3a615fd.jpg","text":"TemporaryFile(/tmp/multipartBody3898833209033970007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963563034,"filename":"image_13012025_08_11_45_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9949c9cee3388023ff2a96dbf474c677.jpg","text":"TemporaryFile(/tmp/multipartBody3829937820607722821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963563034,"filename":"image_13012025_08_16_24_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c2239da25205eeb0c1807182dd19531d.jpg","text":"TemporaryFile(/tmp/multipartBody7880885965862491643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963563034,"filename":"image_13012025_08_11_43_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/161a3932b65237db8eadf950ac0f4b3b.jpg","text":"TemporaryFile(/tmp/multipartBody8779579294581904482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963563034,"filename":"image_13012025_08_10_46_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd5829ddc8f23d2a34ac7c39616e48a3.jpg","text":"TemporaryFile(/tmp/multipartBody6241572849236546988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963563034,"filename":"image_13012025_08_15_39_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329188476","file1":"1329188473","file0":"1329188469","file4":"1329188484","file5":"1329188488","file3":"1329188480"},"map_files_photo_id_array":[{"photo_id":"1329188488","filename":"file5"},{"photo_id":"1329188476","filename":"file2"},{"photo_id":"1329188484","filename":"file4"},{"photo_id":"1329188473","filename":"file1"},{"photo_id":"1329188469","filename":"file0"},{"photo_id":"1329188480","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329188480":["hashtag1","hashtag2"]},{"1329188476":["hashtag1","hashtag2"]},{"1329188488":["hashtag1","hashtag2"]},{"1329188473":["hashtag1","hashtag2"]},{"1329188469":["hashtag1","hashtag2"]},{"1329188484":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329188480, 1329188476, 1329188488, 1329188473, 1329188469, 1329188484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.986104011535645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:52:22.037066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_58_1633.jpg', '/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_07_2719.jpg', '/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_07_3545.jpg', '/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_55_3684.jpg', '/home/pi/Desktop/images/11012025/12/48/image_11012025_12_48_42_2926.jpg', '/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_18_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/12/37/image_11012025_12_37_58_1633.jpg
/home/pi/Desktop/images/11012025/12/41/image_11012025_12_41_07_2719.jpg
/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_07_3545.jpg
/home/pi/Desktop/images/11012025/12/42/image_11012025_12_42_55_3684.jpg
/home/pi/Desktop/images/11012025/12/48/image_11012025_12_48_42_2926.jpg
/home/pi/Desktop/images/11012025/12/54/image_11012025_12_54_18_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329189389","1329189391","1329189379","1329189384","1329188964","1329189395"],"photo_ids_order":["1329188964","1329189379","1329189384","1329189389","1329189391","1329189395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/970c76b0c833530fbc66c3f0d3ba5762.jpg","text":"TemporaryFile(/tmp/multipartBody4395581917244695208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963604485,"filename":"image_11012025_12_42_55_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/396909da2536a2907069e33dc0044bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5109471680779290774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963604485,"filename":"image_11012025_12_48_42_2926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee02eabbd264bc472bc5728e32a4e1de.jpg","text":"TemporaryFile(/tmp/multipartBody1146387680290383007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963604485,"filename":"image_11012025_12_41_07_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00b1f58595536ab49ef77619d5a49aac.jpg","text":"TemporaryFile(/tmp/multipartBody4011384107074856081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963604485,"filename":"image_11012025_12_42_07_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/021dc5b196e459c0795777f9a68b6f72.jpg","text":"TemporaryFile(/tmp/multipartBody3761507815877669388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963604485,"filename":"image_11012025_12_37_58_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5d402f19bbd95afd6168367495d60f9e.jpg","text":"TemporaryFile(/tmp/multipartBody7303551084668204325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963604485,"filename":"image_11012025_12_54_18_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329189384","file1":"1329189379","file0":"1329188964","file4":"1329189391","file5":"1329189395","file3":"1329189389"},"map_files_photo_id_array":[{"photo_id":"1329189395","filename":"file5"},{"photo_id":"1329189384","filename":"file2"},{"photo_id":"1329189391","filename":"file4"},{"photo_id":"1329189379","filename":"file1"},{"photo_id":"1329188964","filename":"file0"},{"photo_id":"1329189389","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329189389":["hashtag1","hashtag2"]},{"1329189391":["hashtag1","hashtag2"]},{"1329189379":["hashtag1","hashtag2"]},{"1329189384":["hashtag1","hashtag2"]},{"1329188964":["hashtag1","hashtag2"]},{"1329189395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329189389, 1329189391, 1329189379, 1329189384, 1329188964, 1329189395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55048608779907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:53:03.072603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_36_3829.jpg', '/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_23_3624.jpg', '/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_32_2663.jpg', '/home/pi/Desktop/images/11012025/12/59/image_11012025_12_59_56_3606.jpg', '/home/pi/Desktop/images/11012025/13/00/image_11012025_13_00_26_2788.jpg', '/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_11_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/12/56/image_11012025_12_56_36_3829.jpg
/home/pi/Desktop/images/11012025/12/57/image_11012025_12_57_23_3624.jpg
/home/pi/Desktop/images/11012025/12/58/image_11012025_12_58_32_2663.jpg
/home/pi/Desktop/images/11012025/12/59/image_11012025_12_59_56_3606.jpg
/home/pi/Desktop/images/11012025/13/00/image_11012025_13_00_26_2788.jpg
/home/pi/Desktop/images/11012025/13/02/image_11012025_13_02_11_2766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329189612","1329189420","1329189599","1329189452","1329189409","1329189609"],"photo_ids_order":["1329189409","1329189420","1329189452","1329189599","1329189609","1329189612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10cc0245dd13800d38c530879e5587ae.jpg","text":"TemporaryFile(/tmp/multipartBody3586962859405359792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963645099,"filename":"image_11012025_13_02_11_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5771af018239f211e3696ac41b6b3867.jpg","text":"TemporaryFile(/tmp/multipartBody5203880981115082271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963645099,"filename":"image_11012025_12_57_23_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2bad48310e49e38c3d0afc27d0fa5619.jpg","text":"TemporaryFile(/tmp/multipartBody3692566147515894776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963645099,"filename":"image_11012025_12_59_56_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c367c990bef7ea30bf3872b12fcd0d58.jpg","text":"TemporaryFile(/tmp/multipartBody3390055878460841440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963645099,"filename":"image_11012025_12_58_32_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ced12fd8be49767aa5c806b19b4de1a.jpg","text":"TemporaryFile(/tmp/multipartBody3536291620591433336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963645099,"filename":"image_11012025_12_56_36_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ac5ae734715d92f73b1a19911e3b2da.jpg","text":"TemporaryFile(/tmp/multipartBody4187329231198131354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963645099,"filename":"image_11012025_13_00_26_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329189452","file1":"1329189420","file0":"1329189409","file4":"1329189609","file5":"1329189612","file3":"1329189599"},"map_files_photo_id_array":[{"photo_id":"1329189612","filename":"file5"},{"photo_id":"1329189452","filename":"file2"},{"photo_id":"1329189609","filename":"file4"},{"photo_id":"1329189420","filename":"file1"},{"photo_id":"1329189409","filename":"file0"},{"photo_id":"1329189599","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329189612":["hashtag1","hashtag2"]},{"1329189420":["hashtag1","hashtag2"]},{"1329189599":["hashtag1","hashtag2"]},{"1329189452":["hashtag1","hashtag2"]},{"1329189409":["hashtag1","hashtag2"]},{"1329189609":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329189612, 1329189420, 1329189599, 1329189452, 1329189409, 1329189609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.953481674194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:54:03.267516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_20_3667.jpg', '/home/pi/Desktop/images/11012025/13/10/image_11012025_13_10_46_2795.jpg', '/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_24_2629.jpg', '/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_24_2571.jpg', '/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_42_2717.jpg', '/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_33_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/04/image_11012025_13_04_20_3667.jpg
/home/pi/Desktop/images/11012025/13/10/image_11012025_13_10_46_2795.jpg
/home/pi/Desktop/images/11012025/13/11/image_11012025_13_11_24_2629.jpg
/home/pi/Desktop/images/11012025/13/12/image_11012025_13_12_24_2571.jpg
/home/pi/Desktop/images/11012025/13/15/image_11012025_13_15_42_2717.jpg
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_33_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329189770","1329189766","1329189748","1329189765","1329189768","1329189747"],"photo_ids_order":["1329189747","1329189748","1329189765","1329189766","1329189768","1329189770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6a41c456402fbbe5645bafbfa52ee806.jpg","text":"TemporaryFile(/tmp/multipartBody7265132780767073457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963705234,"filename":"image_11012025_13_16_33_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21c596a9b699b9d6f4cf5a8f1de2d64f.jpg","text":"TemporaryFile(/tmp/multipartBody762980651145164177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963705234,"filename":"image_11012025_13_12_24_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d78b618d5bbf0e40195815e8168c54a6.jpg","text":"TemporaryFile(/tmp/multipartBody5197210451375426504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963705234,"filename":"image_11012025_13_10_46_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/582d6bac7ede79f730e5b71253340404.jpg","text":"TemporaryFile(/tmp/multipartBody116578208173980592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963705234,"filename":"image_11012025_13_11_24_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bd7164f7d622b04f80b7d182719580af.jpg","text":"TemporaryFile(/tmp/multipartBody8078098821196087978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963705234,"filename":"image_11012025_13_15_42_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e4d33e1ceecf9f1f87b1e99e73e48957.jpg","text":"TemporaryFile(/tmp/multipartBody8444294990205241766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963705234,"filename":"image_11012025_13_04_20_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329189765","file1":"1329189748","file0":"1329189747","file4":"1329189768","file5":"1329189770","file3":"1329189766"},"map_files_photo_id_array":[{"photo_id":"1329189770","filename":"file5"},{"photo_id":"1329189765","filename":"file2"},{"photo_id":"1329189768","filename":"file4"},{"photo_id":"1329189748","filename":"file1"},{"photo_id":"1329189747","filename":"file0"},{"photo_id":"1329189766","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329189770":["hashtag1","hashtag2"]},{"1329189766":["hashtag1","hashtag2"]},{"1329189748":["hashtag1","hashtag2"]},{"1329189765":["hashtag1","hashtag2"]},{"1329189768":["hashtag1","hashtag2"]},{"1329189747":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329189770, 1329189766, 1329189748, 1329189765, 1329189768, 1329189747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.717689752578735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:54:42.564607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_27_2841.jpg', '/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_45_2781.jpg', '/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_48_2770.jpg', '/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_51_3610.jpg', '/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_54_2773.jpg', '/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_57_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/16/image_13012025_08_16_27_2841.jpg
/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_45_2781.jpg
/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_48_2770.jpg
/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_51_3610.jpg
/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_54_2773.jpg
/home/pi/Desktop/images/13012025/08/17/image_13012025_08_17_57_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329190014","1329190103","1329190112","1329190106","1329190109","1329189802"],"photo_ids_order":["1329189802","1329190014","1329190103","1329190106","1329190109","1329190112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c04dccb25e12313dee59bfee511883c2.jpg","text":"TemporaryFile(/tmp/multipartBody7980673290660492300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963743741,"filename":"image_13012025_08_17_45_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c39386a432d10a4dc0b736f32b353062.jpg","text":"TemporaryFile(/tmp/multipartBody8296302337174358030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963743741,"filename":"image_13012025_08_17_48_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2687cbbeeff6cb382f87706b99629b67.jpg","text":"TemporaryFile(/tmp/multipartBody7411211469469442770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963743741,"filename":"image_13012025_08_17_57_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05348c1a0398f09aecf36ddf3c6e151e.jpg","text":"TemporaryFile(/tmp/multipartBody1313572109702217640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963743741,"filename":"image_13012025_08_17_51_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c2aab1cc186a8e73fca88616779dd27b.jpg","text":"TemporaryFile(/tmp/multipartBody1131213316344731475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963743741,"filename":"image_13012025_08_17_54_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2603c1296ae733453ba12a85b5871f24.jpg","text":"TemporaryFile(/tmp/multipartBody4426908844515650221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963743741,"filename":"image_13012025_08_16_27_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190103","file1":"1329190014","file0":"1329189802","file4":"1329190109","file5":"1329190112","file3":"1329190106"},"map_files_photo_id_array":[{"photo_id":"1329190112","filename":"file5"},{"photo_id":"1329190103","filename":"file2"},{"photo_id":"1329190109","filename":"file4"},{"photo_id":"1329190014","filename":"file1"},{"photo_id":"1329189802","filename":"file0"},{"photo_id":"1329190106","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329190014":["hashtag1","hashtag2"]},{"1329190103":["hashtag1","hashtag2"]},{"1329190112":["hashtag1","hashtag2"]},{"1329190106":["hashtag1","hashtag2"]},{"1329190109":["hashtag1","hashtag2"]},{"1329189802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329190014, 1329190103, 1329190112, 1329190106, 1329190109, 1329189802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85834622383118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:55:22.823822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_36_3702.jpg', '/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_45_3776.jpg', '/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_48_2804.jpg', '/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_51_2662.jpg', '/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_55_3679.jpg', '/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_57_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_36_3702.jpg
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_45_3776.jpg
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_48_2804.jpg
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_51_2662.jpg
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_55_3679.jpg
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_16_57_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329190278","1329190283","1329190286","1329190259","1329190240","1329190216"],"photo_ids_order":["1329190216","1329190240","1329190259","1329190278","1329190283","1329190286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac32c302ba9ccc8bd1473725bfa45b77.jpg","text":"TemporaryFile(/tmp/multipartBody675376993636730557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963785377,"filename":"image_11012025_13_16_51_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c54616acb5b9433736aba9434f91326f.jpg","text":"TemporaryFile(/tmp/multipartBody6294154627614728123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963785377,"filename":"image_11012025_13_16_55_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dabb94f4660e7c3fb96402b42884adc4.jpg","text":"TemporaryFile(/tmp/multipartBody962090018963681308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963785377,"filename":"image_11012025_13_16_57_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c863a4d45dae6ede45e72ff9bf355ded.jpg","text":"TemporaryFile(/tmp/multipartBody1426350586390971595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963785377,"filename":"image_11012025_13_16_48_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/116a0b3b8b308d96c52e0f6c1986e44d.jpg","text":"TemporaryFile(/tmp/multipartBody7739809796844253106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963785377,"filename":"image_11012025_13_16_45_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5fe46719880f6aab59a3c9e1e10bc3b9.jpg","text":"TemporaryFile(/tmp/multipartBody168934287955069437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963785377,"filename":"image_11012025_13_16_36_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190259","file1":"1329190240","file0":"1329190216","file4":"1329190283","file5":"1329190286","file3":"1329190278"},"map_files_photo_id_array":[{"photo_id":"1329190286","filename":"file5"},{"photo_id":"1329190259","filename":"file2"},{"photo_id":"1329190283","filename":"file4"},{"photo_id":"1329190240","filename":"file1"},{"photo_id":"1329190216","filename":"file0"},{"photo_id":"1329190278","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329190278":["hashtag1","hashtag2"]},{"1329190283":["hashtag1","hashtag2"]},{"1329190286":["hashtag1","hashtag2"]},{"1329190259":["hashtag1","hashtag2"]},{"1329190240":["hashtag1","hashtag2"]},{"1329190216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329190278, 1329190283, 1329190286, 1329190259, 1329190240, 1329190216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55753803253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:56:03.093947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/16/image_11012025_13_17_00_2712.jpg', '/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_03_2828.jpg', '/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_07_3763.jpg', '/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_09_2902.jpg', '/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_12_2706.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_15_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/16/image_11012025_13_17_00_2712.jpg
/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_03_2828.jpg
/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_07_3763.jpg
/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_09_2902.jpg
/home/pi/Desktop/images/11012025/13/17/image_11012025_13_17_12_2706.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_15_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329190311","1329190305","1329190314","1329190308","1329190316","1329190318"],"photo_ids_order":["1329190305","1329190308","1329190311","1329190314","1329190316","1329190318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28f3d676c49e88c112e498cf108d6c8f.jpg","text":"TemporaryFile(/tmp/multipartBody2341772963161591299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963824976,"filename":"image_11012025_13_17_07_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3299edc4a9f6e81d1d2f5bb5592ae6ea.jpg","text":"TemporaryFile(/tmp/multipartBody744865987714699373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963824976,"filename":"image_11012025_13_17_00_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c0426999aa7a7d9ab03063cfd1baaf15.jpg","text":"TemporaryFile(/tmp/multipartBody3210660150751688973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963824976,"filename":"image_11012025_13_17_09_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f56d1cef6401420c1a6e1ef3b5303c1.jpg","text":"TemporaryFile(/tmp/multipartBody215717986044940858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963824976,"filename":"image_11012025_13_17_03_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2698b867985f1fbba199f615bb628db.jpg","text":"TemporaryFile(/tmp/multipartBody9076315853981413660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963824976,"filename":"image_11012025_13_17_12_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8e50eda29c2fdc3a3d47a69d29dd997.jpg","text":"TemporaryFile(/tmp/multipartBody9080039921926030808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963824976,"filename":"image_11012025_13_18_15_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190311","file1":"1329190308","file0":"1329190305","file4":"1329190316","file5":"1329190318","file3":"1329190314"},"map_files_photo_id_array":[{"photo_id":"1329190318","filename":"file5"},{"photo_id":"1329190311","filename":"file2"},{"photo_id":"1329190316","filename":"file4"},{"photo_id":"1329190308","filename":"file1"},{"photo_id":"1329190305","filename":"file0"},{"photo_id":"1329190314","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329190311":["hashtag1","hashtag2"]},{"1329190305":["hashtag1","hashtag2"]},{"1329190314":["hashtag1","hashtag2"]},{"1329190308":["hashtag1","hashtag2"]},{"1329190316":["hashtag1","hashtag2"]},{"1329190318":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329190311, 1329190305, 1329190314, 1329190308, 1329190316, 1329190318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58350682258606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:56:42.549254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_18_3605.jpg', '/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_30_2570.jpg', '/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_39_2665.jpg', '/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_48_2701.jpg', '/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_50_2573.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_03_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_18_3605.jpg
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_30_2570.jpg
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_39_2665.jpg
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_48_2701.jpg
/home/pi/Desktop/images/13012025/08/18/image_13012025_08_18_50_2573.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_03_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329190356","1329190341","1329190332","1329190354","1329190336","1329190351"],"photo_ids_order":["1329190332","1329190336","1329190341","1329190351","1329190354","1329190356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22acb22d446ed45f6022cbeb40a42898.jpg","text":"TemporaryFile(/tmp/multipartBody530083282948034594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963863738,"filename":"image_13012025_08_19_03_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3228bbda48afd0b2a429c9d4f2cb8cf5.jpg","text":"TemporaryFile(/tmp/multipartBody194912554787138052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963863738,"filename":"image_13012025_08_18_39_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/608d91e26c524b2997b3a21dcd98bc7f.jpg","text":"TemporaryFile(/tmp/multipartBody6141542627698785197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963863738,"filename":"image_13012025_08_18_18_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c83cc3ffb4cab90c700d62d05dcb5d3e.jpg","text":"TemporaryFile(/tmp/multipartBody8439791943759083738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963863738,"filename":"image_13012025_08_18_50_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/930e45c503365efb548de9b79162e802.jpg","text":"TemporaryFile(/tmp/multipartBody6564267182857367410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963863738,"filename":"image_13012025_08_18_30_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f9f7b825ef5ad1c0257a9abfd370925.jpg","text":"TemporaryFile(/tmp/multipartBody169054257731158273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963863738,"filename":"image_13012025_08_18_48_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190341","file1":"1329190336","file0":"1329190332","file4":"1329190354","file5":"1329190356","file3":"1329190351"},"map_files_photo_id_array":[{"photo_id":"1329190356","filename":"file5"},{"photo_id":"1329190341","filename":"file2"},{"photo_id":"1329190354","filename":"file4"},{"photo_id":"1329190336","filename":"file1"},{"photo_id":"1329190332","filename":"file0"},{"photo_id":"1329190351","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329190356":["hashtag1","hashtag2"]},{"1329190341":["hashtag1","hashtag2"]},{"1329190332":["hashtag1","hashtag2"]},{"1329190354":["hashtag1","hashtag2"]},{"1329190336":["hashtag1","hashtag2"]},{"1329190351":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329190356, 1329190341, 1329190332, 1329190354, 1329190336, 1329190351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.097254514694214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 18:57:22.606441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_18_2709.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_27_2682.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_30_3692.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_33_2637.jpg', '/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_09_2635.jpg', '/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_18_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_18_2709.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_27_2682.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_30_3692.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_33_2637.jpg
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_09_2635.jpg
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_18_3729.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.4769279956817627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:57:42.569136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_12_3580.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_36_3653.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_39_2507.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_41_2638.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_45_3548.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_47_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_12_3580.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_36_3653.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_39_2507.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_41_2638.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_45_3548.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_47_2621.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329190413","1329190397","1329190385","1329190399","1329190381","1329190375"],"photo_ids_order":["1329190375","1329190381","1329190385","1329190397","1329190399","1329190413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b9858d14f819bfe2390ce4fb4623a87.jpg","text":"TemporaryFile(/tmp/multipartBody5846757997191655549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963923766,"filename":"image_13012025_08_19_47_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a547314b298f6ba155b43c4c6bcf3d6.jpg","text":"TemporaryFile(/tmp/multipartBody5434406349564028421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963923766,"filename":"image_13012025_08_19_41_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6fc12977944e256278ba596661c1d99e.jpg","text":"TemporaryFile(/tmp/multipartBody4707060608848602247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963923766,"filename":"image_13012025_08_19_39_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f8f52263270c6d03ba9e8e434a07dffd.jpg","text":"TemporaryFile(/tmp/multipartBody6895508611869980415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963923766,"filename":"image_13012025_08_19_45_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7277c0d3e649fbc83bcf69d8ec90e776.jpg","text":"TemporaryFile(/tmp/multipartBody2837895082160232016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963923766,"filename":"image_13012025_08_19_36_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7469ccc690abba44670a25dc6622730.jpg","text":"TemporaryFile(/tmp/multipartBody2307327112058832700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736963923766,"filename":"image_13012025_08_19_12_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190385","file1":"1329190381","file0":"1329190375","file4":"1329190399","file5":"1329190413","file3":"1329190397"},"map_files_photo_id_array":[{"photo_id":"1329190413","filename":"file5"},{"photo_id":"1329190385","filename":"file2"},{"photo_id":"1329190399","filename":"file4"},{"photo_id":"1329190381","filename":"file1"},{"photo_id":"1329190375","filename":"file0"},{"photo_id":"1329190397","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329190413":["hashtag1","hashtag2"]},{"1329190397":["hashtag1","hashtag2"]},{"1329190385":["hashtag1","hashtag2"]},{"1329190399":["hashtag1","hashtag2"]},{"1329190381":["hashtag1","hashtag2"]},{"1329190375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329190413, 1329190397, 1329190385, 1329190399, 1329190381, 1329190375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60823726654053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 18:59:03.686226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_18_2709.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_27_2682.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_30_3692.jpg', '/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_33_2637.jpg', '/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_09_2635.jpg', '/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_18_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_18_2709.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_27_2682.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_30_3692.jpg
/home/pi/Desktop/images/11012025/13/18/image_11012025_13_18_33_2637.jpg
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_09_2635.jpg
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_18_3729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329190536","1329190518","1329190512","1329190550","1329190526","1329190543"],"photo_ids_order":["1329190512","1329190518","1329190526","1329190536","1329190543","1329190550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a88843c98509ac293edfed24195c5d64.jpg","text":"TemporaryFile(/tmp/multipartBody854611631797195902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964005642,"filename":"image_11012025_13_18_33_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/862afd1f5dac3c808205f72315086555.jpg","text":"TemporaryFile(/tmp/multipartBody6848999353542687769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964005642,"filename":"image_11012025_13_18_27_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9ef2ac09d9b436c68e55555051957798.jpg","text":"TemporaryFile(/tmp/multipartBody6840106060090515517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964005642,"filename":"image_11012025_13_18_18_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e19ec9f328bec5815f3698706158e25d.jpg","text":"TemporaryFile(/tmp/multipartBody8144152955765413414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964005642,"filename":"image_11012025_13_19_18_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b54d59d824fc554741994eca83a9f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody5058633729529821973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964005642,"filename":"image_11012025_13_18_30_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d896b0be3d5b9e4c6c02e851a51d6f32.jpg","text":"TemporaryFile(/tmp/multipartBody6583446471097629416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964005642,"filename":"image_11012025_13_19_09_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190526","file1":"1329190518","file0":"1329190512","file4":"1329190543","file5":"1329190550","file3":"1329190536"},"map_files_photo_id_array":[{"photo_id":"1329190550","filename":"file5"},{"photo_id":"1329190526","filename":"file2"},{"photo_id":"1329190543","filename":"file4"},{"photo_id":"1329190518","filename":"file1"},{"photo_id":"1329190512","filename":"file0"},{"photo_id":"1329190536","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329190536":["hashtag1","hashtag2"]},{"1329190518":["hashtag1","hashtag2"]},{"1329190512":["hashtag1","hashtag2"]},{"1329190550":["hashtag1","hashtag2"]},{"1329190526":["hashtag1","hashtag2"]},{"1329190543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329190536, 1329190518, 1329190512, 1329190550, 1329190526, 1329190543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.440589904785156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 18:59:42.583424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_51_3687.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_54_2584.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_56_2683.jpg', '/home/pi/Desktop/images/13012025/08/19/image_13012025_08_20_00_3605.jpg', '/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_05_2871.jpg', '/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_08_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_51_3687.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_54_2584.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_19_56_2683.jpg
/home/pi/Desktop/images/13012025/08/19/image_13012025_08_20_00_3605.jpg
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_05_2871.jpg
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_08_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329190586","1329190589","1329190598","1329190594","1329190576","1329190584"],"photo_ids_order":["1329190576","1329190584","1329190586","1329190589","1329190594","1329190598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd5b0774d65620c477afc3dc1c0f4f04.jpg","text":"TemporaryFile(/tmp/multipartBody7290827264134643124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964043765,"filename":"image_13012025_08_19_56_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d2d5981b8e1d829152506c5a63740358.jpg","text":"TemporaryFile(/tmp/multipartBody5919102402773694326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964043765,"filename":"image_13012025_08_20_00_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/374e9563b495911d58217acb2aea4551.jpg","text":"TemporaryFile(/tmp/multipartBody4341545792649560110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964043765,"filename":"image_13012025_08_20_08_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3edf91255d66bf6a4143d628e39f24bf.jpg","text":"TemporaryFile(/tmp/multipartBody2864898554526471074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964043765,"filename":"image_13012025_08_20_05_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b1b6a18d6ed638733f6b81274d0819e6.jpg","text":"TemporaryFile(/tmp/multipartBody2529738101588590014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964043765,"filename":"image_13012025_08_19_51_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bd0919ca1b85a3b4d4609cbe5fbc7250.jpg","text":"TemporaryFile(/tmp/multipartBody6715519629638804745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964043765,"filename":"image_13012025_08_19_54_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190586","file1":"1329190584","file0":"1329190576","file4":"1329190594","file5":"1329190598","file3":"1329190589"},"map_files_photo_id_array":[{"photo_id":"1329190598","filename":"file5"},{"photo_id":"1329190586","filename":"file2"},{"photo_id":"1329190594","filename":"file4"},{"photo_id":"1329190584","filename":"file1"},{"photo_id":"1329190576","filename":"file0"},{"photo_id":"1329190589","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329190586":["hashtag1","hashtag2"]},{"1329190589":["hashtag1","hashtag2"]},{"1329190598":["hashtag1","hashtag2"]},{"1329190594":["hashtag1","hashtag2"]},{"1329190576":["hashtag1","hashtag2"]},{"1329190584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329190586, 1329190589, 1329190598, 1329190594, 1329190576, 1329190584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.141557693481445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:00:22.138973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_21_2806.jpg', '/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_42_3651.jpg', '/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_33_2921.jpg', '/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_45_2764.jpg', '/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_45_3680.jpg', '/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_08_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_21_2806.jpg
/home/pi/Desktop/images/11012025/13/19/image_11012025_13_19_42_3651.jpg
/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_33_2921.jpg
/home/pi/Desktop/images/11012025/13/22/image_11012025_13_22_45_2764.jpg
/home/pi/Desktop/images/11012025/13/23/image_11012025_13_23_45_3680.jpg
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_08_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329190626","1329190629","1329190614","1329190622","1329190634","1329190618"],"photo_ids_order":["1329190614","1329190618","1329190622","1329190626","1329190629","1329190634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ecf16f2c9663d260fc2eb0fef7bd9dea.jpg","text":"TemporaryFile(/tmp/multipartBody6381792894236262414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964084753,"filename":"image_11012025_13_22_45_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0131a1f75f9b899c7583e430c3b56dd6.jpg","text":"TemporaryFile(/tmp/multipartBody8207193331403579511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964084753,"filename":"image_11012025_13_23_45_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/243261283f4ea60a3d0f51a8ddd12e10.jpg","text":"TemporaryFile(/tmp/multipartBody6467451100888472176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964084753,"filename":"image_11012025_13_19_21_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9da4a23a744602042c15d024e2b70bba.jpg","text":"TemporaryFile(/tmp/multipartBody6350883780598912055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964084753,"filename":"image_11012025_13_22_33_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e379f56fd9084f5f2419f9ad27c52822.jpg","text":"TemporaryFile(/tmp/multipartBody5360800916335298528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964084753,"filename":"image_11012025_13_24_08_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9085d5441efd02b361d1f2ac192ebd5c.jpg","text":"TemporaryFile(/tmp/multipartBody2217611618514660338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964084753,"filename":"image_11012025_13_19_42_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190622","file1":"1329190618","file0":"1329190614","file4":"1329190629","file5":"1329190634","file3":"1329190626"},"map_files_photo_id_array":[{"photo_id":"1329190634","filename":"file5"},{"photo_id":"1329190622","filename":"file2"},{"photo_id":"1329190629","filename":"file4"},{"photo_id":"1329190618","filename":"file1"},{"photo_id":"1329190614","filename":"file0"},{"photo_id":"1329190626","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329190626":["hashtag1","hashtag2"]},{"1329190629":["hashtag1","hashtag2"]},{"1329190614":["hashtag1","hashtag2"]},{"1329190622":["hashtag1","hashtag2"]},{"1329190634":["hashtag1","hashtag2"]},{"1329190618":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329190626, 1329190629, 1329190614, 1329190622, 1329190634, 1329190618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28972125053406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:01:03.157662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_11_2676.jpg', '/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_14_2705.jpg', '/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_18_3701.jpg', '/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_32_2864.jpg', '/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_36_3545.jpg', '/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_39_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_11_2676.jpg
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_14_2705.jpg
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_18_3701.jpg
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_32_2864.jpg
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_36_3545.jpg
/home/pi/Desktop/images/11012025/13/24/image_11012025_13_24_39_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329190827","1329190730","1329190864","1329190873","1329190660","1329190822"],"photo_ids_order":["1329190660","1329190730","1329190822","1329190827","1329190864","1329190873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c81771709d9c7edb338c3410f0e00914.jpg","text":"TemporaryFile(/tmp/multipartBody7858051923600876839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964125165,"filename":"image_11012025_13_24_32_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/588d04a4f29ad159d731fd98ffffb6c7.jpg","text":"TemporaryFile(/tmp/multipartBody6605499580955825275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964125165,"filename":"image_11012025_13_24_14_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f71f5d826995e09afdc5f65e8b93e9bf.jpg","text":"TemporaryFile(/tmp/multipartBody4557597468911943547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964125165,"filename":"image_11012025_13_24_36_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c4438000777496fde47202412c6586e7.jpg","text":"TemporaryFile(/tmp/multipartBody8877480595302892813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964125165,"filename":"image_11012025_13_24_39_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16f78d7da514d7958d600bbe1be53a0f.jpg","text":"TemporaryFile(/tmp/multipartBody932909206888835240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964125165,"filename":"image_11012025_13_24_11_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/20d5bc148d602af9040833aaa86060fc.jpg","text":"TemporaryFile(/tmp/multipartBody5265586843666171166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964125165,"filename":"image_11012025_13_24_18_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190822","file1":"1329190730","file0":"1329190660","file4":"1329190864","file5":"1329190873","file3":"1329190827"},"map_files_photo_id_array":[{"photo_id":"1329190873","filename":"file5"},{"photo_id":"1329190822","filename":"file2"},{"photo_id":"1329190864","filename":"file4"},{"photo_id":"1329190730","filename":"file1"},{"photo_id":"1329190660","filename":"file0"},{"photo_id":"1329190827","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329190827":["hashtag1","hashtag2"]},{"1329190730":["hashtag1","hashtag2"]},{"1329190864":["hashtag1","hashtag2"]},{"1329190873":["hashtag1","hashtag2"]},{"1329190660":["hashtag1","hashtag2"]},{"1329190822":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329190827, 1329190730, 1329190864, 1329190873, 1329190660, 1329190822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74440574645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:01:42.438787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_12_3522.jpg', '/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_18_3800.jpg', '/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_21_2599.jpg', '/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_27_5922.jpg', '/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_30_1588.jpg', '/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_36_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_12_3522.jpg
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_18_3800.jpg
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_21_2599.jpg
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_27_5922.jpg
/home/pi/Desktop/images/13012025/08/20/image_13012025_08_20_30_1588.jpg
/home/pi/Desktop/images/13012025/08/21/image_13012025_08_21_36_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329191013","1329190934","1329190937","1329190996","1329190972","1329191002"],"photo_ids_order":["1329190934","1329190937","1329190972","1329190996","1329191002","1329191013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e75766d91deb053ceac99d9811f70be6.jpg","text":"TemporaryFile(/tmp/multipartBody973880783575238735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964163560,"filename":"image_13012025_08_21_36_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/93296624689e0a811be7f3204653ea38.jpg","text":"TemporaryFile(/tmp/multipartBody6489118965966177556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964163560,"filename":"image_13012025_08_20_12_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c4684411a1820c59accd58267990947.jpg","text":"TemporaryFile(/tmp/multipartBody1935531264986182152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964163560,"filename":"image_13012025_08_20_18_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ef014050e8d2bfa282da20d8e8efbaa5.jpg","text":"TemporaryFile(/tmp/multipartBody1968562556649273519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964163560,"filename":"image_13012025_08_20_27_5922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/12267b6b4077c66ef9207f8ff9a46318.jpg","text":"TemporaryFile(/tmp/multipartBody7655721291912964882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964163560,"filename":"image_13012025_08_20_21_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f9990a28811033428064578063bdde2c.jpg","text":"TemporaryFile(/tmp/multipartBody6215646487070926765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964163560,"filename":"image_13012025_08_20_30_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329190972","file1":"1329190937","file0":"1329190934","file4":"1329191002","file5":"1329191013","file3":"1329190996"},"map_files_photo_id_array":[{"photo_id":"1329191013","filename":"file5"},{"photo_id":"1329190972","filename":"file2"},{"photo_id":"1329191002","filename":"file4"},{"photo_id":"1329190937","filename":"file1"},{"photo_id":"1329190934","filename":"file0"},{"photo_id":"1329190996","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329191013":["hashtag1","hashtag2"]},{"1329190934":["hashtag1","hashtag2"]},{"1329190937":["hashtag1","hashtag2"]},{"1329190996":["hashtag1","hashtag2"]},{"1329190972":["hashtag1","hashtag2"]},{"1329191002":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329191013, 1329190934, 1329190937, 1329190996, 1329190972, 1329191002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52778482437134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:02:22.579650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_03_3631.jpg', '/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_12_3787.jpg', '/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_32_2698.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_26_2785.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_29_3643.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_32_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_03_3631.jpg
/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_12_3787.jpg
/home/pi/Desktop/images/11012025/13/25/image_11012025_13_25_32_2698.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_26_2785.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_29_3643.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_32_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329191028","1329191039","1329191024","1329191044","1329191032","1329191035"],"photo_ids_order":["1329191024","1329191028","1329191032","1329191035","1329191039","1329191044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3273ebfa8f206e4628bb4c34c7488f17.jpg","text":"TemporaryFile(/tmp/multipartBody8166734369682920985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964205087,"filename":"image_11012025_13_25_12_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d20d0b12799afcfe5570569c242b6d5.jpg","text":"TemporaryFile(/tmp/multipartBody8587905953814198748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964205087,"filename":"image_11012025_13_26_29_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e57b4a3a5ffb504bf57f2f1851d5982.jpg","text":"TemporaryFile(/tmp/multipartBody7826208625796512985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964205087,"filename":"image_11012025_13_25_03_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1abddb4a3ecf9e9c3edc3b6b93fe2b04.jpg","text":"TemporaryFile(/tmp/multipartBody6460560755878056387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964205087,"filename":"image_11012025_13_26_32_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ce693c4099ef18256c8eedc6448fdfe3.jpg","text":"TemporaryFile(/tmp/multipartBody7551412132910194290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964205087,"filename":"image_11012025_13_25_32_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac9d65227c25ea2fef9aaa8cc8edefb6.jpg","text":"TemporaryFile(/tmp/multipartBody1206497495955335010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964205087,"filename":"image_11012025_13_26_26_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329191032","file1":"1329191028","file0":"1329191024","file4":"1329191039","file5":"1329191044","file3":"1329191035"},"map_files_photo_id_array":[{"photo_id":"1329191044","filename":"file5"},{"photo_id":"1329191032","filename":"file2"},{"photo_id":"1329191039","filename":"file4"},{"photo_id":"1329191028","filename":"file1"},{"photo_id":"1329191024","filename":"file0"},{"photo_id":"1329191035","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329191028":["hashtag1","hashtag2"]},{"1329191039":["hashtag1","hashtag2"]},{"1329191024":["hashtag1","hashtag2"]},{"1329191044":["hashtag1","hashtag2"]},{"1329191032":["hashtag1","hashtag2"]},{"1329191035":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329191028, 1329191039, 1329191024, 1329191044, 1329191032, 1329191035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49778628349304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:03:22.021435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_35_2666.jpg', '/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_50_3680.jpg', '/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_26_3645.jpg', '/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_56_2637.jpg', '/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_59_3661.jpg', '/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_20_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_35_2666.jpg
/home/pi/Desktop/images/11012025/13/26/image_11012025_13_26_50_3680.jpg
/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_26_3645.jpg
/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_56_2637.jpg
/home/pi/Desktop/images/11012025/13/27/image_11012025_13_27_59_3661.jpg
/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_20_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329191066","1329191051","1329191060","1329191053","1329191073","1329191076"],"photo_ids_order":["1329191051","1329191053","1329191060","1329191066","1329191073","1329191076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/138063b1153dc1a2698488ba49cafa5e.jpg","text":"TemporaryFile(/tmp/multipartBody7089867253341509830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964264462,"filename":"image_11012025_13_27_56_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c87ab2097035aae574e478fee268e930.jpg","text":"TemporaryFile(/tmp/multipartBody7225840297552519658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964264462,"filename":"image_11012025_13_26_35_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/971ef644d759b3b4a4f3b6d2c750a6a2.jpg","text":"TemporaryFile(/tmp/multipartBody6993028133898824139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964264462,"filename":"image_11012025_13_27_26_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e8b7fc395f7702874fbc6e70f76a2526.jpg","text":"TemporaryFile(/tmp/multipartBody4300858458361008331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964264462,"filename":"image_11012025_13_26_50_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b330858ee18ad91a90da50625f34834d.jpg","text":"TemporaryFile(/tmp/multipartBody1170606176375798714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964264462,"filename":"image_11012025_13_27_59_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/124dac5e34d17b07e2b5884640aa5005.jpg","text":"TemporaryFile(/tmp/multipartBody8014827956669313106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964264462,"filename":"image_11012025_13_28_20_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329191060","file1":"1329191053","file0":"1329191051","file4":"1329191073","file5":"1329191076","file3":"1329191066"},"map_files_photo_id_array":[{"photo_id":"1329191076","filename":"file5"},{"photo_id":"1329191060","filename":"file2"},{"photo_id":"1329191073","filename":"file4"},{"photo_id":"1329191053","filename":"file1"},{"photo_id":"1329191051","filename":"file0"},{"photo_id":"1329191066","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329191066":["hashtag1","hashtag2"]},{"1329191051":["hashtag1","hashtag2"]},{"1329191060":["hashtag1","hashtag2"]},{"1329191053":["hashtag1","hashtag2"]},{"1329191073":["hashtag1","hashtag2"]},{"1329191076":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329191066, 1329191051, 1329191060, 1329191053, 1329191073, 1329191076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.688570976257324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:04:02.495399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_32_2654.jpg', '/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_14_2788.jpg', '/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_31_2611.jpg', '/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_3666.jpg', '/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_07_2561.jpg', '/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_34_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/28/image_11012025_13_28_32_2654.jpg
/home/pi/Desktop/images/11012025/13/30/image_11012025_13_30_14_2788.jpg
/home/pi/Desktop/images/11012025/13/31/image_11012025_13_31_31_2611.jpg
/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_02_3666.jpg
/home/pi/Desktop/images/11012025/13/32/image_11012025_13_32_07_2561.jpg
/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_34_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329191096","1329191117","1329191092","1329191095","1329191113","1329191094"],"photo_ids_order":["1329191092","1329191094","1329191095","1329191096","1329191113","1329191117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/19216627f85b83d3cb2b9a379fea1658.jpg","text":"TemporaryFile(/tmp/multipartBody8288948635904070251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964304436,"filename":"image_11012025_13_32_02_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/adbb92dfe66f8b4b122975a18e204bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6736684298924537112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964304436,"filename":"image_11012025_13_36_34_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/55d65aec1957e7d1f9b8738007831d76.jpg","text":"TemporaryFile(/tmp/multipartBody641064308103241166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964304436,"filename":"image_11012025_13_28_32_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a1b1ec617705bfcd82d41279b43d20cb.jpg","text":"TemporaryFile(/tmp/multipartBody7965066193735211144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964304436,"filename":"image_11012025_13_31_31_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/820b29a2019d34864e18442f3cc4ad29.jpg","text":"TemporaryFile(/tmp/multipartBody6931079928293023270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964304436,"filename":"image_11012025_13_32_07_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf98df2d85868c163680ea4b361aa21c.jpg","text":"TemporaryFile(/tmp/multipartBody6497379737451070326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964304436,"filename":"image_11012025_13_30_14_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329191095","file1":"1329191094","file0":"1329191092","file4":"1329191113","file5":"1329191117","file3":"1329191096"},"map_files_photo_id_array":[{"photo_id":"1329191117","filename":"file5"},{"photo_id":"1329191095","filename":"file2"},{"photo_id":"1329191113","filename":"file4"},{"photo_id":"1329191094","filename":"file1"},{"photo_id":"1329191092","filename":"file0"},{"photo_id":"1329191096","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329191096":["hashtag1","hashtag2"]},{"1329191117":["hashtag1","hashtag2"]},{"1329191092":["hashtag1","hashtag2"]},{"1329191095":["hashtag1","hashtag2"]},{"1329191113":["hashtag1","hashtag2"]},{"1329191094":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329191096, 1329191117, 1329191092, 1329191095, 1329191113, 1329191094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53114366531372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:04:41.866153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_11_1604.jpg', '/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_36_2731.jpg', '/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_35_3556.jpg', '/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_41_2759.jpg', '/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_11_2557.jpg', '/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_14_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_11_1604.jpg
/home/pi/Desktop/images/13012025/08/22/image_13012025_08_22_36_2731.jpg
/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_35_3556.jpg
/home/pi/Desktop/images/13012025/08/24/image_13012025_08_24_41_2759.jpg
/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_11_2557.jpg
/home/pi/Desktop/images/13012025/08/25/image_13012025_08_25_14_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329191138","1329191155","1329191143","1329191151","1329191160","1329191148"],"photo_ids_order":["1329191138","1329191143","1329191148","1329191151","1329191155","1329191160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4207aced37cc5a8368d13fe0b8af7d5f.jpg","text":"TemporaryFile(/tmp/multipartBody9161746916264480802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964343036,"filename":"image_13012025_08_22_11_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2055cf4ca5e317f9e5a3d15d7bff264.jpg","text":"TemporaryFile(/tmp/multipartBody2909127656785482971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964343036,"filename":"image_13012025_08_25_11_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dfc143658e8f580b64c07dec24871a2c.jpg","text":"TemporaryFile(/tmp/multipartBody834188569726272576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964343036,"filename":"image_13012025_08_22_36_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/798a39f78bbe81907f094bb36246b228.jpg","text":"TemporaryFile(/tmp/multipartBody6900538564809159511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964343036,"filename":"image_13012025_08_24_41_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0fbbd92215e14d6b9d8bdccb0441c9c0.jpg","text":"TemporaryFile(/tmp/multipartBody5272138499259692072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964343036,"filename":"image_13012025_08_25_14_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/adb5585d94ddae1e9b3ded1694420426.jpg","text":"TemporaryFile(/tmp/multipartBody2385121323092376070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964343036,"filename":"image_13012025_08_24_35_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329191148","file1":"1329191143","file0":"1329191138","file4":"1329191155","file5":"1329191160","file3":"1329191151"},"map_files_photo_id_array":[{"photo_id":"1329191160","filename":"file5"},{"photo_id":"1329191148","filename":"file2"},{"photo_id":"1329191155","filename":"file4"},{"photo_id":"1329191143","filename":"file1"},{"photo_id":"1329191138","filename":"file0"},{"photo_id":"1329191151","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329191138":["hashtag1","hashtag2"]},{"1329191155":["hashtag1","hashtag2"]},{"1329191143":["hashtag1","hashtag2"]},{"1329191151":["hashtag1","hashtag2"]},{"1329191160":["hashtag1","hashtag2"]},{"1329191148":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329191138, 1329191155, 1329191143, 1329191151, 1329191160, 1329191148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84065628051758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:05:22.184610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_40_2771.jpg', '/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_52_2649.jpg', '/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_58_2592.jpg', '/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_45_2672.jpg', '/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_30_2786.jpg', '/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_46_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_40_2771.jpg
/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_52_2649.jpg
/home/pi/Desktop/images/11012025/13/36/image_11012025_13_36_58_2592.jpg
/home/pi/Desktop/images/11012025/13/41/image_11012025_13_41_45_2672.jpg
/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_30_2786.jpg
/home/pi/Desktop/images/11012025/13/42/image_11012025_13_42_46_3561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329191281","1329191260","1329191218","1329191326","1329191311","1329191175"],"photo_ids_order":["1329191175","1329191218","1329191260","1329191281","1329191311","1329191326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6b3fe270c4764bc432a10bf1b5faeb0e.jpg","text":"TemporaryFile(/tmp/multipartBody1616182647708266726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964384766,"filename":"image_11012025_13_41_45_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a662eae6d58ec4cdb2a88e074657177.jpg","text":"TemporaryFile(/tmp/multipartBody5625142486954691702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964384766,"filename":"image_11012025_13_36_58_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc38dc7bd8b3ea8dba6e13bcadf6eb80.jpg","text":"TemporaryFile(/tmp/multipartBody8737528861323099081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964384766,"filename":"image_11012025_13_36_52_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44e83b78ae9f59e474acc4820d24026e.jpg","text":"TemporaryFile(/tmp/multipartBody9220954183955822825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964384766,"filename":"image_11012025_13_42_46_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48fb77a52a78e5660b32957f0d709bbc.jpg","text":"TemporaryFile(/tmp/multipartBody7028877567419196562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964384766,"filename":"image_11012025_13_42_30_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6a2e0b3c7706aa0e6a6580844bc972bd.jpg","text":"TemporaryFile(/tmp/multipartBody2922095110796674460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964384766,"filename":"image_11012025_13_36_40_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329191260","file1":"1329191218","file0":"1329191175","file4":"1329191311","file5":"1329191326","file3":"1329191281"},"map_files_photo_id_array":[{"photo_id":"1329191326","filename":"file5"},{"photo_id":"1329191260","filename":"file2"},{"photo_id":"1329191311","filename":"file4"},{"photo_id":"1329191218","filename":"file1"},{"photo_id":"1329191175","filename":"file0"},{"photo_id":"1329191281","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329191281":["hashtag1","hashtag2"]},{"1329191260":["hashtag1","hashtag2"]},{"1329191218":["hashtag1","hashtag2"]},{"1329191326":["hashtag1","hashtag2"]},{"1329191311":["hashtag1","hashtag2"]},{"1329191175":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329191281, 1329191260, 1329191218, 1329191326, 1329191311, 1329191175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31451678276062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:06:02.387704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_39_2628.jpg', '/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_27_2619.jpg', '/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_45_3586.jpg', '/home/pi/Desktop/images/11012025/13/51/image_11012025_13_51_08_2677.jpg', '/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_26_2570.jpg', '/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_05_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/13/44/image_11012025_13_44_39_2628.jpg
/home/pi/Desktop/images/11012025/13/47/image_11012025_13_47_27_2619.jpg
/home/pi/Desktop/images/11012025/13/50/image_11012025_13_50_45_3586.jpg
/home/pi/Desktop/images/11012025/13/51/image_11012025_13_51_08_2677.jpg
/home/pi/Desktop/images/11012025/13/57/image_11012025_13_57_26_2570.jpg
/home/pi/Desktop/images/11012025/13/58/image_11012025_13_58_05_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329191372","1329191375","1329191366","1329191368","1329191377","1329191373"],"photo_ids_order":["1329191366","1329191368","1329191372","1329191373","1329191375","1329191377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2b2de6bdccee93fba0a7660417bb2e40.jpg","text":"TemporaryFile(/tmp/multipartBody7857698216122903934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964424201,"filename":"image_11012025_13_50_45_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84689c1b74168503aaf2224f4dfd5911.jpg","text":"TemporaryFile(/tmp/multipartBody4737048430412592034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964424201,"filename":"image_11012025_13_57_26_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/003fc28d366fafd03460067ac07d34c4.jpg","text":"TemporaryFile(/tmp/multipartBody2346084495237413824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964424201,"filename":"image_11012025_13_44_39_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b11eb37fbc3101f7606d02d25d241f92.jpg","text":"TemporaryFile(/tmp/multipartBody640664384569819461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964424201,"filename":"image_11012025_13_47_27_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e79fc726d3c2944961ff211b0da76615.jpg","text":"TemporaryFile(/tmp/multipartBody3278512723127120205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964424201,"filename":"image_11012025_13_58_05_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d236ba3cdad619fbbafab75386f2ea71.jpg","text":"TemporaryFile(/tmp/multipartBody1398309790127657150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964424201,"filename":"image_11012025_13_51_08_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329191372","file1":"1329191368","file0":"1329191366","file4":"1329191375","file5":"1329191377","file3":"1329191373"},"map_files_photo_id_array":[{"photo_id":"1329191377","filename":"file5"},{"photo_id":"1329191372","filename":"file2"},{"photo_id":"1329191375","filename":"file4"},{"photo_id":"1329191368","filename":"file1"},{"photo_id":"1329191366","filename":"file0"},{"photo_id":"1329191373","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329191372":["hashtag1","hashtag2"]},{"1329191375":["hashtag1","hashtag2"]},{"1329191366":["hashtag1","hashtag2"]},{"1329191368":["hashtag1","hashtag2"]},{"1329191377":["hashtag1","hashtag2"]},{"1329191373":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329191372, 1329191375, 1329191366, 1329191368, 1329191377, 1329191373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.743356227874756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:06:41.833861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_41_3787.jpg', '/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_23_2742.jpg', '/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_11_3663.jpg', '/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_17_2727.jpg', '/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_44_2671.jpg', '/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_08_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/28/image_13012025_08_28_41_3787.jpg
/home/pi/Desktop/images/13012025/08/30/image_13012025_08_30_23_2742.jpg
/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_11_3663.jpg
/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_17_2727.jpg
/home/pi/Desktop/images/13012025/08/31/image_13012025_08_31_44_2671.jpg
/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_08_2534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329191393","1329191387","1329191396","1329191405","1329191667","1329191562"],"photo_ids_order":["1329191387","1329191393","1329191396","1329191405","1329191562","1329191667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/674db33192b9e5b74a5b1346449938ff.jpg","text":"TemporaryFile(/tmp/multipartBody7517212616183480261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964462996,"filename":"image_13012025_08_30_23_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59373c3f67cedb1c36f802cb248929de.jpg","text":"TemporaryFile(/tmp/multipartBody3784356748321215905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964462996,"filename":"image_13012025_08_28_41_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc188a4d9f63d6fcdf857807aba7bc6f.jpg","text":"TemporaryFile(/tmp/multipartBody3622564885630530873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964462996,"filename":"image_13012025_08_31_11_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4b8f7d093afdb90506935af6a6712e75.jpg","text":"TemporaryFile(/tmp/multipartBody272271023925753807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964462996,"filename":"image_13012025_08_31_17_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad10125c3bc2099397cc6a37d212217b.jpg","text":"TemporaryFile(/tmp/multipartBody321874663217101362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964462996,"filename":"image_13012025_08_32_08_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/df4f753b488d6aedfa33002ccd596e91.jpg","text":"TemporaryFile(/tmp/multipartBody6661178185915065711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964462996,"filename":"image_13012025_08_31_44_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329191396","file1":"1329191393","file0":"1329191387","file4":"1329191562","file5":"1329191667","file3":"1329191405"},"map_files_photo_id_array":[{"photo_id":"1329191667","filename":"file5"},{"photo_id":"1329191396","filename":"file2"},{"photo_id":"1329191562","filename":"file4"},{"photo_id":"1329191393","filename":"file1"},{"photo_id":"1329191387","filename":"file0"},{"photo_id":"1329191405","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329191393":["hashtag1","hashtag2"]},{"1329191387":["hashtag1","hashtag2"]},{"1329191396":["hashtag1","hashtag2"]},{"1329191405":["hashtag1","hashtag2"]},{"1329191667":["hashtag1","hashtag2"]},{"1329191562":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329191393, 1329191387, 1329191396, 1329191405, 1329191667, 1329191562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.172558069229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:07:41.795776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_17_2690.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_50_3615.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_55_2586.jpg', '/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_59_3680.jpg', '/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_01_2689.jpg', '/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_04_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/32/image_13012025_08_32_17_2690.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_50_3615.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_55_2586.jpg
/home/pi/Desktop/images/13012025/08/35/image_13012025_08_35_59_3680.jpg
/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_01_2689.jpg
/home/pi/Desktop/images/13012025/08/36/image_13012025_08_36_04_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329192280","1329192292","1329192294","1329192288","1329192285","1329192290"],"photo_ids_order":["1329192280","1329192285","1329192288","1329192290","1329192292","1329192294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16708143aaee687ac7b921b5cef2ae5f.jpg","text":"TemporaryFile(/tmp/multipartBody3889409423128135883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964522912,"filename":"image_13012025_08_32_17_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4aa1454be12c3892bfe1cbee2bafeca7.jpg","text":"TemporaryFile(/tmp/multipartBody904849948127819402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964522912,"filename":"image_13012025_08_36_01_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5ac435e6dc2c48ecc654c3f32cbd4f94.jpg","text":"TemporaryFile(/tmp/multipartBody6041590574998826583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964522912,"filename":"image_13012025_08_36_04_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0217174f960edbddd89ab2f95251e8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8951136400893810948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964522912,"filename":"image_13012025_08_35_55_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/43e02cd0ddf0ce8c13df226ac280c26c.jpg","text":"TemporaryFile(/tmp/multipartBody1076369527808613040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964522912,"filename":"image_13012025_08_35_50_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/948fd02e745a58bd9caa631c0df02850.jpg","text":"TemporaryFile(/tmp/multipartBody1931382675227620914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964522912,"filename":"image_13012025_08_35_59_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329192288","file1":"1329192285","file0":"1329192280","file4":"1329192292","file5":"1329192294","file3":"1329192290"},"map_files_photo_id_array":[{"photo_id":"1329192294","filename":"file5"},{"photo_id":"1329192288","filename":"file2"},{"photo_id":"1329192292","filename":"file4"},{"photo_id":"1329192285","filename":"file1"},{"photo_id":"1329192280","filename":"file0"},{"photo_id":"1329192290","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329192280":["hashtag1","hashtag2"]},{"1329192292":["hashtag1","hashtag2"]},{"1329192294":["hashtag1","hashtag2"]},{"1329192288":["hashtag1","hashtag2"]},{"1329192285":["hashtag1","hashtag2"]},{"1329192290":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329192280, 1329192292, 1329192294, 1329192288, 1329192285, 1329192290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.366833448410034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:08:22.656948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_22_3593.jpg', '/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_28_2653.jpg', '/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_37_2737.jpg', '/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_43_2741.jpg', '/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_04_3833.jpg', '/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_10_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_22_3593.jpg
/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_28_2653.jpg
/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_37_2737.jpg
/home/pi/Desktop/images/11012025/14/04/image_11012025_14_04_43_2741.jpg
/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_04_3833.jpg
/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_10_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329192302","1329192311","1329192305","1329192308","1329192387","1329192300"],"photo_ids_order":["1329192300","1329192302","1329192305","1329192308","1329192311","1329192387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be09f9e2313b9a9d7d5559612bc97811.jpg","text":"TemporaryFile(/tmp/multipartBody5668918285468777175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964565205,"filename":"image_11012025_14_04_28_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1ab1daad13b218f45e57ae5395174687.jpg","text":"TemporaryFile(/tmp/multipartBody8495743986730515271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964565205,"filename":"image_11012025_14_05_04_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0754afb96472d4163235fedc9e6365f.jpg","text":"TemporaryFile(/tmp/multipartBody8731999571179039061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964565205,"filename":"image_11012025_14_04_37_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8d3babd712fe3c1c674e3ec412d19f1.jpg","text":"TemporaryFile(/tmp/multipartBody6181601334719088299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964565205,"filename":"image_11012025_14_04_43_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e25dff96a56475ac6b4b7f76f5861ec5.jpg","text":"TemporaryFile(/tmp/multipartBody7115035491712044906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964565205,"filename":"image_11012025_14_05_10_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/07177f9c8215023741f4d4286bc865e0.jpg","text":"TemporaryFile(/tmp/multipartBody8121631524152746694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964565205,"filename":"image_11012025_14_04_22_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329192305","file1":"1329192302","file0":"1329192300","file4":"1329192311","file5":"1329192387","file3":"1329192308"},"map_files_photo_id_array":[{"photo_id":"1329192387","filename":"file5"},{"photo_id":"1329192305","filename":"file2"},{"photo_id":"1329192311","filename":"file4"},{"photo_id":"1329192302","filename":"file1"},{"photo_id":"1329192300","filename":"file0"},{"photo_id":"1329192308","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329192302":["hashtag1","hashtag2"]},{"1329192311":["hashtag1","hashtag2"]},{"1329192305":["hashtag1","hashtag2"]},{"1329192308":["hashtag1","hashtag2"]},{"1329192387":["hashtag1","hashtag2"]},{"1329192300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329192302, 1329192311, 1329192305, 1329192308, 1329192387, 1329192300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20074391365051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:09:02.923607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_16_3772.jpg', '/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_33_2644.jpg', '/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_39_2583.jpg', '/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_45_2672.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_24_2670.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_27_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_16_3772.jpg
/home/pi/Desktop/images/11012025/14/05/image_11012025_14_05_33_2644.jpg
/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_39_2583.jpg
/home/pi/Desktop/images/11012025/14/11/image_11012025_14_11_45_2672.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_24_2670.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_27_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329192620","1329192685","1329192682","1329192622","1329192615","1329192606"],"photo_ids_order":["1329192606","1329192615","1329192620","1329192622","1329192682","1329192685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/436b5161d116024e2592e8f7f9064f3d.jpg","text":"TemporaryFile(/tmp/multipartBody7321525613643225387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964605043,"filename":"image_11012025_14_11_39_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/df9f23514875ec8805f31d5fe6b7ffa6.jpg","text":"TemporaryFile(/tmp/multipartBody8649054238577219889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964605043,"filename":"image_11012025_14_12_27_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e9511f781802b21f7721e21ee5bbf5c3.jpg","text":"TemporaryFile(/tmp/multipartBody4905940467265706222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964605043,"filename":"image_11012025_14_12_24_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/89a648d09c170317dd8e7b7cce71c40f.jpg","text":"TemporaryFile(/tmp/multipartBody2423228283459407093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964605043,"filename":"image_11012025_14_11_45_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76466acd428a6d718b5e016f5462019e.jpg","text":"TemporaryFile(/tmp/multipartBody2975744816983303043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964605043,"filename":"image_11012025_14_05_33_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/addb6804600c411d5c5d16df89ca35cc.jpg","text":"TemporaryFile(/tmp/multipartBody2174273505786625329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964605043,"filename":"image_11012025_14_05_16_3772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329192620","file1":"1329192615","file0":"1329192606","file4":"1329192682","file5":"1329192685","file3":"1329192622"},"map_files_photo_id_array":[{"photo_id":"1329192685","filename":"file5"},{"photo_id":"1329192620","filename":"file2"},{"photo_id":"1329192682","filename":"file4"},{"photo_id":"1329192615","filename":"file1"},{"photo_id":"1329192606","filename":"file0"},{"photo_id":"1329192622","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329192620":["hashtag1","hashtag2"]},{"1329192685":["hashtag1","hashtag2"]},{"1329192682":["hashtag1","hashtag2"]},{"1329192622":["hashtag1","hashtag2"]},{"1329192615":["hashtag1","hashtag2"]},{"1329192606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329192620, 1329192685, 1329192682, 1329192622, 1329192615, 1329192606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.982319831848145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:09:42.040215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_3584.jpg', '/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_04_2596.jpg', '/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_11_3693.jpg', '/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_13_2720.jpg', '/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_16_2559.jpg', '/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_20_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_02_3584.jpg
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_04_2596.jpg
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_11_3693.jpg
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_13_2720.jpg
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_16_2559.jpg
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_20_3705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329192752","1329192778","1329192757","1329192792","1329192788","1329192779"],"photo_ids_order":["1329192752","1329192757","1329192778","1329192779","1329192788","1329192792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee0773dd710b6dd13da97607b2306695.jpg","text":"TemporaryFile(/tmp/multipartBody155989060391069874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964643289,"filename":"image_13012025_08_38_02_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a9bb90585e317a953bae4da0fb4e7ad.jpg","text":"TemporaryFile(/tmp/multipartBody6082426694452327735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964643289,"filename":"image_13012025_08_38_11_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/13493c54ee8414ca3921fbd603375b93.jpg","text":"TemporaryFile(/tmp/multipartBody4438445672263402300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964643289,"filename":"image_13012025_08_38_04_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b56dc8f6b4ff23af795b5fad0a64379f.jpg","text":"TemporaryFile(/tmp/multipartBody7589878657069936907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964643289,"filename":"image_13012025_08_38_20_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a85422547fb51f4047a3ee1545b37a73.jpg","text":"TemporaryFile(/tmp/multipartBody1590777682679897744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964643289,"filename":"image_13012025_08_38_16_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d14c863b8ff2b9c78711b2296899df14.jpg","text":"TemporaryFile(/tmp/multipartBody5821072273568182239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964643289,"filename":"image_13012025_08_38_13_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329192778","file1":"1329192757","file0":"1329192752","file4":"1329192788","file5":"1329192792","file3":"1329192779"},"map_files_photo_id_array":[{"photo_id":"1329192792","filename":"file5"},{"photo_id":"1329192778","filename":"file2"},{"photo_id":"1329192788","filename":"file4"},{"photo_id":"1329192757","filename":"file1"},{"photo_id":"1329192752","filename":"file0"},{"photo_id":"1329192779","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329192752":["hashtag1","hashtag2"]},{"1329192778":["hashtag1","hashtag2"]},{"1329192757":["hashtag1","hashtag2"]},{"1329192792":["hashtag1","hashtag2"]},{"1329192788":["hashtag1","hashtag2"]},{"1329192779":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329192752, 1329192778, 1329192757, 1329192792, 1329192788, 1329192779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51170063018799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:10:21.831575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_39_2636.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_42_2923.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_45_3818.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_48_2607.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_51_2810.jpg', '/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_54_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_39_2636.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_42_2923.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_45_3818.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_48_2607.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_51_2810.jpg
/home/pi/Desktop/images/11012025/14/12/image_11012025_14_12_54_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329192979","1329192952","1329192876","1329192890","1329192992","1329192857"],"photo_ids_order":["1329192857","1329192876","1329192890","1329192952","1329192979","1329192992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1a1553a7405e2f0835504d85c5611f13.jpg","text":"TemporaryFile(/tmp/multipartBody9108307323709938521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964684311,"filename":"image_11012025_14_12_51_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a033872596e20e7b62a7098c38eb6a9c.jpg","text":"TemporaryFile(/tmp/multipartBody6238665047937392183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964684311,"filename":"image_11012025_14_12_48_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7e14096b76f3036db52987a3129f1e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8047779149987451784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964684311,"filename":"image_11012025_14_12_42_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/78a35caff9bb49eea1374b4d7a357e78.jpg","text":"TemporaryFile(/tmp/multipartBody6842949287211510943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964684311,"filename":"image_11012025_14_12_45_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a18aa4fc89b1ba8e8142b277b1ffe10.jpg","text":"TemporaryFile(/tmp/multipartBody1977107784886853204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964684311,"filename":"image_11012025_14_12_54_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/132d3370f2ef8640e532623fc0a79376.jpg","text":"TemporaryFile(/tmp/multipartBody5333610107469054487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964684311,"filename":"image_11012025_14_12_39_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329192890","file1":"1329192876","file0":"1329192857","file4":"1329192979","file5":"1329192992","file3":"1329192952"},"map_files_photo_id_array":[{"photo_id":"1329192992","filename":"file5"},{"photo_id":"1329192890","filename":"file2"},{"photo_id":"1329192979","filename":"file4"},{"photo_id":"1329192876","filename":"file1"},{"photo_id":"1329192857","filename":"file0"},{"photo_id":"1329192952","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329192979":["hashtag1","hashtag2"]},{"1329192952":["hashtag1","hashtag2"]},{"1329192876":["hashtag1","hashtag2"]},{"1329192890":["hashtag1","hashtag2"]},{"1329192992":["hashtag1","hashtag2"]},{"1329192857":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329192979, 1329192952, 1329192876, 1329192890, 1329192992, 1329192857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65847897529602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:11:02.920404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_57_2618.jpg', '/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_21_2707.jpg', '/home/pi/Desktop/images/11012025/14/15/image_11012025_14_15_27_3598.jpg', '/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_23_2882.jpg', '/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_54_2728.jpg', '/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_56_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/13/image_11012025_14_13_57_2618.jpg
/home/pi/Desktop/images/11012025/14/14/image_11012025_14_14_21_2707.jpg
/home/pi/Desktop/images/11012025/14/15/image_11012025_14_15_27_3598.jpg
/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_23_2882.jpg
/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_54_2728.jpg
/home/pi/Desktop/images/11012025/14/16/image_11012025_14_16_56_2733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193030","1329193021","1329193017","1329193031","1329193025","1329193019"],"photo_ids_order":["1329193017","1329193019","1329193021","1329193025","1329193030","1329193031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a3a5d3b7b19c2270a933cf24fe315e9.jpg","text":"TemporaryFile(/tmp/multipartBody1850341283873091326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964725151,"filename":"image_11012025_14_16_54_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/efd42db01e486e726c63ba9d08ff1b1f.jpg","text":"TemporaryFile(/tmp/multipartBody617122040266140313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964725151,"filename":"image_11012025_14_15_27_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0b64e18e7bbe83690c874df38a1553c.jpg","text":"TemporaryFile(/tmp/multipartBody2094041125049463713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964725151,"filename":"image_11012025_14_13_57_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f9a79fcc0e2673158fff46152a240c9.jpg","text":"TemporaryFile(/tmp/multipartBody1441152736471629798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964725151,"filename":"image_11012025_14_16_56_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c9b80b6afd9bdf320aa1c60f44d1118.jpg","text":"TemporaryFile(/tmp/multipartBody453825693765772038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964725151,"filename":"image_11012025_14_16_23_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a87653654379a43ad692b3365f9647a0.jpg","text":"TemporaryFile(/tmp/multipartBody8306703992043544853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964725151,"filename":"image_11012025_14_14_21_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193021","file1":"1329193019","file0":"1329193017","file4":"1329193030","file5":"1329193031","file3":"1329193025"},"map_files_photo_id_array":[{"photo_id":"1329193031","filename":"file5"},{"photo_id":"1329193021","filename":"file2"},{"photo_id":"1329193030","filename":"file4"},{"photo_id":"1329193019","filename":"file1"},{"photo_id":"1329193017","filename":"file0"},{"photo_id":"1329193025","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329193030":["hashtag1","hashtag2"]},{"1329193021":["hashtag1","hashtag2"]},{"1329193017":["hashtag1","hashtag2"]},{"1329193031":["hashtag1","hashtag2"]},{"1329193025":["hashtag1","hashtag2"]},{"1329193019":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329193030, 1329193021, 1329193017, 1329193031, 1329193025, 1329193019)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.85012865066528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:12:03.117963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/16/image_11012025_14_17_00_3559.jpg', '/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_03_2709.jpg', '/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_26_2765.jpg', '/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_53_2700.jpg', '/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_03_2814.jpg', '/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_30_3832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/16/image_11012025_14_17_00_3559.jpg
/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_03_2709.jpg
/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_26_2765.jpg
/home/pi/Desktop/images/11012025/14/17/image_11012025_14_17_53_2700.jpg
/home/pi/Desktop/images/11012025/14/18/image_11012025_14_18_03_2814.jpg
/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_30_3832.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193087","1329193126","1329193129","1329193092","1329193089","1329193080"],"photo_ids_order":["1329193080","1329193087","1329193089","1329193092","1329193126","1329193129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d9b6274f7c5292848ef39bfec6aaf069.jpg","text":"TemporaryFile(/tmp/multipartBody6246289268454258560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964785010,"filename":"image_11012025_14_17_03_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/56b8a9a01398fdcc7f646e77917d8e5c.jpg","text":"TemporaryFile(/tmp/multipartBody1392108474437711199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964785010,"filename":"image_11012025_14_18_03_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bcc60e4aa7886cd2ac4b6b2bea0cde93.jpg","text":"TemporaryFile(/tmp/multipartBody5208220604774872565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964785010,"filename":"image_11012025_14_19_30_3832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5df83a937fcbb4768f87c460027d7812.jpg","text":"TemporaryFile(/tmp/multipartBody5258198511999698361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964785010,"filename":"image_11012025_14_17_53_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74d79b7489157e3c8b0ab3ab49534c03.jpg","text":"TemporaryFile(/tmp/multipartBody6119354084032767272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964785010,"filename":"image_11012025_14_17_26_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4c086264e6ec2f801dce99bda81b2c2.jpg","text":"TemporaryFile(/tmp/multipartBody3426689577259553532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964785010,"filename":"image_11012025_14_17_00_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193089","file1":"1329193087","file0":"1329193080","file4":"1329193126","file5":"1329193129","file3":"1329193092"},"map_files_photo_id_array":[{"photo_id":"1329193129","filename":"file5"},{"photo_id":"1329193089","filename":"file2"},{"photo_id":"1329193126","filename":"file4"},{"photo_id":"1329193087","filename":"file1"},{"photo_id":"1329193080","filename":"file0"},{"photo_id":"1329193092","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329193087":["hashtag1","hashtag2"]},{"1329193126":["hashtag1","hashtag2"]},{"1329193129":["hashtag1","hashtag2"]},{"1329193092":["hashtag1","hashtag2"]},{"1329193089":["hashtag1","hashtag2"]},{"1329193080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329193087, 1329193126, 1329193129, 1329193092, 1329193089, 1329193080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61660885810852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:12:42.648235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_43_2751.jpg', '/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_52_2591.jpg', '/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_56_3747.jpg', '/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_46_3635.jpg', '/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_55_3559.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_01_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_43_2751.jpg
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_52_2591.jpg
/home/pi/Desktop/images/13012025/08/38/image_13012025_08_38_56_3747.jpg
/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_46_3635.jpg
/home/pi/Desktop/images/13012025/08/39/image_13012025_08_39_55_3559.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_01_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193135","1329193145","1329193154","1329193148","1329193157","1329193139"],"photo_ids_order":["1329193135","1329193139","1329193145","1329193148","1329193154","1329193157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac0c511662e6ea38448fb645326d6162.jpg","text":"TemporaryFile(/tmp/multipartBody8902219811921941751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964823837,"filename":"image_13012025_08_38_43_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5be6d213d213da03b83b0bd061d5bd20.jpg","text":"TemporaryFile(/tmp/multipartBody2661470516386376067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964823837,"filename":"image_13012025_08_38_56_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9c4d4317644ab36a5e550cd58852f623.jpg","text":"TemporaryFile(/tmp/multipartBody2166811932381972987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964823837,"filename":"image_13012025_08_39_55_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d600acb775414b1680e07015dd6807c.jpg","text":"TemporaryFile(/tmp/multipartBody6465445567961487224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964823837,"filename":"image_13012025_08_39_46_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c9ae85c7c79c31ff392c2c1eedae727.jpg","text":"TemporaryFile(/tmp/multipartBody3690546063644471763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964823837,"filename":"image_13012025_08_40_01_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/995c9d96f7b0a7370236f6930f61b28e.jpg","text":"TemporaryFile(/tmp/multipartBody3823717184774786002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964823837,"filename":"image_13012025_08_38_52_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193145","file1":"1329193139","file0":"1329193135","file4":"1329193154","file5":"1329193157","file3":"1329193148"},"map_files_photo_id_array":[{"photo_id":"1329193157","filename":"file5"},{"photo_id":"1329193145","filename":"file2"},{"photo_id":"1329193154","filename":"file4"},{"photo_id":"1329193139","filename":"file1"},{"photo_id":"1329193135","filename":"file0"},{"photo_id":"1329193148","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329193135":["hashtag1","hashtag2"]},{"1329193145":["hashtag1","hashtag2"]},{"1329193154":["hashtag1","hashtag2"]},{"1329193148":["hashtag1","hashtag2"]},{"1329193157":["hashtag1","hashtag2"]},{"1329193139":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329193135, 1329193145, 1329193154, 1329193148, 1329193157, 1329193139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.207948207855225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:13:21.997171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_53_2561.jpg', '/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_08_2791.jpg', '/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_12_3660.jpg', '/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_14_2618.jpg', '/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_23_2713.jpg', '/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_26_2915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/19/image_11012025_14_19_53_2561.jpg
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_08_2791.jpg
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_12_3660.jpg
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_14_2618.jpg
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_23_2713.jpg
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_26_2915.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193165","1329193173","1329193182","1329193163","1329193187","1329193169"],"photo_ids_order":["1329193163","1329193165","1329193169","1329193173","1329193182","1329193187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e09e233bc54cb1e50ad75ebcdd83ec88.jpg","text":"TemporaryFile(/tmp/multipartBody6049945677072779776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964864484,"filename":"image_11012025_14_21_08_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c24411085c801d6e8d148129370116c0.jpg","text":"TemporaryFile(/tmp/multipartBody8669810409689872041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964864484,"filename":"image_11012025_14_21_14_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2583141dc3d7062d7e85538c082767d7.jpg","text":"TemporaryFile(/tmp/multipartBody749233798441208263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964864484,"filename":"image_11012025_14_21_23_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/79014bf0164d50a91d05c90bb9a69d47.jpg","text":"TemporaryFile(/tmp/multipartBody4855809911011720603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964864484,"filename":"image_11012025_14_19_53_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a0a3acf62eef7590048b3b67a799153c.jpg","text":"TemporaryFile(/tmp/multipartBody18896827538272353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964864484,"filename":"image_11012025_14_21_26_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/731d0b9e53e4899d01acbfd72bce372a.jpg","text":"TemporaryFile(/tmp/multipartBody4510874593534503805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964864484,"filename":"image_11012025_14_21_12_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193169","file1":"1329193165","file0":"1329193163","file4":"1329193182","file5":"1329193187","file3":"1329193173"},"map_files_photo_id_array":[{"photo_id":"1329193187","filename":"file5"},{"photo_id":"1329193169","filename":"file2"},{"photo_id":"1329193182","filename":"file4"},{"photo_id":"1329193165","filename":"file1"},{"photo_id":"1329193163","filename":"file0"},{"photo_id":"1329193173","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329193165":["hashtag1","hashtag2"]},{"1329193173":["hashtag1","hashtag2"]},{"1329193182":["hashtag1","hashtag2"]},{"1329193163":["hashtag1","hashtag2"]},{"1329193187":["hashtag1","hashtag2"]},{"1329193169":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329193165, 1329193173, 1329193182, 1329193163, 1329193187, 1329193169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23390054702759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:14:03.590621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_47_2573.jpg', '/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_56_2608.jpg', '/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_50_2687.jpg', '/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_11_2637.jpg', '/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_58_2813.jpg', '/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_14_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_47_2573.jpg
/home/pi/Desktop/images/11012025/14/21/image_11012025_14_21_56_2608.jpg
/home/pi/Desktop/images/11012025/14/22/image_11012025_14_22_50_2687.jpg
/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_11_2637.jpg
/home/pi/Desktop/images/11012025/14/24/image_11012025_14_24_58_2813.jpg
/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_14_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193205","1329193191","1329193221","1329193203","1329193212","1329193193"],"photo_ids_order":["1329193191","1329193193","1329193203","1329193205","1329193212","1329193221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4790c2fd7df8dc27b949af8cd4e2365a.jpg","text":"TemporaryFile(/tmp/multipartBody7813821746254852083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964905488,"filename":"image_11012025_14_24_11_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab5167e5ff88ac5eeb79890b4ab963d1.jpg","text":"TemporaryFile(/tmp/multipartBody1144711169839620211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964905488,"filename":"image_11012025_14_21_47_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/698bf78fe9a11c91e2cd904606f26fdf.jpg","text":"TemporaryFile(/tmp/multipartBody1831231419666940872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964905488,"filename":"image_11012025_14_25_14_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/51fdea23f555e98ab53351e31fac6496.jpg","text":"TemporaryFile(/tmp/multipartBody2342057170563304952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964905488,"filename":"image_11012025_14_22_50_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c86dfdf652bed687e496174672fbaa20.jpg","text":"TemporaryFile(/tmp/multipartBody877790875888535984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964905488,"filename":"image_11012025_14_24_58_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38f30f220929b3e7533bd875a8e2813b.jpg","text":"TemporaryFile(/tmp/multipartBody8555124256294447327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964905488,"filename":"image_11012025_14_21_56_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193203","file1":"1329193193","file0":"1329193191","file4":"1329193212","file5":"1329193221","file3":"1329193205"},"map_files_photo_id_array":[{"photo_id":"1329193221","filename":"file5"},{"photo_id":"1329193203","filename":"file2"},{"photo_id":"1329193212","filename":"file4"},{"photo_id":"1329193193","filename":"file1"},{"photo_id":"1329193191","filename":"file0"},{"photo_id":"1329193205","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329193205":["hashtag1","hashtag2"]},{"1329193191":["hashtag1","hashtag2"]},{"1329193221":["hashtag1","hashtag2"]},{"1329193203":["hashtag1","hashtag2"]},{"1329193212":["hashtag1","hashtag2"]},{"1329193193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329193205, 1329193191, 1329193221, 1329193203, 1329193212, 1329193193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30382037162781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:14:42.737669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_04_2726.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_10_2577.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_13_2659.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_17_3780.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_22_2668.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_26_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_04_2726.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_10_2577.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_13_2659.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_17_3780.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_22_2668.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_26_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193240","1329193254","1329193248","1329193251","1329193244","1329193235"],"photo_ids_order":["1329193235","1329193240","1329193244","1329193248","1329193251","1329193254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6af58fad169b965721c99178ea8f9d8a.jpg","text":"TemporaryFile(/tmp/multipartBody3920848482123035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964943953,"filename":"image_13012025_08_40_10_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8f614def6b04da75795f957e3cd53d26.jpg","text":"TemporaryFile(/tmp/multipartBody7576606882162347200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964943953,"filename":"image_13012025_08_40_26_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/17aee6d8fadd34439bf958d70c5efb90.jpg","text":"TemporaryFile(/tmp/multipartBody8087585769011052087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964943953,"filename":"image_13012025_08_40_17_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d398c0e0b24c46480689c15be5478bf9.jpg","text":"TemporaryFile(/tmp/multipartBody7870936428301179177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964943953,"filename":"image_13012025_08_40_22_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/065459c2f31c1a8d8202392b6a20ba08.jpg","text":"TemporaryFile(/tmp/multipartBody3273157916317650557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964943953,"filename":"image_13012025_08_40_13_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24f09eabb49c005a23eddd707f644c95.jpg","text":"TemporaryFile(/tmp/multipartBody1246806263995448695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964943953,"filename":"image_13012025_08_40_04_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193244","file1":"1329193240","file0":"1329193235","file4":"1329193251","file5":"1329193254","file3":"1329193248"},"map_files_photo_id_array":[{"photo_id":"1329193254","filename":"file5"},{"photo_id":"1329193244","filename":"file2"},{"photo_id":"1329193251","filename":"file4"},{"photo_id":"1329193240","filename":"file1"},{"photo_id":"1329193235","filename":"file0"},{"photo_id":"1329193248","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329193240":["hashtag1","hashtag2"]},{"1329193254":["hashtag1","hashtag2"]},{"1329193248":["hashtag1","hashtag2"]},{"1329193251":["hashtag1","hashtag2"]},{"1329193244":["hashtag1","hashtag2"]},{"1329193235":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329193240, 1329193254, 1329193248, 1329193251, 1329193244, 1329193235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23264288902283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:15:22.108748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_32_2682.jpg', '/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_55_2634.jpg', '/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_40_2605.jpg', '/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_47_2624.jpg', '/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_55_2705.jpg', '/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_34_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_32_2682.jpg
/home/pi/Desktop/images/11012025/14/25/image_11012025_14_25_55_2634.jpg
/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_40_2605.jpg
/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_47_2624.jpg
/home/pi/Desktop/images/11012025/14/27/image_11012025_14_27_55_2705.jpg
/home/pi/Desktop/images/11012025/14/28/image_11012025_14_28_34_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193273","1329193296","1329193269","1329193283","1329193265","1329193259"],"photo_ids_order":["1329193259","1329193265","1329193269","1329193273","1329193283","1329193296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02e7164a9f38cd37f587e31d76be9088.jpg","text":"TemporaryFile(/tmp/multipartBody8907513638186626311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964984587,"filename":"image_11012025_14_27_47_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d477a83e22c1c1078f09df1f9d70307d.jpg","text":"TemporaryFile(/tmp/multipartBody7175543798965704695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964984587,"filename":"image_11012025_14_28_34_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7cdaa2fce2f689e2381bc0c0c3d8e014.jpg","text":"TemporaryFile(/tmp/multipartBody6149670541131749792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964984587,"filename":"image_11012025_14_27_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7bdadee53ca184959b4fd06d3f565185.jpg","text":"TemporaryFile(/tmp/multipartBody7552042379154707998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964984587,"filename":"image_11012025_14_27_55_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7ff1dbb0a713d59f19e68b4c1c8f56a4.jpg","text":"TemporaryFile(/tmp/multipartBody7327206784521964746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964984587,"filename":"image_11012025_14_25_55_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02862b277f0dd4f1bc4719e0e8a5f7b0.jpg","text":"TemporaryFile(/tmp/multipartBody7076863754577261337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736964984587,"filename":"image_11012025_14_25_32_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193269","file1":"1329193265","file0":"1329193259","file4":"1329193283","file5":"1329193296","file3":"1329193273"},"map_files_photo_id_array":[{"photo_id":"1329193296","filename":"file5"},{"photo_id":"1329193269","filename":"file2"},{"photo_id":"1329193283","filename":"file4"},{"photo_id":"1329193265","filename":"file1"},{"photo_id":"1329193259","filename":"file0"},{"photo_id":"1329193273","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329193273":["hashtag1","hashtag2"]},{"1329193296":["hashtag1","hashtag2"]},{"1329193269":["hashtag1","hashtag2"]},{"1329193283":["hashtag1","hashtag2"]},{"1329193265":["hashtag1","hashtag2"]},{"1329193259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329193273, 1329193296, 1329193269, 1329193283, 1329193265, 1329193259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63206219673157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:16:22.011778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_07_2654.jpg', '/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_23_3721.jpg', '/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_28_2666.jpg', '/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_35_3844.jpg', '/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_55_2670.jpg', '/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_07_2654.jpg
/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_23_3721.jpg
/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_28_2666.jpg
/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_35_3844.jpg
/home/pi/Desktop/images/11012025/14/29/image_11012025_14_29_55_2670.jpg
/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193372","1329193360","1329193354","1329193357","1329193368","1329193364"],"photo_ids_order":["1329193354","1329193357","1329193360","1329193364","1329193368","1329193372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5b4180c6b1073b5aa709fd847654b1d.jpg","text":"TemporaryFile(/tmp/multipartBody3600622753603009999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965044498,"filename":"image_11012025_14_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/62675c057ea9cf7c8b1bb337b4e6d792.jpg","text":"TemporaryFile(/tmp/multipartBody7935848151570218854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965044498,"filename":"image_11012025_14_29_28_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/04c37d36b0f479e9abd7ab248c05d101.jpg","text":"TemporaryFile(/tmp/multipartBody5014694166259657305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965044498,"filename":"image_11012025_14_29_07_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/55df59511fb8ccaec9bdcd230ee3a956.jpg","text":"TemporaryFile(/tmp/multipartBody2376375023336166973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965044498,"filename":"image_11012025_14_29_23_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3f232874419c37f808d84084703155f0.jpg","text":"TemporaryFile(/tmp/multipartBody6854707455846635668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965044498,"filename":"image_11012025_14_29_55_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58fc4ad591254b0fd8fbeaa82a75a126.jpg","text":"TemporaryFile(/tmp/multipartBody3738309147796081495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965044498,"filename":"image_11012025_14_29_35_3844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193360","file1":"1329193357","file0":"1329193354","file4":"1329193368","file5":"1329193372","file3":"1329193364"},"map_files_photo_id_array":[{"photo_id":"1329193372","filename":"file5"},{"photo_id":"1329193360","filename":"file2"},{"photo_id":"1329193368","filename":"file4"},{"photo_id":"1329193357","filename":"file1"},{"photo_id":"1329193354","filename":"file0"},{"photo_id":"1329193364","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329193372":["hashtag1","hashtag2"]},{"1329193360":["hashtag1","hashtag2"]},{"1329193354":["hashtag1","hashtag2"]},{"1329193357":["hashtag1","hashtag2"]},{"1329193368":["hashtag1","hashtag2"]},{"1329193364":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329193372, 1329193360, 1329193354, 1329193357, 1329193368, 1329193364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23268008232117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:17:03.181490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_29_3658.jpg', '/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_44_2707.jpg', '/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_55_2735.jpg', '/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_08_3672.jpg', '/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_29_2571.jpg', '/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_53_3771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_29_3658.jpg
/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_44_2707.jpg
/home/pi/Desktop/images/11012025/14/30/image_11012025_14_30_55_2735.jpg
/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_08_3672.jpg
/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_29_2571.jpg
/home/pi/Desktop/images/11012025/14/31/image_11012025_14_31_53_3771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193393","1329193387","1329193389","1329193382","1329193385","1329193400"],"photo_ids_order":["1329193382","1329193385","1329193387","1329193389","1329193393","1329193400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1ed3e521bf83df52d5a5cdcc46974b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8387788376326196433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965085092,"filename":"image_11012025_14_31_29_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/20e110ceb4cc078c3a0e1e6828bd441a.jpg","text":"TemporaryFile(/tmp/multipartBody4827087627991518404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965085092,"filename":"image_11012025_14_30_55_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a10d9dc91f7c5a8f8a838336689c04ed.jpg","text":"TemporaryFile(/tmp/multipartBody4729156812490795388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965085092,"filename":"image_11012025_14_31_08_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4342a3ff081f19e7736e9165a1a6b32.jpg","text":"TemporaryFile(/tmp/multipartBody7688649105657202670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965085092,"filename":"image_11012025_14_30_29_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/753d8bd7bde401fd440052316c095449.jpg","text":"TemporaryFile(/tmp/multipartBody6522908244320734902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965085092,"filename":"image_11012025_14_30_44_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c92937ab4583696f372de3b0de21aa12.jpg","text":"TemporaryFile(/tmp/multipartBody5929492731918621532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965085092,"filename":"image_11012025_14_31_53_3771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193387","file1":"1329193385","file0":"1329193382","file4":"1329193393","file5":"1329193400","file3":"1329193389"},"map_files_photo_id_array":[{"photo_id":"1329193400","filename":"file5"},{"photo_id":"1329193387","filename":"file2"},{"photo_id":"1329193393","filename":"file4"},{"photo_id":"1329193385","filename":"file1"},{"photo_id":"1329193382","filename":"file0"},{"photo_id":"1329193389","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329193393":["hashtag1","hashtag2"]},{"1329193387":["hashtag1","hashtag2"]},{"1329193389":["hashtag1","hashtag2"]},{"1329193382":["hashtag1","hashtag2"]},{"1329193385":["hashtag1","hashtag2"]},{"1329193400":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329193393, 1329193387, 1329193389, 1329193382, 1329193385, 1329193400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26488900184631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:17:42.377907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_31_2666.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_34_2640.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_40_2521.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_43_3577.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_46_2709.jpg', '/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_52_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_31_2666.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_34_2640.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_40_2521.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_43_3577.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_46_2709.jpg
/home/pi/Desktop/images/13012025/08/40/image_13012025_08_40_52_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193456","1329193435","1329193429","1329193458","1329193451","1329193454"],"photo_ids_order":["1329193429","1329193435","1329193451","1329193454","1329193456","1329193458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e089458b4f97eb4d27d6e0238bdea17.jpg","text":"TemporaryFile(/tmp/multipartBody5439389676803850572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965123576,"filename":"image_13012025_08_40_46_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/678622f578b60bd3ae46a91fa8eea73e.jpg","text":"TemporaryFile(/tmp/multipartBody5420569706964742906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965123576,"filename":"image_13012025_08_40_34_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/551fea502899efa2d61eb826a0011d00.jpg","text":"TemporaryFile(/tmp/multipartBody6649397106272456075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965123576,"filename":"image_13012025_08_40_31_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fdd4e68c059a4df9cda9bcf5481d0d37.jpg","text":"TemporaryFile(/tmp/multipartBody7312246781107148423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965123576,"filename":"image_13012025_08_40_52_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2378fcdb5e58487aa1e4288111fe927a.jpg","text":"TemporaryFile(/tmp/multipartBody276441339961176315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965123576,"filename":"image_13012025_08_40_40_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d64e70e28b1d4a0ddb7f2aaf4a1cc44f.jpg","text":"TemporaryFile(/tmp/multipartBody2649368398832077330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965123576,"filename":"image_13012025_08_40_43_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193451","file1":"1329193435","file0":"1329193429","file4":"1329193456","file5":"1329193458","file3":"1329193454"},"map_files_photo_id_array":[{"photo_id":"1329193458","filename":"file5"},{"photo_id":"1329193451","filename":"file2"},{"photo_id":"1329193456","filename":"file4"},{"photo_id":"1329193435","filename":"file1"},{"photo_id":"1329193429","filename":"file0"},{"photo_id":"1329193454","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329193456":["hashtag1","hashtag2"]},{"1329193435":["hashtag1","hashtag2"]},{"1329193429":["hashtag1","hashtag2"]},{"1329193458":["hashtag1","hashtag2"]},{"1329193451":["hashtag1","hashtag2"]},{"1329193454":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329193456, 1329193435, 1329193429, 1329193458, 1329193451, 1329193454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09045386314392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:18:22.795385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_07_2600.jpg', '/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_13_2587.jpg', '/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_29_3634.jpg', '/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_37_2677.jpg', '/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_01_2657.jpg', '/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_40_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_07_2600.jpg
/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_13_2587.jpg
/home/pi/Desktop/images/11012025/14/35/image_11012025_14_35_29_3634.jpg
/home/pi/Desktop/images/11012025/14/36/image_11012025_14_36_37_2677.jpg
/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_01_2657.jpg
/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_40_2830.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329193501","1329193515","1329193509","1329193562","1329193556","1329193478"],"photo_ids_order":["1329193478","1329193501","1329193509","1329193515","1329193556","1329193562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1b152fad48d3384047429410675f3f88.jpg","text":"TemporaryFile(/tmp/multipartBody7901256640332240133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965165369,"filename":"image_11012025_14_35_13_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5ba989ccc7ab7ae676194196f70d2286.jpg","text":"TemporaryFile(/tmp/multipartBody2835416886528395446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965165369,"filename":"image_11012025_14_36_37_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c962b7bb7d57888e04dd8e3dd5c79f4b.jpg","text":"TemporaryFile(/tmp/multipartBody3774982554793488876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965165369,"filename":"image_11012025_14_35_29_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc0de4943c2fb6fa85142fb2a541b092.jpg","text":"TemporaryFile(/tmp/multipartBody1299767223148112297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965165369,"filename":"image_11012025_14_37_40_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88d519143c51d51d254763e08352b537.jpg","text":"TemporaryFile(/tmp/multipartBody3846568154728719685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965165369,"filename":"image_11012025_14_37_01_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1902c1d72dbad2b976ffe6de54059909.jpg","text":"TemporaryFile(/tmp/multipartBody9017032093329020684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965165369,"filename":"image_11012025_14_35_07_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329193509","file1":"1329193501","file0":"1329193478","file4":"1329193556","file5":"1329193562","file3":"1329193515"},"map_files_photo_id_array":[{"photo_id":"1329193562","filename":"file5"},{"photo_id":"1329193509","filename":"file2"},{"photo_id":"1329193556","filename":"file4"},{"photo_id":"1329193501","filename":"file1"},{"photo_id":"1329193478","filename":"file0"},{"photo_id":"1329193515","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329193501":["hashtag1","hashtag2"]},{"1329193515":["hashtag1","hashtag2"]},{"1329193509":["hashtag1","hashtag2"]},{"1329193562":["hashtag1","hashtag2"]},{"1329193556":["hashtag1","hashtag2"]},{"1329193478":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329193501, 1329193515, 1329193509, 1329193562, 1329193556, 1329193478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92251443862915 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:19:22.089339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_52_2755.jpg', '/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_55_2773.jpg', '/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_09_2625.jpg', '/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_21_2648.jpg', '/home/pi/Desktop/images/11012025/14/42/image_11012025_14_43_01_3565.jpg', '/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_54_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_52_2755.jpg
/home/pi/Desktop/images/11012025/14/37/image_11012025_14_37_55_2773.jpg
/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_09_2625.jpg
/home/pi/Desktop/images/11012025/14/42/image_11012025_14_42_21_2648.jpg
/home/pi/Desktop/images/11012025/14/42/image_11012025_14_43_01_3565.jpg
/home/pi/Desktop/images/11012025/14/44/image_11012025_14_44_54_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329194239","1329194277","1329194265","1329194259","1329194132","1329194149"],"photo_ids_order":["1329194132","1329194149","1329194239","1329194259","1329194265","1329194277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/41ccfe954c995f215d66a68fdab6357c.jpg","text":"TemporaryFile(/tmp/multipartBody3828572121692539646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965224494,"filename":"image_11012025_14_42_09_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14bb4db8c1d9df38553d15e963477454.jpg","text":"TemporaryFile(/tmp/multipartBody2784270795232130049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965224494,"filename":"image_11012025_14_44_54_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c30c12474e69a98b1260f36e4ae2e5e1.jpg","text":"TemporaryFile(/tmp/multipartBody4333022318241014994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965224494,"filename":"image_11012025_14_43_01_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/56a8a8863347a45083d92cfad6136bf6.jpg","text":"TemporaryFile(/tmp/multipartBody9111598841786784223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965224494,"filename":"image_11012025_14_42_21_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d7bc1453ab47407ed22b7c3ca5570ff.jpg","text":"TemporaryFile(/tmp/multipartBody3967858569137656118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965224494,"filename":"image_11012025_14_37_52_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b2dc6eb8cffbf03c649f764abbfbb81.jpg","text":"TemporaryFile(/tmp/multipartBody7978743163459087202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965224494,"filename":"image_11012025_14_37_55_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329194239","file1":"1329194149","file0":"1329194132","file4":"1329194265","file5":"1329194277","file3":"1329194259"},"map_files_photo_id_array":[{"photo_id":"1329194277","filename":"file5"},{"photo_id":"1329194239","filename":"file2"},{"photo_id":"1329194265","filename":"file4"},{"photo_id":"1329194149","filename":"file1"},{"photo_id":"1329194132","filename":"file0"},{"photo_id":"1329194259","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329194239":["hashtag1","hashtag2"]},{"1329194277":["hashtag1","hashtag2"]},{"1329194265":["hashtag1","hashtag2"]},{"1329194259":["hashtag1","hashtag2"]},{"1329194132":["hashtag1","hashtag2"]},{"1329194149":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329194239, 1329194277, 1329194265, 1329194259, 1329194132, 1329194149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.397915840148926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:20:22.191936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_03_2713.jpg', '/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_18_2885.jpg', '/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_24_2780.jpg', '/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_30_2661.jpg', '/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_39_2736.jpg', '/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_06_1683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_03_2713.jpg
/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_18_2885.jpg
/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_24_2780.jpg
/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_30_2661.jpg
/home/pi/Desktop/images/11012025/14/45/image_11012025_14_45_39_2736.jpg
/home/pi/Desktop/images/11012025/14/49/image_11012025_14_49_06_1683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329194527","1329194445","1329194532","1329194508","1329194522","1329194485"],"photo_ids_order":["1329194445","1329194485","1329194508","1329194522","1329194527","1329194532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/54372d4c0a64da8b880406756a452326.jpg","text":"TemporaryFile(/tmp/multipartBody8328168688773988291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965284650,"filename":"image_11012025_14_45_39_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c71bc3b9b16e3febbffcf23c501d5c9.jpg","text":"TemporaryFile(/tmp/multipartBody993879180568850796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965284650,"filename":"image_11012025_14_45_03_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/078c94024c3d0da9701f79f1b09c65bf.jpg","text":"TemporaryFile(/tmp/multipartBody2523575285324747971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965284650,"filename":"image_11012025_14_49_06_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eef4455057a18ef1f92ffb54f1b633cc.jpg","text":"TemporaryFile(/tmp/multipartBody5346524117183029617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965284650,"filename":"image_11012025_14_45_24_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8919f853bde46c745e184411f2646eb.jpg","text":"TemporaryFile(/tmp/multipartBody940177825327565549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965284650,"filename":"image_11012025_14_45_30_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c389fef1188cc38bfe6a862e5e237305.jpg","text":"TemporaryFile(/tmp/multipartBody2374292461554446755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965284650,"filename":"image_11012025_14_45_18_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329194508","file1":"1329194485","file0":"1329194445","file4":"1329194527","file5":"1329194532","file3":"1329194522"},"map_files_photo_id_array":[{"photo_id":"1329194532","filename":"file5"},{"photo_id":"1329194508","filename":"file2"},{"photo_id":"1329194527","filename":"file4"},{"photo_id":"1329194485","filename":"file1"},{"photo_id":"1329194445","filename":"file0"},{"photo_id":"1329194522","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329194527":["hashtag1","hashtag2"]},{"1329194445":["hashtag1","hashtag2"]},{"1329194532":["hashtag1","hashtag2"]},{"1329194508":["hashtag1","hashtag2"]},{"1329194522":["hashtag1","hashtag2"]},{"1329194485":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329194527, 1329194445, 1329194532, 1329194508, 1329194522, 1329194485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.517972469329834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:21:03.207463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_50_1611.jpg', '/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_42_3551.jpg', '/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_03_2609.jpg', '/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_09_3743.jpg', '/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_23_2580.jpg', '/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_26_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/50/image_11012025_14_50_50_1611.jpg
/home/pi/Desktop/images/11012025/14/51/image_11012025_14_51_42_3551.jpg
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_03_2609.jpg
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_09_3743.jpg
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_23_2580.jpg
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_26_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329194542","1329194541","1329194549","1329194540","1329194543","1329194545"],"photo_ids_order":["1329194540","1329194541","1329194542","1329194543","1329194545","1329194549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/69c45a85a7786b2e88eb3d7adefb3e53.jpg","text":"TemporaryFile(/tmp/multipartBody6092676954478150430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965325182,"filename":"image_11012025_14_52_03_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76200f3c71d503ad6840aad3696bf8bf.jpg","text":"TemporaryFile(/tmp/multipartBody1599816112005614782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965325182,"filename":"image_11012025_14_51_42_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d783dfc833d084b871fc0d016febfb4.jpg","text":"TemporaryFile(/tmp/multipartBody1134419913082971143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965325182,"filename":"image_11012025_14_52_26_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff5ac835de504af79175dbbb71a78a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5262552295336415138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965325182,"filename":"image_11012025_14_50_50_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73586665cc7a062ec57cfbc7c6ab27b9.jpg","text":"TemporaryFile(/tmp/multipartBody7288772008383555173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965325182,"filename":"image_11012025_14_52_09_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e77a022d4922b3a651e128999304b452.jpg","text":"TemporaryFile(/tmp/multipartBody3250851725412390615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965325182,"filename":"image_11012025_14_52_23_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329194542","file1":"1329194541","file0":"1329194540","file4":"1329194545","file5":"1329194549","file3":"1329194543"},"map_files_photo_id_array":[{"photo_id":"1329194549","filename":"file5"},{"photo_id":"1329194542","filename":"file2"},{"photo_id":"1329194545","filename":"file4"},{"photo_id":"1329194541","filename":"file1"},{"photo_id":"1329194540","filename":"file0"},{"photo_id":"1329194543","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329194542":["hashtag1","hashtag2"]},{"1329194541":["hashtag1","hashtag2"]},{"1329194549":["hashtag1","hashtag2"]},{"1329194540":["hashtag1","hashtag2"]},{"1329194543":["hashtag1","hashtag2"]},{"1329194545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329194542, 1329194541, 1329194549, 1329194540, 1329194543, 1329194545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59797263145447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:21:42.506991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_01_2807.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_04_3571.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_10_2656.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_13_2610.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_19_2589.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_22_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_01_2807.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_04_3571.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_10_2656.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_13_2610.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_19_2589.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_22_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329194574","1329194583","1329194607","1329194591","1329194588","1329194596"],"photo_ids_order":["1329194574","1329194583","1329194588","1329194591","1329194596","1329194607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5606f1dabfc5bc4ab4acb66ba2320b0c.jpg","text":"TemporaryFile(/tmp/multipartBody2455347986615469422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965363733,"filename":"image_13012025_08_41_01_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d7c2c372d9ed7f3af0898dc4d8775650.jpg","text":"TemporaryFile(/tmp/multipartBody1579271391796101096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965363733,"filename":"image_13012025_08_41_04_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a535bf26d96604ead1ed38b80e1a3f5.jpg","text":"TemporaryFile(/tmp/multipartBody7881335839899241734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965363733,"filename":"image_13012025_08_41_22_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/867f721276dcc294cd70136750b65cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1880030610379110448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965363733,"filename":"image_13012025_08_41_13_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5145699b5b396f1d956e5d67cc6afd79.jpg","text":"TemporaryFile(/tmp/multipartBody1103263448550303821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965363733,"filename":"image_13012025_08_41_10_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2757f01e29740976905e21be609db415.jpg","text":"TemporaryFile(/tmp/multipartBody4310744645687382223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965363733,"filename":"image_13012025_08_41_19_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329194588","file1":"1329194583","file0":"1329194574","file4":"1329194596","file5":"1329194607","file3":"1329194591"},"map_files_photo_id_array":[{"photo_id":"1329194607","filename":"file5"},{"photo_id":"1329194588","filename":"file2"},{"photo_id":"1329194596","filename":"file4"},{"photo_id":"1329194583","filename":"file1"},{"photo_id":"1329194574","filename":"file0"},{"photo_id":"1329194591","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329194574":["hashtag1","hashtag2"]},{"1329194583":["hashtag1","hashtag2"]},{"1329194607":["hashtag1","hashtag2"]},{"1329194591":["hashtag1","hashtag2"]},{"1329194588":["hashtag1","hashtag2"]},{"1329194596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329194574, 1329194583, 1329194607, 1329194591, 1329194588, 1329194596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19059658050537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:22:42.701557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_25_2676.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_28_2822.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_34_3626.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_37_2584.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_40_3631.jpg', '/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_46_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_25_2676.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_28_2822.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_34_3626.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_37_2584.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_40_3631.jpg
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_41_46_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329194635","1329194651","1329194654","1329194657","1329194642","1329194659"],"photo_ids_order":["1329194635","1329194642","1329194651","1329194654","1329194657","1329194659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5bb5e7a31aa4e2cbfc9090a740401b52.jpg","text":"TemporaryFile(/tmp/multipartBody3519313677096079426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965423880,"filename":"image_13012025_08_41_25_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74fd011e29f62f9fbbac477c29e718f4.jpg","text":"TemporaryFile(/tmp/multipartBody1141311984467157762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965423880,"filename":"image_13012025_08_41_34_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5dda26ddb221c66c99ef1d25abbb776b.jpg","text":"TemporaryFile(/tmp/multipartBody8037412939851715849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965423880,"filename":"image_13012025_08_41_37_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d04b857e942bbf3ed248158d76220e1.jpg","text":"TemporaryFile(/tmp/multipartBody3785806527330851992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965423880,"filename":"image_13012025_08_41_40_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc9d52d08dcd4144a2491e906f59dbc3.jpg","text":"TemporaryFile(/tmp/multipartBody212034374090887319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965423880,"filename":"image_13012025_08_41_28_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8305412094066131fc43a1430b6301f6.jpg","text":"TemporaryFile(/tmp/multipartBody7675268958638178161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965423880,"filename":"image_13012025_08_41_46_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329194651","file1":"1329194642","file0":"1329194635","file4":"1329194657","file5":"1329194659","file3":"1329194654"},"map_files_photo_id_array":[{"photo_id":"1329194659","filename":"file5"},{"photo_id":"1329194651","filename":"file2"},{"photo_id":"1329194657","filename":"file4"},{"photo_id":"1329194642","filename":"file1"},{"photo_id":"1329194635","filename":"file0"},{"photo_id":"1329194654","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329194635":["hashtag1","hashtag2"]},{"1329194651":["hashtag1","hashtag2"]},{"1329194654":["hashtag1","hashtag2"]},{"1329194657":["hashtag1","hashtag2"]},{"1329194642":["hashtag1","hashtag2"]},{"1329194659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329194635, 1329194651, 1329194654, 1329194657, 1329194642, 1329194659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15294623374939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:23:22.292094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_30_3622.jpg', '/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_39_3569.jpg', '/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_08_2647.jpg', '/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_23_2684.jpg', '/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_53_2772.jpg', '/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_38_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_30_3622.jpg
/home/pi/Desktop/images/11012025/14/52/image_11012025_14_52_39_3569.jpg
/home/pi/Desktop/images/11012025/14/53/image_11012025_14_53_08_2647.jpg
/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_23_2684.jpg
/home/pi/Desktop/images/11012025/14/54/image_11012025_14_54_53_2772.jpg
/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_38_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329194796","1329194844","1329194858","1329194714","1329194695","1329194689"],"photo_ids_order":["1329194689","1329194695","1329194714","1329194796","1329194844","1329194858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea2ec957f46c7efa1bd3b90507ef5ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1626593520492354449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965464748,"filename":"image_11012025_14_54_23_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83fb98b72a798cc9ca7d5e89d8eeaa62.jpg","text":"TemporaryFile(/tmp/multipartBody4046118027012830625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965464748,"filename":"image_11012025_14_54_53_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77b68e391b9b8584138c3ae9bd526b87.jpg","text":"TemporaryFile(/tmp/multipartBody2193434399401060628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965464748,"filename":"image_11012025_14_55_38_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a779ab1485540e63fa52ae885c78b44.jpg","text":"TemporaryFile(/tmp/multipartBody3767311507691801910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965464748,"filename":"image_11012025_14_53_08_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7aa908a9cf14756bbea70ccacb9e971e.jpg","text":"TemporaryFile(/tmp/multipartBody1764637557142590151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965464748,"filename":"image_11012025_14_52_39_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2d4f9afa5d5fb4cd07f852f6e8e6700.jpg","text":"TemporaryFile(/tmp/multipartBody3960327224132339192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965464748,"filename":"image_11012025_14_52_30_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329194714","file1":"1329194695","file0":"1329194689","file4":"1329194844","file5":"1329194858","file3":"1329194796"},"map_files_photo_id_array":[{"photo_id":"1329194858","filename":"file5"},{"photo_id":"1329194714","filename":"file2"},{"photo_id":"1329194844","filename":"file4"},{"photo_id":"1329194695","filename":"file1"},{"photo_id":"1329194689","filename":"file0"},{"photo_id":"1329194796","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329194796":["hashtag1","hashtag2"]},{"1329194844":["hashtag1","hashtag2"]},{"1329194858":["hashtag1","hashtag2"]},{"1329194714":["hashtag1","hashtag2"]},{"1329194695":["hashtag1","hashtag2"]},{"1329194689":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329194796, 1329194844, 1329194858, 1329194714, 1329194695, 1329194689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.56837582588196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:24:21.965024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_56_2758.jpg', '/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_3645.jpg', '/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_15_3863.jpg', '/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_44_2619.jpg', '/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_11_3583.jpg', '/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_17_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/55/image_11012025_14_55_56_2758.jpg
/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_02_3645.jpg
/home/pi/Desktop/images/11012025/14/56/image_11012025_14_56_15_3863.jpg
/home/pi/Desktop/images/11012025/14/57/image_11012025_14_57_44_2619.jpg
/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_11_3583.jpg
/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_17_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329194895","1329194914","1329194904","1329194897","1329194918","1329194909"],"photo_ids_order":["1329194895","1329194897","1329194904","1329194909","1329194914","1329194918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7859eaa7c463ae08ecdad1289870e338.jpg","text":"TemporaryFile(/tmp/multipartBody6656168825974844283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965524787,"filename":"image_11012025_14_55_56_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d756cbbea4eff02f40e83a3638610eba.jpg","text":"TemporaryFile(/tmp/multipartBody7196529536302926155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965524787,"filename":"image_11012025_14_58_11_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58553ada3f7e3efec9e4101351e064db.jpg","text":"TemporaryFile(/tmp/multipartBody832437166974581348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965524787,"filename":"image_11012025_14_56_15_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cdb85346637f90dcea4dbfaff4e99016.jpg","text":"TemporaryFile(/tmp/multipartBody583254188844197230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965524787,"filename":"image_11012025_14_56_02_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1bf26098a456c80f3a6e4f985be5b88c.jpg","text":"TemporaryFile(/tmp/multipartBody5793066027627580643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965524787,"filename":"image_11012025_14_58_17_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/549c74d83ef7a514cfa8d9af4bba05e6.jpg","text":"TemporaryFile(/tmp/multipartBody7940954515310677453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965524787,"filename":"image_11012025_14_57_44_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329194904","file1":"1329194897","file0":"1329194895","file4":"1329194914","file5":"1329194918","file3":"1329194909"},"map_files_photo_id_array":[{"photo_id":"1329194918","filename":"file5"},{"photo_id":"1329194904","filename":"file2"},{"photo_id":"1329194914","filename":"file4"},{"photo_id":"1329194897","filename":"file1"},{"photo_id":"1329194895","filename":"file0"},{"photo_id":"1329194909","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329194895":["hashtag1","hashtag2"]},{"1329194914":["hashtag1","hashtag2"]},{"1329194904":["hashtag1","hashtag2"]},{"1329194897":["hashtag1","hashtag2"]},{"1329194918":["hashtag1","hashtag2"]},{"1329194909":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329194895, 1329194914, 1329194904, 1329194897, 1329194918, 1329194909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49156665802002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:25:03.296183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_23_2672.jpg', '/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_53_2931.jpg', '/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_05_3865.jpg', '/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_08_2584.jpg', '/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_26_2922.jpg', '/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_29_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_23_2672.jpg
/home/pi/Desktop/images/11012025/14/58/image_11012025_14_58_53_2931.jpg
/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_05_3865.jpg
/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_08_2584.jpg
/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_26_2922.jpg
/home/pi/Desktop/images/11012025/14/59/image_11012025_14_59_29_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329194926","1329194940","1329194937","1329194942","1329194930","1329194933"],"photo_ids_order":["1329194926","1329194930","1329194933","1329194937","1329194940","1329194942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14edbf57b9fed45f91af6a177a25560c.jpg","text":"TemporaryFile(/tmp/multipartBody3237755467640836828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965565638,"filename":"image_11012025_14_58_23_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ec4bfcb8fa67ffe4f9fb969fa21bbf3.jpg","text":"TemporaryFile(/tmp/multipartBody1208378540754546943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965565638,"filename":"image_11012025_14_59_26_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/018a4007ba083dcc36074abe766a85ec.jpg","text":"TemporaryFile(/tmp/multipartBody3863781125453654349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965565638,"filename":"image_11012025_14_59_08_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d7401901ef0e72a2fead41a1e49a787.jpg","text":"TemporaryFile(/tmp/multipartBody2450791578790949179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965565638,"filename":"image_11012025_14_59_29_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c67bfb237ad95792aad2c85e2c8a3422.jpg","text":"TemporaryFile(/tmp/multipartBody1906310319115096668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965565638,"filename":"image_11012025_14_58_53_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5781c9f726f068b0a1f17dd589e2cdf9.jpg","text":"TemporaryFile(/tmp/multipartBody4107933820906847302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965565638,"filename":"image_11012025_14_59_05_3865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329194933","file1":"1329194930","file0":"1329194926","file4":"1329194940","file5":"1329194942","file3":"1329194937"},"map_files_photo_id_array":[{"photo_id":"1329194942","filename":"file5"},{"photo_id":"1329194933","filename":"file2"},{"photo_id":"1329194940","filename":"file4"},{"photo_id":"1329194930","filename":"file1"},{"photo_id":"1329194926","filename":"file0"},{"photo_id":"1329194937","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329194926":["hashtag1","hashtag2"]},{"1329194940":["hashtag1","hashtag2"]},{"1329194937":["hashtag1","hashtag2"]},{"1329194942":["hashtag1","hashtag2"]},{"1329194930":["hashtag1","hashtag2"]},{"1329194933":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329194926, 1329194940, 1329194937, 1329194942, 1329194930, 1329194933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17295455932617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:25:42.547800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/41/image_13012025_08_42_01_3650.jpg', '/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_04_2836.jpg', '/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_07_2650.jpg', '/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_13_3772.jpg', '/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_25_2546.jpg', '/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_42_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/41/image_13012025_08_42_01_3650.jpg
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_04_2836.jpg
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_07_2650.jpg
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_13_3772.jpg
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_25_2546.jpg
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_42_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329195279","1329195207","1329195101","1329195352","1329195133","1329195049"],"photo_ids_order":["1329195049","1329195101","1329195133","1329195207","1329195279","1329195352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97a6fc7d86ce8b6099015a84e047607b.jpg","text":"TemporaryFile(/tmp/multipartBody8122812715822100060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965603760,"filename":"image_13012025_08_42_25_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d2fce428dd0e089fdf21b9c7fbfaa193.jpg","text":"TemporaryFile(/tmp/multipartBody2705128527004614070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965603760,"filename":"image_13012025_08_42_13_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/25de8adbd60b75f6f61f154b5c3d502d.jpg","text":"TemporaryFile(/tmp/multipartBody3360313254080035701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965603760,"filename":"image_13012025_08_42_04_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/26f012d2da259ac1d78799f2e863c35b.jpg","text":"TemporaryFile(/tmp/multipartBody4681496612282495804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965603760,"filename":"image_13012025_08_42_42_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6da48c162de835329998d6439fb99fd.jpg","text":"TemporaryFile(/tmp/multipartBody1102548450879576090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965603760,"filename":"image_13012025_08_42_07_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b6fe935b8083b9f566778650c91cbaee.jpg","text":"TemporaryFile(/tmp/multipartBody5958971658102692681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965603760,"filename":"image_13012025_08_42_01_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329195133","file1":"1329195101","file0":"1329195049","file4":"1329195279","file5":"1329195352","file3":"1329195207"},"map_files_photo_id_array":[{"photo_id":"1329195352","filename":"file5"},{"photo_id":"1329195133","filename":"file2"},{"photo_id":"1329195279","filename":"file4"},{"photo_id":"1329195101","filename":"file1"},{"photo_id":"1329195049","filename":"file0"},{"photo_id":"1329195207","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329195279":["hashtag1","hashtag2"]},{"1329195207":["hashtag1","hashtag2"]},{"1329195101":["hashtag1","hashtag2"]},{"1329195352":["hashtag1","hashtag2"]},{"1329195133":["hashtag1","hashtag2"]},{"1329195049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329195279, 1329195207, 1329195101, 1329195352, 1329195133, 1329195049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.55808663368225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:26:42.513471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_58_2656.jpg', '/home/pi/Desktop/images/13012025/08/42/image_13012025_08_43_01_3594.jpg', '/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_22_2694.jpg', '/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_51_2583.jpg', '/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_55_3618.jpg', '/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_57_2501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_42_58_2656.jpg
/home/pi/Desktop/images/13012025/08/42/image_13012025_08_43_01_3594.jpg
/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_22_2694.jpg
/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_51_2583.jpg
/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_55_3618.jpg
/home/pi/Desktop/images/13012025/08/43/image_13012025_08_43_57_2501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329195755","1329195683","1329195764","1329195743","1329195752","1329195748"],"photo_ids_order":["1329195683","1329195743","1329195748","1329195752","1329195755","1329195764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1b3847443b78c1c199bedf08ba43fe56.jpg","text":"TemporaryFile(/tmp/multipartBody9012426208750293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965663694,"filename":"image_13012025_08_43_55_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/467252ff903ea9c134152c98549ba1fd.jpg","text":"TemporaryFile(/tmp/multipartBody1259067738344303764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965663694,"filename":"image_13012025_08_42_58_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e81a791f1b846631d3d7bf04827930ff.jpg","text":"TemporaryFile(/tmp/multipartBody4296419152456622231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965663694,"filename":"image_13012025_08_43_57_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/60024475d2960474be9c4e3eacd83fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2079410973087560031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965663694,"filename":"image_13012025_08_43_01_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/574e7a936fe8dfcd81a04ba97f6a453a.jpg","text":"TemporaryFile(/tmp/multipartBody2875747664976338706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965663694,"filename":"image_13012025_08_43_51_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1ebe5e38e0abf1e0a79c143dff2c7904.jpg","text":"TemporaryFile(/tmp/multipartBody4848358185973241131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965663694,"filename":"image_13012025_08_43_22_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329195748","file1":"1329195743","file0":"1329195683","file4":"1329195755","file5":"1329195764","file3":"1329195752"},"map_files_photo_id_array":[{"photo_id":"1329195764","filename":"file5"},{"photo_id":"1329195748","filename":"file2"},{"photo_id":"1329195755","filename":"file4"},{"photo_id":"1329195743","filename":"file1"},{"photo_id":"1329195683","filename":"file0"},{"photo_id":"1329195752","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329195755":["hashtag1","hashtag2"]},{"1329195683":["hashtag1","hashtag2"]},{"1329195764":["hashtag1","hashtag2"]},{"1329195743":["hashtag1","hashtag2"]},{"1329195752":["hashtag1","hashtag2"]},{"1329195748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329195755, 1329195683, 1329195764, 1329195743, 1329195752, 1329195748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52839970588684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:27:42.123490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/43/image_13012025_08_44_01_3647.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_04_2604.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_06_2594.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_10_3819.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_13_2582.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_15_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/43/image_13012025_08_44_01_3647.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_04_2604.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_06_2594.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_10_3819.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_13_2582.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_15_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329195879","1329196037","1329195995","1329196031","1329195923","1329195988"],"photo_ids_order":["1329195879","1329195923","1329195988","1329195995","1329196031","1329196037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0fdee2e413e7124b52df34d415c2a639.jpg","text":"TemporaryFile(/tmp/multipartBody2455706738903954686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965723294,"filename":"image_13012025_08_44_01_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/18372e764d2533e7c1ff280e7959fcec.jpg","text":"TemporaryFile(/tmp/multipartBody8227817164257094501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965723294,"filename":"image_13012025_08_44_15_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8692d8aefef6224853b72f726bd3cd98.jpg","text":"TemporaryFile(/tmp/multipartBody1642123471839154721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965723294,"filename":"image_13012025_08_44_10_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bb3fc0d052ee70ee9834c813cb33421e.jpg","text":"TemporaryFile(/tmp/multipartBody9023644650308164902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965723294,"filename":"image_13012025_08_44_13_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5613ff7ddaca9d9034d4524997dab444.jpg","text":"TemporaryFile(/tmp/multipartBody2005129705149478558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965723294,"filename":"image_13012025_08_44_04_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f834d49a9ecd9ccc35cf080146ea2e6.jpg","text":"TemporaryFile(/tmp/multipartBody2441686105798293539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965723294,"filename":"image_13012025_08_44_06_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329195988","file1":"1329195923","file0":"1329195879","file4":"1329196031","file5":"1329196037","file3":"1329195995"},"map_files_photo_id_array":[{"photo_id":"1329196037","filename":"file5"},{"photo_id":"1329195988","filename":"file2"},{"photo_id":"1329196031","filename":"file4"},{"photo_id":"1329195923","filename":"file1"},{"photo_id":"1329195879","filename":"file0"},{"photo_id":"1329195995","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329195879":["hashtag1","hashtag2"]},{"1329196037":["hashtag1","hashtag2"]},{"1329195995":["hashtag1","hashtag2"]},{"1329196031":["hashtag1","hashtag2"]},{"1329195923":["hashtag1","hashtag2"]},{"1329195988":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329195879, 1329196037, 1329195995, 1329196031, 1329195923, 1329195988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58145308494568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:28:41.988770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_19_3753.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_22_2687.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_24_2648.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_28_3546.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_34_3545.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_37_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_19_3753.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_22_2687.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_24_2648.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_28_3546.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_34_3545.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_37_2619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329196242","1329196206","1329196244","1329196088","1329196144","1329196248"],"photo_ids_order":["1329196088","1329196144","1329196206","1329196242","1329196244","1329196248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/edab15dc56c3ccc8e90e995daa0ea602.jpg","text":"TemporaryFile(/tmp/multipartBody6420285920862793021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965783172,"filename":"image_13012025_08_44_28_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9bd7709fc5ef1bec26929a9f71665df8.jpg","text":"TemporaryFile(/tmp/multipartBody8248297918626865650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965783172,"filename":"image_13012025_08_44_24_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dbc283c4971b955a4351749a3b1ad08d.jpg","text":"TemporaryFile(/tmp/multipartBody4931385371670191807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965783172,"filename":"image_13012025_08_44_34_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1eb10e28f4eff25491f1a51cc9de55dd.jpg","text":"TemporaryFile(/tmp/multipartBody6615568998696742073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965783172,"filename":"image_13012025_08_44_19_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0c44f639def82693a61a509d9a31a8e4.jpg","text":"TemporaryFile(/tmp/multipartBody440610491154981377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965783172,"filename":"image_13012025_08_44_22_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a2b0fedc21cecfa5074ce5dbbd29b030.jpg","text":"TemporaryFile(/tmp/multipartBody1240515425387904648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965783172,"filename":"image_13012025_08_44_37_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329196206","file1":"1329196144","file0":"1329196088","file4":"1329196244","file5":"1329196248","file3":"1329196242"},"map_files_photo_id_array":[{"photo_id":"1329196248","filename":"file5"},{"photo_id":"1329196206","filename":"file2"},{"photo_id":"1329196244","filename":"file4"},{"photo_id":"1329196144","filename":"file1"},{"photo_id":"1329196088","filename":"file0"},{"photo_id":"1329196242","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329196242":["hashtag1","hashtag2"]},{"1329196206":["hashtag1","hashtag2"]},{"1329196244":["hashtag1","hashtag2"]},{"1329196088":["hashtag1","hashtag2"]},{"1329196144":["hashtag1","hashtag2"]},{"1329196248":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329196242, 1329196206, 1329196244, 1329196088, 1329196144, 1329196248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.922131299972534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:29:22.610773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_29_2630.jpg', '/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_32_3566.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_04_2758.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_34_2654.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_38_3540.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_40_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_29_2630.jpg
/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_32_3566.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_04_2758.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_34_2654.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_38_3540.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_40_2661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.304795980453491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:29:42.437112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_39_2569.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_43_3747.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_46_2696.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_48_2608.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_52_3636.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_55_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_39_2569.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_43_3747.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_46_2696.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_48_2608.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_52_3636.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_55_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329196280","1329196288","1329196456","1329196342","1329196284","1329196386"],"photo_ids_order":["1329196280","1329196284","1329196288","1329196342","1329196386","1329196456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6abffc5971a85b9e4a11746d22f29304.jpg","text":"TemporaryFile(/tmp/multipartBody6019812024624482488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965843650,"filename":"image_13012025_08_44_39_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb924b8f218bb5bdadda78cc4f74ca8a.jpg","text":"TemporaryFile(/tmp/multipartBody3587240103371047950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965843650,"filename":"image_13012025_08_44_46_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5e3a7df8e136037c66c0ef5c8928939.jpg","text":"TemporaryFile(/tmp/multipartBody2222971503468315799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965843650,"filename":"image_13012025_08_44_55_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f797e9b47b5544b6df4ac4bc558150f.jpg","text":"TemporaryFile(/tmp/multipartBody1919176886546820375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965843650,"filename":"image_13012025_08_44_48_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b871b15a62af093adf5b5131211af07.jpg","text":"TemporaryFile(/tmp/multipartBody6795506911928546680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965843650,"filename":"image_13012025_08_44_43_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f1f54a4d053c3cef0387941a9f9278a.jpg","text":"TemporaryFile(/tmp/multipartBody2786150809673598145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965843650,"filename":"image_13012025_08_44_52_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329196288","file1":"1329196284","file0":"1329196280","file4":"1329196386","file5":"1329196456","file3":"1329196342"},"map_files_photo_id_array":[{"photo_id":"1329196456","filename":"file5"},{"photo_id":"1329196288","filename":"file2"},{"photo_id":"1329196386","filename":"file4"},{"photo_id":"1329196284","filename":"file1"},{"photo_id":"1329196280","filename":"file0"},{"photo_id":"1329196342","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329196280":["hashtag1","hashtag2"]},{"1329196288":["hashtag1","hashtag2"]},{"1329196456":["hashtag1","hashtag2"]},{"1329196342":["hashtag1","hashtag2"]},{"1329196284":["hashtag1","hashtag2"]},{"1329196386":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329196280, 1329196288, 1329196456, 1329196342, 1329196284, 1329196386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.703673124313354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:30:42.254950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_57_2653.jpg', '/home/pi/Desktop/images/13012025/08/44/image_13012025_08_45_01_3668.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_07_2599.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_10_3180.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_16_3566.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_19_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_44_57_2653.jpg
/home/pi/Desktop/images/13012025/08/44/image_13012025_08_45_01_3668.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_07_2599.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_10_3180.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_16_3566.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_19_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329196602","1329196594","1329196597","1329196591","1329196600","1329196606"],"photo_ids_order":["1329196591","1329196594","1329196597","1329196600","1329196602","1329196606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/445a201c759978efc458d483c198db33.jpg","text":"TemporaryFile(/tmp/multipartBody3017282514032606439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965903429,"filename":"image_13012025_08_45_16_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c1af1b7e78f6519f16d33817c0d9900.jpg","text":"TemporaryFile(/tmp/multipartBody5193188650984730497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965903429,"filename":"image_13012025_08_45_01_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5d5b725d65af50bfab45bb1a28134f48.jpg","text":"TemporaryFile(/tmp/multipartBody1678907930117486737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965903429,"filename":"image_13012025_08_45_07_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6b7997e6abb0dd7a558da534528eb3b5.jpg","text":"TemporaryFile(/tmp/multipartBody6231460277089885736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965903429,"filename":"image_13012025_08_44_57_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f1dd915cd906fe2b67da4f42c76dfcac.jpg","text":"TemporaryFile(/tmp/multipartBody8660607251510069530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965903429,"filename":"image_13012025_08_45_10_3180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c14c1f35df1ea977db6609636d78aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5622936892585701907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965903429,"filename":"image_13012025_08_45_19_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329196597","file1":"1329196594","file0":"1329196591","file4":"1329196602","file5":"1329196606","file3":"1329196600"},"map_files_photo_id_array":[{"photo_id":"1329196606","filename":"file5"},{"photo_id":"1329196597","filename":"file2"},{"photo_id":"1329196602","filename":"file4"},{"photo_id":"1329196594","filename":"file1"},{"photo_id":"1329196591","filename":"file0"},{"photo_id":"1329196600","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329196602":["hashtag1","hashtag2"]},{"1329196594":["hashtag1","hashtag2"]},{"1329196597":["hashtag1","hashtag2"]},{"1329196591":["hashtag1","hashtag2"]},{"1329196600":["hashtag1","hashtag2"]},{"1329196606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329196602, 1329196594, 1329196597, 1329196591, 1329196600, 1329196606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.338502645492554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:31:22.500225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_29_2630.jpg', '/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_32_3566.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_04_2758.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_34_2654.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_38_3540.jpg', '/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_40_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_29_2630.jpg
/home/pi/Desktop/images/11012025/15/00/image_11012025_15_00_32_3566.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_04_2758.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_34_2654.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_38_3540.jpg
/home/pi/Desktop/images/11012025/15/02/image_11012025_15_02_40_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329196851","1329196830","1329196876","1329196750","1329196918","1329196927"],"photo_ids_order":["1329196750","1329196830","1329196851","1329196876","1329196918","1329196927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e56410e3b7578279e2228c29aa35f9d9.jpg","text":"TemporaryFile(/tmp/multipartBody7016002899427457578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965944915,"filename":"image_11012025_15_02_04_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f266603a8b6fa5f97b879ac293b8d3bc.jpg","text":"TemporaryFile(/tmp/multipartBody5316269241933953211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965944915,"filename":"image_11012025_15_00_32_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9baec9f5983c9e3a5ec70a21fd1706ff.jpg","text":"TemporaryFile(/tmp/multipartBody5623191273269824705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965944915,"filename":"image_11012025_15_02_34_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b1a3e3d74a20dc940bb7a87abfc033a4.jpg","text":"TemporaryFile(/tmp/multipartBody4771515241128276428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965944915,"filename":"image_11012025_15_00_29_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cab43abf3352cc96d1b6debbb19aad5d.jpg","text":"TemporaryFile(/tmp/multipartBody2474330424586722350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965944915,"filename":"image_11012025_15_02_38_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/41bcdbb6df12d14438a0063245e49d55.jpg","text":"TemporaryFile(/tmp/multipartBody4411435191237213237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736965944915,"filename":"image_11012025_15_02_40_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329196851","file1":"1329196830","file0":"1329196750","file4":"1329196918","file5":"1329196927","file3":"1329196876"},"map_files_photo_id_array":[{"photo_id":"1329196927","filename":"file5"},{"photo_id":"1329196851","filename":"file2"},{"photo_id":"1329196918","filename":"file4"},{"photo_id":"1329196830","filename":"file1"},{"photo_id":"1329196750","filename":"file0"},{"photo_id":"1329196876","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329196851":["hashtag1","hashtag2"]},{"1329196830":["hashtag1","hashtag2"]},{"1329196876":["hashtag1","hashtag2"]},{"1329196750":["hashtag1","hashtag2"]},{"1329196918":["hashtag1","hashtag2"]},{"1329196927":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329196851, 1329196830, 1329196876, 1329196750, 1329196918, 1329196927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25039482116699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:32:22.067223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_41_2796.jpg', '/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_25_3774.jpg', '/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_28_2725.jpg', '/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_31_2671.jpg', '/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_40_2597.jpg', '/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_43_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/03/image_11012025_15_03_41_2796.jpg
/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_25_3774.jpg
/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_28_2725.jpg
/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_31_2671.jpg
/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_40_2597.jpg
/home/pi/Desktop/images/11012025/15/09/image_11012025_15_09_43_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329197177","1329197161","1329197139","1329197235","1329197291","1329197202"],"photo_ids_order":["1329197139","1329197161","1329197177","1329197202","1329197235","1329197291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/41bfd3d986614ac49532b4eb0b5ab4a4.jpg","text":"TemporaryFile(/tmp/multipartBody3965008894728252771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966004538,"filename":"image_11012025_15_09_28_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6648b9b8b9778f3e8b05332b0c26d008.jpg","text":"TemporaryFile(/tmp/multipartBody1454051867717792835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966004538,"filename":"image_11012025_15_09_25_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bbc6e049377f6509bb469b57f069bdc2.jpg","text":"TemporaryFile(/tmp/multipartBody4867842383457672354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966004538,"filename":"image_11012025_15_03_41_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6ef7c02d7b85253414032c2b1008aa90.jpg","text":"TemporaryFile(/tmp/multipartBody1144014396484552348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966004538,"filename":"image_11012025_15_09_40_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/321c1a19289bd61fd4aa8a7402c8ac8b.jpg","text":"TemporaryFile(/tmp/multipartBody3162600123429849020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966004538,"filename":"image_11012025_15_09_43_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/54fcb1d4df746b58493d3f78cfb7df05.jpg","text":"TemporaryFile(/tmp/multipartBody1163078313599097966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966004538,"filename":"image_11012025_15_09_31_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329197177","file1":"1329197161","file0":"1329197139","file4":"1329197235","file5":"1329197291","file3":"1329197202"},"map_files_photo_id_array":[{"photo_id":"1329197291","filename":"file5"},{"photo_id":"1329197177","filename":"file2"},{"photo_id":"1329197235","filename":"file4"},{"photo_id":"1329197161","filename":"file1"},{"photo_id":"1329197139","filename":"file0"},{"photo_id":"1329197202","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329197177":["hashtag1","hashtag2"]},{"1329197161":["hashtag1","hashtag2"]},{"1329197139":["hashtag1","hashtag2"]},{"1329197235":["hashtag1","hashtag2"]},{"1329197291":["hashtag1","hashtag2"]},{"1329197202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329197177, 1329197161, 1329197139, 1329197235, 1329197291, 1329197202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43062353134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:33:22.308822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_01_2593.jpg', '/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_04_3595.jpg', '/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_31_2830.jpg', '/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_19_2684.jpg', '/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_37_3644.jpg', '/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_19_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_01_2593.jpg
/home/pi/Desktop/images/11012025/15/10/image_11012025_15_10_04_3595.jpg
/home/pi/Desktop/images/11012025/15/12/image_11012025_15_12_31_2830.jpg
/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_19_2684.jpg
/home/pi/Desktop/images/11012025/15/13/image_11012025_15_13_37_3644.jpg
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_19_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329197690","1329197579","1329197683","1329197713","1329197635","1329197727"],"photo_ids_order":["1329197579","1329197635","1329197683","1329197690","1329197713","1329197727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea39edccc1331847fbba833055663883.jpg","text":"TemporaryFile(/tmp/multipartBody5141122137327670272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966064769,"filename":"image_11012025_15_13_19_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/226c3b64caca67870084d6ce804e6a79.jpg","text":"TemporaryFile(/tmp/multipartBody7119589886223691620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966064769,"filename":"image_11012025_15_10_01_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/884dc3085a1d6c80d1f7f45cf3b57a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7892842864299087005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966064769,"filename":"image_11012025_15_12_31_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/751a81bb00c7159f5921202790375117.jpg","text":"TemporaryFile(/tmp/multipartBody3226088765454530381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966064769,"filename":"image_11012025_15_13_37_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/295d9311355ecb17781a249b6ed82b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4437567470554151416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966064769,"filename":"image_11012025_15_10_04_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6b88da4646561e99a20cf4097921b2e0.jpg","text":"TemporaryFile(/tmp/multipartBody2720360188669023885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966064769,"filename":"image_11012025_15_14_19_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329197683","file1":"1329197635","file0":"1329197579","file4":"1329197713","file5":"1329197727","file3":"1329197690"},"map_files_photo_id_array":[{"photo_id":"1329197727","filename":"file5"},{"photo_id":"1329197683","filename":"file2"},{"photo_id":"1329197713","filename":"file4"},{"photo_id":"1329197635","filename":"file1"},{"photo_id":"1329197579","filename":"file0"},{"photo_id":"1329197690","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329197690":["hashtag1","hashtag2"]},{"1329197579":["hashtag1","hashtag2"]},{"1329197683":["hashtag1","hashtag2"]},{"1329197713":["hashtag1","hashtag2"]},{"1329197635":["hashtag1","hashtag2"]},{"1329197727":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329197690, 1329197579, 1329197683, 1329197713, 1329197635, 1329197727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47621035575867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:34:02.781708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_45_2649.jpg', '/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_49_3609.jpg', '/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_43_3764.jpg', '/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_57_2618.jpg', '/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_06_2625.jpg', '/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_54_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_45_2649.jpg
/home/pi/Desktop/images/11012025/15/14/image_11012025_15_14_49_3609.jpg
/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_43_3764.jpg
/home/pi/Desktop/images/11012025/15/15/image_11012025_15_15_57_2618.jpg
/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_06_2625.jpg
/home/pi/Desktop/images/11012025/15/16/image_11012025_15_16_54_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329197777","1329197771","1329197767","1329197770","1329197781","1329197769"],"photo_ids_order":["1329197767","1329197769","1329197770","1329197771","1329197777","1329197781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a90350d18990b3b89789476acb1f477a.jpg","text":"TemporaryFile(/tmp/multipartBody5461242857000874979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966104587,"filename":"image_11012025_15_16_06_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/498dac19fd1cbfe28c5c50fb8586aaad.jpg","text":"TemporaryFile(/tmp/multipartBody2376364642043398867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966104587,"filename":"image_11012025_15_15_57_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f762ec39b5356d198aae6cbebb003013.jpg","text":"TemporaryFile(/tmp/multipartBody2318613514397641506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966104587,"filename":"image_11012025_15_14_45_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/295eea476aecd2c752d52be7570d871d.jpg","text":"TemporaryFile(/tmp/multipartBody7808564662679532307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966104587,"filename":"image_11012025_15_15_43_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2ee53a47ecb7f670ffb0cff02b835d4.jpg","text":"TemporaryFile(/tmp/multipartBody5179928119593444550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966104587,"filename":"image_11012025_15_16_54_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d22f651cfbf38b5a3fd807adad25d187.jpg","text":"TemporaryFile(/tmp/multipartBody215057390442002681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966104587,"filename":"image_11012025_15_14_49_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329197770","file1":"1329197769","file0":"1329197767","file4":"1329197777","file5":"1329197781","file3":"1329197771"},"map_files_photo_id_array":[{"photo_id":"1329197781","filename":"file5"},{"photo_id":"1329197770","filename":"file2"},{"photo_id":"1329197777","filename":"file4"},{"photo_id":"1329197769","filename":"file1"},{"photo_id":"1329197767","filename":"file0"},{"photo_id":"1329197771","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329197777":["hashtag1","hashtag2"]},{"1329197771":["hashtag1","hashtag2"]},{"1329197767":["hashtag1","hashtag2"]},{"1329197770":["hashtag1","hashtag2"]},{"1329197781":["hashtag1","hashtag2"]},{"1329197769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329197777, 1329197771, 1329197767, 1329197770, 1329197781, 1329197769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42501521110535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:35:03.060223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_33_3293.jpg', '/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_52_1612.jpg', '/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_30_6910.jpg', '/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_34_1622.jpg', '/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_36_1764.jpg', '/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_39_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_33_3293.jpg
/home/pi/Desktop/images/11012025/15/17/image_11012025_15_17_52_1612.jpg
/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_30_6910.jpg
/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_34_1622.jpg
/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_36_1764.jpg
/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_39_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329197843","1329197834","1329197822","1329197850","1329197826","1329197829"],"photo_ids_order":["1329197822","1329197826","1329197829","1329197834","1329197843","1329197850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd35caf21bf91d4e873791f80ce61c82.jpg","text":"TemporaryFile(/tmp/multipartBody7251947455439866781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966164980,"filename":"image_11012025_15_18_36_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf2b6880c29e6943b55ef4f10fa5976a.jpg","text":"TemporaryFile(/tmp/multipartBody3076321779699400541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966164980,"filename":"image_11012025_15_18_34_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b16029416d8b335aa88d4d4718e0a9e.jpg","text":"TemporaryFile(/tmp/multipartBody4406415268618572450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966164980,"filename":"image_11012025_15_17_33_3293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21cd026ad418274c8f5045848c458e5b.jpg","text":"TemporaryFile(/tmp/multipartBody9025036828124713991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966164980,"filename":"image_11012025_15_18_39_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3ac901ff9ae1f2fba55b7d44f2a9d355.jpg","text":"TemporaryFile(/tmp/multipartBody2138927505961682249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966164980,"filename":"image_11012025_15_17_52_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/495b84b9bdc6151f0f3e5b28055057c6.jpg","text":"TemporaryFile(/tmp/multipartBody2523576125570188760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966164980,"filename":"image_11012025_15_18_30_6910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329197829","file1":"1329197826","file0":"1329197822","file4":"1329197843","file5":"1329197850","file3":"1329197834"},"map_files_photo_id_array":[{"photo_id":"1329197850","filename":"file5"},{"photo_id":"1329197829","filename":"file2"},{"photo_id":"1329197843","filename":"file4"},{"photo_id":"1329197826","filename":"file1"},{"photo_id":"1329197822","filename":"file0"},{"photo_id":"1329197834","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329197843":["hashtag1","hashtag2"]},{"1329197834":["hashtag1","hashtag2"]},{"1329197822":["hashtag1","hashtag2"]},{"1329197850":["hashtag1","hashtag2"]},{"1329197826":["hashtag1","hashtag2"]},{"1329197829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329197843, 1329197834, 1329197822, 1329197850, 1329197826, 1329197829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.258790493011475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:36:03.057856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_54_2816.jpg', '/home/pi/Desktop/images/11012025/15/18/image_11012025_15_19_00_2703.jpg', '/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_09_2729.jpg', '/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_23_2576.jpg', '/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_53_2804.jpg', '/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_48_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/18/image_11012025_15_18_54_2816.jpg
/home/pi/Desktop/images/11012025/15/18/image_11012025_15_19_00_2703.jpg
/home/pi/Desktop/images/11012025/15/20/image_11012025_15_20_09_2729.jpg
/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_23_2576.jpg
/home/pi/Desktop/images/11012025/15/23/image_11012025_15_23_53_2804.jpg
/home/pi/Desktop/images/11012025/15/27/image_11012025_15_27_48_3764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198005","1329198052","1329198081","1329198007","1329198098","1329198080"],"photo_ids_order":["1329198005","1329198007","1329198052","1329198080","1329198081","1329198098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5eebe0c9debd7500e88dd6011e75f478.jpg","text":"TemporaryFile(/tmp/multipartBody1149324378958030660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966224847,"filename":"image_11012025_15_18_54_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a6ca4ed065306e33e336b3e71c742d34.jpg","text":"TemporaryFile(/tmp/multipartBody1690619180009455017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966224847,"filename":"image_11012025_15_20_09_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/20051abaf6afb97db1fe77f07f51c738.jpg","text":"TemporaryFile(/tmp/multipartBody7472327165390327262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966224847,"filename":"image_11012025_15_23_53_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c484169c374025d6a2bec974fbb9e4f.jpg","text":"TemporaryFile(/tmp/multipartBody9096312169039114290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966224847,"filename":"image_11012025_15_19_00_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3ed121ec5dbd0119b490133e175fc45.jpg","text":"TemporaryFile(/tmp/multipartBody7483212219936613468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966224847,"filename":"image_11012025_15_27_48_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/043a825891e3c759d96f40132875c319.jpg","text":"TemporaryFile(/tmp/multipartBody8463183871232463011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966224847,"filename":"image_11012025_15_23_23_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198052","file1":"1329198007","file0":"1329198005","file4":"1329198081","file5":"1329198098","file3":"1329198080"},"map_files_photo_id_array":[{"photo_id":"1329198098","filename":"file5"},{"photo_id":"1329198052","filename":"file2"},{"photo_id":"1329198081","filename":"file4"},{"photo_id":"1329198007","filename":"file1"},{"photo_id":"1329198005","filename":"file0"},{"photo_id":"1329198080","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329198005":["hashtag1","hashtag2"]},{"1329198052":["hashtag1","hashtag2"]},{"1329198081":["hashtag1","hashtag2"]},{"1329198007":["hashtag1","hashtag2"]},{"1329198098":["hashtag1","hashtag2"]},{"1329198080":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329198005, 1329198052, 1329198081, 1329198007, 1329198098, 1329198080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.63913536071777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:37:02.962735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_08_2706.jpg', '/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_38_2708.jpg', '/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_41_2849.jpg', '/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_37_2701.jpg', '/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_33_2776.jpg', '/home/pi/Desktop/images/11012025/15/43/image_11012025_15_44_00_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_08_2706.jpg
/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_38_2708.jpg
/home/pi/Desktop/images/11012025/15/29/image_11012025_15_29_41_2849.jpg
/home/pi/Desktop/images/11012025/15/30/image_11012025_15_30_37_2701.jpg
/home/pi/Desktop/images/11012025/15/41/image_11012025_15_41_33_2776.jpg
/home/pi/Desktop/images/11012025/15/43/image_11012025_15_44_00_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198172","1329198166","1329198169","1329198168","1329198162","1329198170"],"photo_ids_order":["1329198162","1329198166","1329198168","1329198169","1329198170","1329198172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d374f4d5b688d5389129f5bfb150690f.jpg","text":"TemporaryFile(/tmp/multipartBody2530287881607504018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966284771,"filename":"image_11012025_15_44_00_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f1e0aae3e5da3d807e0f5521c11d1816.jpg","text":"TemporaryFile(/tmp/multipartBody3416637995202949960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966284771,"filename":"image_11012025_15_29_38_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fdc30e76ef5b3801943c8c8fc389b716.jpg","text":"TemporaryFile(/tmp/multipartBody5598506030699572936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966284771,"filename":"image_11012025_15_30_37_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1214fffe95cad8ff2df757303a87a891.jpg","text":"TemporaryFile(/tmp/multipartBody8502821139460997859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966284771,"filename":"image_11012025_15_29_41_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4cdef9ec4bbb360ec00cbc2976dc163a.jpg","text":"TemporaryFile(/tmp/multipartBody9050566310562542253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966284771,"filename":"image_11012025_15_29_08_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0a780dba38e0102c1238f7d8b704fa82.jpg","text":"TemporaryFile(/tmp/multipartBody6189755403545532723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966284771,"filename":"image_11012025_15_41_33_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198168","file1":"1329198166","file0":"1329198162","file4":"1329198170","file5":"1329198172","file3":"1329198169"},"map_files_photo_id_array":[{"photo_id":"1329198172","filename":"file5"},{"photo_id":"1329198168","filename":"file2"},{"photo_id":"1329198170","filename":"file4"},{"photo_id":"1329198166","filename":"file1"},{"photo_id":"1329198162","filename":"file0"},{"photo_id":"1329198169","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329198172":["hashtag1","hashtag2"]},{"1329198166":["hashtag1","hashtag2"]},{"1329198169":["hashtag1","hashtag2"]},{"1329198168":["hashtag1","hashtag2"]},{"1329198162":["hashtag1","hashtag2"]},{"1329198170":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329198172, 1329198166, 1329198169, 1329198168, 1329198162, 1329198170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10494375228882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:37:42.158899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_21_2810.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_30_2546.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_37_2800.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_40_2686.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_42_2755.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_46_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_21_2810.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_30_2546.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_37_2800.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_40_2686.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_42_2755.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_46_3594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198187","1329198189","1329198198","1329198197","1329198201","1329198194"],"photo_ids_order":["1329198187","1329198189","1329198194","1329198197","1329198198","1329198201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1d4f34725170ee2b3faee7470153183.jpg","text":"TemporaryFile(/tmp/multipartBody8914831542306612296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966323341,"filename":"image_13012025_08_45_21_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a1f06e62b1810d1bda6949b21d1f241.jpg","text":"TemporaryFile(/tmp/multipartBody8445996646841986638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966323341,"filename":"image_13012025_08_45_30_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c9b0e2073ae3d1d32a223844e3c314e5.jpg","text":"TemporaryFile(/tmp/multipartBody1780460785825125873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966323341,"filename":"image_13012025_08_45_42_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b97d832b00db95c743855d0ce70dabb6.jpg","text":"TemporaryFile(/tmp/multipartBody3483071006540795367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966323341,"filename":"image_13012025_08_45_40_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d055fc0486a5ee314f7a604ae14376a7.jpg","text":"TemporaryFile(/tmp/multipartBody4244338879362502774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966323341,"filename":"image_13012025_08_45_46_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0ed51bcb983ff854b452710c0428d45.jpg","text":"TemporaryFile(/tmp/multipartBody1659342504250306522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966323341,"filename":"image_13012025_08_45_37_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198194","file1":"1329198189","file0":"1329198187","file4":"1329198198","file5":"1329198201","file3":"1329198197"},"map_files_photo_id_array":[{"photo_id":"1329198201","filename":"file5"},{"photo_id":"1329198194","filename":"file2"},{"photo_id":"1329198198","filename":"file4"},{"photo_id":"1329198189","filename":"file1"},{"photo_id":"1329198187","filename":"file0"},{"photo_id":"1329198197","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329198187":["hashtag1","hashtag2"]},{"1329198189":["hashtag1","hashtag2"]},{"1329198198":["hashtag1","hashtag2"]},{"1329198197":["hashtag1","hashtag2"]},{"1329198201":["hashtag1","hashtag2"]},{"1329198194":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329198187, 1329198189, 1329198198, 1329198197, 1329198201, 1329198194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42821979522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:38:22.390314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_14_2639.jpg', '/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_20_2625.jpg', '/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_10_2813.jpg', '/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_14_3736.jpg', '/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_46_2835.jpg', '/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_50_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_14_2639.jpg
/home/pi/Desktop/images/11012025/15/52/image_11012025_15_52_20_2625.jpg
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_10_2813.jpg
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_14_3736.jpg
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_46_2835.jpg
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_50_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198253","1329198235","1329198240","1329198225","1329198219","1329198216"],"photo_ids_order":["1329198216","1329198219","1329198225","1329198235","1329198240","1329198253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14f88c6d590e4d5fcc8d761dc7ec0d78.jpg","text":"TemporaryFile(/tmp/multipartBody8176635062813725915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966364834,"filename":"image_11012025_15_58_50_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/78728510b4fe43f7cda03a0abf533ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5569595288436538778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966364834,"filename":"image_11012025_15_58_14_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c6b7d29f9ceced5b1c3d485cc59ceef.jpg","text":"TemporaryFile(/tmp/multipartBody3776076812327841486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966364834,"filename":"image_11012025_15_58_46_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/581130f37adcf3f6befcb0bcc2363a15.jpg","text":"TemporaryFile(/tmp/multipartBody7318817481086104058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966364834,"filename":"image_11012025_15_58_10_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f3bad211ccd24fa9da8973193731393a.jpg","text":"TemporaryFile(/tmp/multipartBody1031814658939240505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966364834,"filename":"image_11012025_15_52_20_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e056fa3b58fde3ad115220639e077d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4682097233921709058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966364834,"filename":"image_11012025_15_52_14_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198225","file1":"1329198219","file0":"1329198216","file4":"1329198240","file5":"1329198253","file3":"1329198235"},"map_files_photo_id_array":[{"photo_id":"1329198253","filename":"file5"},{"photo_id":"1329198225","filename":"file2"},{"photo_id":"1329198240","filename":"file4"},{"photo_id":"1329198219","filename":"file1"},{"photo_id":"1329198216","filename":"file0"},{"photo_id":"1329198235","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329198253":["hashtag1","hashtag2"]},{"1329198235":["hashtag1","hashtag2"]},{"1329198240":["hashtag1","hashtag2"]},{"1329198225":["hashtag1","hashtag2"]},{"1329198219":["hashtag1","hashtag2"]},{"1329198216":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329198253, 1329198235, 1329198240, 1329198225, 1329198219, 1329198216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17056727409363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:39:02.913327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_52_2616.jpg', '/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_55_2585.jpg', '/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_58_3661.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_01_2570.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_05_3588.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_07_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_52_2616.jpg
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_55_2585.jpg
/home/pi/Desktop/images/11012025/15/58/image_11012025_15_58_58_3661.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_01_2570.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_05_3588.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_07_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198261","1329198270","1329198258","1329198272","1329198266","1329198269"],"photo_ids_order":["1329198258","1329198261","1329198266","1329198269","1329198270","1329198272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/32bd93360922aa60270c2407c37f4434.jpg","text":"TemporaryFile(/tmp/multipartBody1489295024611474846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966404900,"filename":"image_11012025_15_58_55_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0a8b63134017b9786de53a842c9eb7b3.jpg","text":"TemporaryFile(/tmp/multipartBody8011058316884477321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966404900,"filename":"image_11012025_15_59_05_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8f9dfa367520df11d6645d827cd49a9.jpg","text":"TemporaryFile(/tmp/multipartBody6500672704637554724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966404900,"filename":"image_11012025_15_58_52_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/85e2283ef3698026e3d31938e580d343.jpg","text":"TemporaryFile(/tmp/multipartBody4967362262708069841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966404900,"filename":"image_11012025_15_59_07_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da2385b812e8f6649c3e20a9f45c6b35.jpg","text":"TemporaryFile(/tmp/multipartBody8534612235605743885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966404900,"filename":"image_11012025_15_58_58_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4b1f2227d335cfca8eb537578bb7b1c4.jpg","text":"TemporaryFile(/tmp/multipartBody8068772004793271165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966404900,"filename":"image_11012025_15_59_01_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198266","file1":"1329198261","file0":"1329198258","file4":"1329198270","file5":"1329198272","file3":"1329198269"},"map_files_photo_id_array":[{"photo_id":"1329198272","filename":"file5"},{"photo_id":"1329198266","filename":"file2"},{"photo_id":"1329198270","filename":"file4"},{"photo_id":"1329198261","filename":"file1"},{"photo_id":"1329198258","filename":"file0"},{"photo_id":"1329198269","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329198261":["hashtag1","hashtag2"]},{"1329198270":["hashtag1","hashtag2"]},{"1329198258":["hashtag1","hashtag2"]},{"1329198272":["hashtag1","hashtag2"]},{"1329198266":["hashtag1","hashtag2"]},{"1329198269":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329198261, 1329198270, 1329198258, 1329198272, 1329198266, 1329198269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01143217086792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:39:41.857585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_49_2778.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_51_2815.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_55_3646.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_58_2573.jpg', '/home/pi/Desktop/images/13012025/08/45/image_13012025_08_46_00_2779.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_09_2493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_49_2778.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_51_2815.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_55_3646.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_45_58_2573.jpg
/home/pi/Desktop/images/13012025/08/45/image_13012025_08_46_00_2779.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_09_2493.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198367","1329198349","1329198334","1329198327","1329198344","1329198368"],"photo_ids_order":["1329198327","1329198334","1329198344","1329198349","1329198367","1329198368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88b7721a0b0116fbbd540ba6c5b69fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5111869289511915628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966443076,"filename":"image_13012025_08_46_00_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c606d21cfa5b6807cce560dd27a00905.jpg","text":"TemporaryFile(/tmp/multipartBody7045556805746291274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966443076,"filename":"image_13012025_08_45_58_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8aec05ebbba307f7dc6f24eb6c8a005b.jpg","text":"TemporaryFile(/tmp/multipartBody4686935174510033205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966443076,"filename":"image_13012025_08_45_51_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0af499d247500479f0246f3abe59cd9b.jpg","text":"TemporaryFile(/tmp/multipartBody4888957727872529561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966443076,"filename":"image_13012025_08_45_49_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/13a90fe0c4b165b2f2f144af45fce936.jpg","text":"TemporaryFile(/tmp/multipartBody9074615868887910882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966443076,"filename":"image_13012025_08_45_55_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5c3dea47aae77a2d280b0caff8d7af6b.jpg","text":"TemporaryFile(/tmp/multipartBody6746797653668657129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966443076,"filename":"image_13012025_08_46_09_2493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198344","file1":"1329198334","file0":"1329198327","file4":"1329198367","file5":"1329198368","file3":"1329198349"},"map_files_photo_id_array":[{"photo_id":"1329198368","filename":"file5"},{"photo_id":"1329198344","filename":"file2"},{"photo_id":"1329198367","filename":"file4"},{"photo_id":"1329198334","filename":"file1"},{"photo_id":"1329198327","filename":"file0"},{"photo_id":"1329198349","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329198367":["hashtag1","hashtag2"]},{"1329198349":["hashtag1","hashtag2"]},{"1329198334":["hashtag1","hashtag2"]},{"1329198327":["hashtag1","hashtag2"]},{"1329198344":["hashtag1","hashtag2"]},{"1329198368":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329198367, 1329198349, 1329198334, 1329198327, 1329198344, 1329198368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05206346511841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:40:22.584577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_10_2607.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_14_3821.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_16_2740.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_19_2787.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_22_2663.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_26_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_10_2607.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_14_3821.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_16_2740.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_19_2787.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_22_2663.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_26_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198529","1329198442","1329198418","1329198471","1329198480","1329198504"],"photo_ids_order":["1329198418","1329198442","1329198471","1329198480","1329198504","1329198529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/245f2c8532121dd75359ddc98b177104.jpg","text":"TemporaryFile(/tmp/multipartBody7343929881822885006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966485101,"filename":"image_11012025_15_59_26_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e9e5aa2bead1f6a83b94538a1f9a2d60.jpg","text":"TemporaryFile(/tmp/multipartBody2455481239572493616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966485101,"filename":"image_11012025_15_59_14_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/08a5bae1f12938667d7e6fb3c8713a53.jpg","text":"TemporaryFile(/tmp/multipartBody988654611959024650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966485101,"filename":"image_11012025_15_59_10_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3ab361a1fe6737371ffab69c9e7bc9a.jpg","text":"TemporaryFile(/tmp/multipartBody6975502020167666237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966485101,"filename":"image_11012025_15_59_16_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ce45b1864e7f8df0d73c903c72bee71.jpg","text":"TemporaryFile(/tmp/multipartBody2857760022498992321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966485101,"filename":"image_11012025_15_59_19_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c3065dcb11a2a01987885e74dbba967e.jpg","text":"TemporaryFile(/tmp/multipartBody3909721844413250503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966485101,"filename":"image_11012025_15_59_22_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198471","file1":"1329198442","file0":"1329198418","file4":"1329198504","file5":"1329198529","file3":"1329198480"},"map_files_photo_id_array":[{"photo_id":"1329198529","filename":"file5"},{"photo_id":"1329198471","filename":"file2"},{"photo_id":"1329198504","filename":"file4"},{"photo_id":"1329198442","filename":"file1"},{"photo_id":"1329198418","filename":"file0"},{"photo_id":"1329198480","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329198529":["hashtag1","hashtag2"]},{"1329198442":["hashtag1","hashtag2"]},{"1329198418":["hashtag1","hashtag2"]},{"1329198471":["hashtag1","hashtag2"]},{"1329198480":["hashtag1","hashtag2"]},{"1329198504":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329198529, 1329198442, 1329198418, 1329198471, 1329198480, 1329198504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85135078430176 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:41:21.892797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_44_3655.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_46_2616.jpg', '/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_49_2701.jpg', '/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_11_3746.jpg', '/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_16_2734.jpg', '/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_41_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_44_3655.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_46_2616.jpg
/home/pi/Desktop/images/11012025/15/59/image_11012025_15_59_49_2701.jpg
/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_11_3746.jpg
/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_16_2734.jpg
/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_41_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198553","1329198550","1329198544","1329198561","1329198557","1329198545"],"photo_ids_order":["1329198544","1329198545","1329198550","1329198553","1329198557","1329198561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5ce0c80fafb208a5c291271db7237e3.jpg","text":"TemporaryFile(/tmp/multipartBody1545630992962101733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966544314,"filename":"image_11012025_16_00_11_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3373fcd2e31e0ebdcdc50babe1a729bb.jpg","text":"TemporaryFile(/tmp/multipartBody5936950789969592525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966544314,"filename":"image_11012025_15_59_49_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e936074e798f7597ee50663c3070def3.jpg","text":"TemporaryFile(/tmp/multipartBody3848908375329019351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966544314,"filename":"image_11012025_15_59_44_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/800daf88f649d2b722711d2f5226c8cc.jpg","text":"TemporaryFile(/tmp/multipartBody612933740015585685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966544314,"filename":"image_11012025_16_00_41_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c31cf30beb5622459c0f3f494c9581c6.jpg","text":"TemporaryFile(/tmp/multipartBody3495555816383548057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966544314,"filename":"image_11012025_16_00_16_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3002ee127aa2c698603e24014c66899e.jpg","text":"TemporaryFile(/tmp/multipartBody341537815568774343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966544314,"filename":"image_11012025_15_59_46_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198550","file1":"1329198545","file0":"1329198544","file4":"1329198557","file5":"1329198561","file3":"1329198553"},"map_files_photo_id_array":[{"photo_id":"1329198561","filename":"file5"},{"photo_id":"1329198550","filename":"file2"},{"photo_id":"1329198557","filename":"file4"},{"photo_id":"1329198545","filename":"file1"},{"photo_id":"1329198544","filename":"file0"},{"photo_id":"1329198553","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329198553":["hashtag1","hashtag2"]},{"1329198550":["hashtag1","hashtag2"]},{"1329198544":["hashtag1","hashtag2"]},{"1329198561":["hashtag1","hashtag2"]},{"1329198557":["hashtag1","hashtag2"]},{"1329198545":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329198553, 1329198550, 1329198544, 1329198561, 1329198557, 1329198545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13534879684448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:42:03.326427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_43_2651.jpg', '/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_47_3663.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_3675.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_07_2748.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_11_3660.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_13_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_43_2651.jpg
/home/pi/Desktop/images/11012025/16/00/image_11012025_16_00_47_3663.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_02_3675.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_07_2748.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_11_3660.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_13_2583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198574","1329198568","1329198576","1329198579","1329198570","1329198572"],"photo_ids_order":["1329198568","1329198570","1329198572","1329198574","1329198576","1329198579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/329b379a71d2ea117d5fbdbf11e3f50c.jpg","text":"TemporaryFile(/tmp/multipartBody946836189354787876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966585127,"filename":"image_11012025_16_01_07_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/863b8a2878d52e7d01c17b1962250c7b.jpg","text":"TemporaryFile(/tmp/multipartBody7420320696217044397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966585127,"filename":"image_11012025_16_00_43_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c0d8beddff9eae04a13e41d0e231c729.jpg","text":"TemporaryFile(/tmp/multipartBody3533006777871219175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966585127,"filename":"image_11012025_16_01_11_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b735f388116aaf07388b8ee3c250870d.jpg","text":"TemporaryFile(/tmp/multipartBody2441373480062938865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966585127,"filename":"image_11012025_16_01_13_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f354c4ef87141e5a8390d5cb266da213.jpg","text":"TemporaryFile(/tmp/multipartBody1572175281437034647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966585127,"filename":"image_11012025_16_00_47_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4cbcaeecd30c276b7591c74d92ea2069.jpg","text":"TemporaryFile(/tmp/multipartBody3420463671937949413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966585127,"filename":"image_11012025_16_01_02_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198572","file1":"1329198570","file0":"1329198568","file4":"1329198576","file5":"1329198579","file3":"1329198574"},"map_files_photo_id_array":[{"photo_id":"1329198579","filename":"file5"},{"photo_id":"1329198572","filename":"file2"},{"photo_id":"1329198576","filename":"file4"},{"photo_id":"1329198570","filename":"file1"},{"photo_id":"1329198568","filename":"file0"},{"photo_id":"1329198574","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329198574":["hashtag1","hashtag2"]},{"1329198568":["hashtag1","hashtag2"]},{"1329198576":["hashtag1","hashtag2"]},{"1329198579":["hashtag1","hashtag2"]},{"1329198570":["hashtag1","hashtag2"]},{"1329198572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329198574, 1329198568, 1329198576, 1329198579, 1329198570, 1329198572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72514629364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:42:42.680397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_13_3603.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_15_2550.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_18_2667.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_22_3739.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_24_2629.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_30_3482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_13_3603.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_15_2550.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_18_2667.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_22_3739.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_24_2629.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_30_3482.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198617","1329198589","1329198604","1329198594","1329198613","1329198596"],"photo_ids_order":["1329198589","1329198594","1329198596","1329198604","1329198613","1329198617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a270f91868491aa1e64e718af7844b03.jpg","text":"TemporaryFile(/tmp/multipartBody8131552565158212170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966623911,"filename":"image_13012025_08_46_30_3482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc61fe5b860bba2664a5c4e397a64442.jpg","text":"TemporaryFile(/tmp/multipartBody6574811357103135054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966623911,"filename":"image_13012025_08_46_13_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c64c273a2da0d9d7eb8cc6e2263061d4.jpg","text":"TemporaryFile(/tmp/multipartBody2703165326998044473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966623911,"filename":"image_13012025_08_46_22_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/12ecd880852d6ab17f9f40cfbc0bf725.jpg","text":"TemporaryFile(/tmp/multipartBody3879048758479469125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966623911,"filename":"image_13012025_08_46_15_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/01337cbcfd5722e34c6e408e238a417d.jpg","text":"TemporaryFile(/tmp/multipartBody6902730428102567790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966623911,"filename":"image_13012025_08_46_24_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c1b703ce893f40a7d380ae9fd0388c59.jpg","text":"TemporaryFile(/tmp/multipartBody371170614666438716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966623911,"filename":"image_13012025_08_46_18_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198596","file1":"1329198594","file0":"1329198589","file4":"1329198613","file5":"1329198617","file3":"1329198604"},"map_files_photo_id_array":[{"photo_id":"1329198617","filename":"file5"},{"photo_id":"1329198596","filename":"file2"},{"photo_id":"1329198613","filename":"file4"},{"photo_id":"1329198594","filename":"file1"},{"photo_id":"1329198589","filename":"file0"},{"photo_id":"1329198604","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329198617":["hashtag1","hashtag2"]},{"1329198589":["hashtag1","hashtag2"]},{"1329198604":["hashtag1","hashtag2"]},{"1329198594":["hashtag1","hashtag2"]},{"1329198613":["hashtag1","hashtag2"]},{"1329198596":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329198617, 1329198589, 1329198604, 1329198594, 1329198613, 1329198596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.855703592300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:43:22.525409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_17_3568.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_25_2712.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_29_3648.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_55_2765.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_10_2562.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_17_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_17_3568.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_25_2712.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_29_3648.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_55_2765.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_10_2562.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_17_3734.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.3829755783081055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:43:42.481919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_34_3042.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_36_2637.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_41_4391.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_45_1687.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_48_2704.jpg', '/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_52_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_34_3042.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_36_2637.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_41_4391.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_45_1687.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_48_2704.jpg
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_52_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198679","1329198675","1329198651","1329198660","1329198662","1329198656"],"photo_ids_order":["1329198651","1329198656","1329198660","1329198662","1329198675","1329198679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a85ef7e74a3e2c0eaed686e40c1169e.jpg","text":"TemporaryFile(/tmp/multipartBody7914585127462235725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966683683,"filename":"image_13012025_08_46_52_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29a7689d859eba18b09114f171b6195e.jpg","text":"TemporaryFile(/tmp/multipartBody4927433750548169634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966683683,"filename":"image_13012025_08_46_48_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/43189b90f76839e0dfc8c2809b745e88.jpg","text":"TemporaryFile(/tmp/multipartBody2131041737216135411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966683683,"filename":"image_13012025_08_46_34_3042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/135d7f57cd802eed1e59088bef6ed3a9.jpg","text":"TemporaryFile(/tmp/multipartBody7177902526452306659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966683683,"filename":"image_13012025_08_46_41_4391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3aed158b5e566f276ec649f41dfb4ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5129234999239426149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966683683,"filename":"image_13012025_08_46_45_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/815e2cb57f4336a1c182adeff6804585.jpg","text":"TemporaryFile(/tmp/multipartBody2538059109050845423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966683683,"filename":"image_13012025_08_46_36_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198660","file1":"1329198656","file0":"1329198651","file4":"1329198675","file5":"1329198679","file3":"1329198662"},"map_files_photo_id_array":[{"photo_id":"1329198679","filename":"file5"},{"photo_id":"1329198660","filename":"file2"},{"photo_id":"1329198675","filename":"file4"},{"photo_id":"1329198656","filename":"file1"},{"photo_id":"1329198651","filename":"file0"},{"photo_id":"1329198662","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329198679":["hashtag1","hashtag2"]},{"1329198675":["hashtag1","hashtag2"]},{"1329198651":["hashtag1","hashtag2"]},{"1329198660":["hashtag1","hashtag2"]},{"1329198662":["hashtag1","hashtag2"]},{"1329198656":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329198679, 1329198675, 1329198651, 1329198660, 1329198662, 1329198656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8222713470459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:44:22.307627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/18/29/image_15012025_18_29_34_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/18/29/image_15012025_18_29_34_2647.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198711"],"photo_id":"1329198711","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f24a32f6254094768dcf899ad53f334.jpg","text":"TemporaryFile(/tmp/multipartBody6275480382068519071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966722830,"filename":"image_15012025_18_29_34_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329198711"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329198711"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.913203954696655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:44:42.289333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_57_2665.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_06_2641.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_10_3537.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_15_2615.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_22_2737.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_24_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_57_2665.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_06_2641.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_10_3537.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_15_2615.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_22_2737.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_24_2698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.109931468963623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:45:03.090481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_17_3568.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_25_2712.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_29_3648.jpg', '/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_55_2765.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_10_2562.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_17_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_17_3568.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_25_2712.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_29_3648.jpg
/home/pi/Desktop/images/11012025/16/01/image_11012025_16_01_55_2765.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_10_2562.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_17_3734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329198809","1329198811","1329199017","1329198810","1329198896","1329198980"],"photo_ids_order":["1329198809","1329198810","1329198811","1329198896","1329198980","1329199017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f632fa7f175d47e06805c3440fe8813e.jpg","text":"TemporaryFile(/tmp/multipartBody7813722554107871023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966764931,"filename":"image_11012025_16_01_17_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2be1bd671905e5e5c542bdb4fc29c8a0.jpg","text":"TemporaryFile(/tmp/multipartBody6997134543401400813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966764931,"filename":"image_11012025_16_01_29_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/19e23ac43ed88fd99c2438c667b69ee5.jpg","text":"TemporaryFile(/tmp/multipartBody793128817198565385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966764931,"filename":"image_11012025_16_02_17_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c67d182acfb4cbf84da295aa89f46a7b.jpg","text":"TemporaryFile(/tmp/multipartBody5699893191148024187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966764931,"filename":"image_11012025_16_01_25_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29633906d9312501f2cc10fcc679aa97.jpg","text":"TemporaryFile(/tmp/multipartBody3922066319718562362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966764931,"filename":"image_11012025_16_01_55_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7fbe24ef678e1adb0aa52265e85c77b8.jpg","text":"TemporaryFile(/tmp/multipartBody7011001000893018131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966764931,"filename":"image_11012025_16_02_10_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329198811","file1":"1329198810","file0":"1329198809","file4":"1329198980","file5":"1329199017","file3":"1329198896"},"map_files_photo_id_array":[{"photo_id":"1329199017","filename":"file5"},{"photo_id":"1329198811","filename":"file2"},{"photo_id":"1329198980","filename":"file4"},{"photo_id":"1329198810","filename":"file1"},{"photo_id":"1329198809","filename":"file0"},{"photo_id":"1329198896","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329198809":["hashtag1","hashtag2"]},{"1329198811":["hashtag1","hashtag2"]},{"1329199017":["hashtag1","hashtag2"]},{"1329198810":["hashtag1","hashtag2"]},{"1329198896":["hashtag1","hashtag2"]},{"1329198980":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329198809, 1329198811, 1329199017, 1329198810, 1329198896, 1329198980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78338170051575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:46:03.033850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_19_2700.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_22_2761.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_41_3744.jpg', '/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_58_2696.jpg', '/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_05_3760.jpg', '/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_17_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_19_2700.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_22_2761.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_41_3744.jpg
/home/pi/Desktop/images/11012025/16/02/image_11012025_16_02_58_2696.jpg
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_05_3760.jpg
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_17_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199162","1329199159","1329199164","1329199161","1329199157","1329199166"],"photo_ids_order":["1329199157","1329199159","1329199161","1329199162","1329199164","1329199166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/60975b9d698b0cc23daefb07806b34bd.jpg","text":"TemporaryFile(/tmp/multipartBody5579311005361454964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966824877,"filename":"image_11012025_16_02_58_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e4f3a81c6c54825ca2835a6a2979af00.jpg","text":"TemporaryFile(/tmp/multipartBody2656978716077769452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966824877,"filename":"image_11012025_16_02_22_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ccf99885394ce1d31dbbbfad3e597891.jpg","text":"TemporaryFile(/tmp/multipartBody6921418000110796411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966824877,"filename":"image_11012025_16_03_05_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de50a8886c64ac1966aad1a3512ea770.jpg","text":"TemporaryFile(/tmp/multipartBody5082136039959565423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966824877,"filename":"image_11012025_16_02_41_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fb6f56a7d9b4b62d36aeed9071e207fe.jpg","text":"TemporaryFile(/tmp/multipartBody9103263752520178195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966824877,"filename":"image_11012025_16_02_19_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c8d10def07843c6d1b9423aa996c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody5383338435148941491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966824877,"filename":"image_11012025_16_03_17_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199161","file1":"1329199159","file0":"1329199157","file4":"1329199164","file5":"1329199166","file3":"1329199162"},"map_files_photo_id_array":[{"photo_id":"1329199166","filename":"file5"},{"photo_id":"1329199161","filename":"file2"},{"photo_id":"1329199164","filename":"file4"},{"photo_id":"1329199159","filename":"file1"},{"photo_id":"1329199157","filename":"file0"},{"photo_id":"1329199162","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329199162":["hashtag1","hashtag2"]},{"1329199159":["hashtag1","hashtag2"]},{"1329199164":["hashtag1","hashtag2"]},{"1329199161":["hashtag1","hashtag2"]},{"1329199157":["hashtag1","hashtag2"]},{"1329199166":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329199162, 1329199159, 1329199164, 1329199161, 1329199157, 1329199166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41451716423035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:46:42.551955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_57_2665.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_06_2641.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_10_3537.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_15_2615.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_22_2737.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_24_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/46/image_13012025_08_46_57_2665.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_06_2641.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_10_3537.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_15_2615.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_22_2737.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_24_2698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199183","1329199177","1329199197","1329199191","1329199200","1329199202"],"photo_ids_order":["1329199177","1329199183","1329199191","1329199197","1329199200","1329199202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5f3e0bb6869fc9f94d64098b7efa957.jpg","text":"TemporaryFile(/tmp/multipartBody3754081541429475979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966863633,"filename":"image_13012025_08_47_06_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/413a2052599f2391831c812a5dbf4bd3.jpg","text":"TemporaryFile(/tmp/multipartBody4286876269789988459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966863633,"filename":"image_13012025_08_46_57_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cafb1889a955fd26c6d00c9afbcf438f.jpg","text":"TemporaryFile(/tmp/multipartBody641417026773634234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966863633,"filename":"image_13012025_08_47_15_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fcfa7fd0f5ccfd361d16fe3e3113fa7d.jpg","text":"TemporaryFile(/tmp/multipartBody3683456603526390239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966863633,"filename":"image_13012025_08_47_10_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e6d6a2e3595dbfb3c2c55977aebecf07.jpg","text":"TemporaryFile(/tmp/multipartBody1335903636992730956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966863633,"filename":"image_13012025_08_47_22_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f7bdcc92552957bab0ef4b133fe2f51.jpg","text":"TemporaryFile(/tmp/multipartBody1189811800141786739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966863633,"filename":"image_13012025_08_47_24_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199191","file1":"1329199183","file0":"1329199177","file4":"1329199200","file5":"1329199202","file3":"1329199197"},"map_files_photo_id_array":[{"photo_id":"1329199202","filename":"file5"},{"photo_id":"1329199191","filename":"file2"},{"photo_id":"1329199200","filename":"file4"},{"photo_id":"1329199183","filename":"file1"},{"photo_id":"1329199177","filename":"file0"},{"photo_id":"1329199197","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329199183":["hashtag1","hashtag2"]},{"1329199177":["hashtag1","hashtag2"]},{"1329199197":["hashtag1","hashtag2"]},{"1329199191":["hashtag1","hashtag2"]},{"1329199200":["hashtag1","hashtag2"]},{"1329199202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329199183, 1329199177, 1329199197, 1329199191, 1329199200, 1329199202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19424629211426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:47:22.486949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_19_2886.jpg', '/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_25_2708.jpg', '/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_40_2787.jpg', '/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_04_2815.jpg', '/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_22_2586.jpg', '/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_34_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_19_2886.jpg
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_25_2708.jpg
/home/pi/Desktop/images/11012025/16/03/image_11012025_16_03_40_2787.jpg
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_04_2815.jpg
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_22_2586.jpg
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_34_2808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199222","1329199207","1329199227","1329199209","1329199212","1329199217"],"photo_ids_order":["1329199207","1329199209","1329199212","1329199217","1329199222","1329199227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2eec9f358b693d3d9d7564796131875.jpg","text":"TemporaryFile(/tmp/multipartBody7322022716000376733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966904997,"filename":"image_11012025_16_04_22_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/833a585be7febea77936258e2cf43601.jpg","text":"TemporaryFile(/tmp/multipartBody3702150238609618580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966904997,"filename":"image_11012025_16_03_19_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c90301c06f69e97b17b8e190d1565d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5908401251723892946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966904997,"filename":"image_11012025_16_04_34_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/319a67f8d352ce6201a0cbb2a531c03b.jpg","text":"TemporaryFile(/tmp/multipartBody1219410237860197769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966904997,"filename":"image_11012025_16_03_25_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7650f3bb69baa724d3c4eeb10bdf6c27.jpg","text":"TemporaryFile(/tmp/multipartBody3570609163537455927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966904997,"filename":"image_11012025_16_03_40_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/65370b56aa4fe6bf55df4c93ce06a986.jpg","text":"TemporaryFile(/tmp/multipartBody4185342803905208627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966904997,"filename":"image_11012025_16_04_04_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199212","file1":"1329199209","file0":"1329199207","file4":"1329199222","file5":"1329199227","file3":"1329199217"},"map_files_photo_id_array":[{"photo_id":"1329199227","filename":"file5"},{"photo_id":"1329199212","filename":"file2"},{"photo_id":"1329199222","filename":"file4"},{"photo_id":"1329199209","filename":"file1"},{"photo_id":"1329199207","filename":"file0"},{"photo_id":"1329199217","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329199222":["hashtag1","hashtag2"]},{"1329199207":["hashtag1","hashtag2"]},{"1329199227":["hashtag1","hashtag2"]},{"1329199209":["hashtag1","hashtag2"]},{"1329199212":["hashtag1","hashtag2"]},{"1329199217":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329199222, 1329199207, 1329199227, 1329199209, 1329199212, 1329199217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49550700187683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:48:02.818164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_58_2630.jpg', '/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_34_2641.jpg', '/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_38_3681.jpg', '/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_40_2780.jpg', '/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_52_2650.jpg', '/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_55_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/04/image_11012025_16_04_58_2630.jpg
/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_34_2641.jpg
/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_38_3681.jpg
/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_40_2780.jpg
/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_52_2650.jpg
/home/pi/Desktop/images/11012025/16/05/image_11012025_16_05_55_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199240","1329199237","1329199242","1329199239","1329199244","1329199238"],"photo_ids_order":["1329199237","1329199238","1329199239","1329199240","1329199242","1329199244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a8dca8a1e88972da93fe911e32122af6.jpg","text":"TemporaryFile(/tmp/multipartBody4645107088729435437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966944631,"filename":"image_11012025_16_05_40_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd61b374510a566b342407d3350702a2.jpg","text":"TemporaryFile(/tmp/multipartBody2816986111858665274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966944631,"filename":"image_11012025_16_04_58_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/761c5ac3c83fc153c9c87679dd052bab.jpg","text":"TemporaryFile(/tmp/multipartBody1302543795329803410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966944631,"filename":"image_11012025_16_05_52_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/105315e18be6b3fd268bea5af3f246e0.jpg","text":"TemporaryFile(/tmp/multipartBody3391805215807899403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966944631,"filename":"image_11012025_16_05_38_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a4b118e7ac53b5fd842a1badb24a58f5.jpg","text":"TemporaryFile(/tmp/multipartBody7649717889779252345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966944631,"filename":"image_11012025_16_05_55_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99a2e658626fe8ce1ab898804fa6b125.jpg","text":"TemporaryFile(/tmp/multipartBody6296738465651496927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966944631,"filename":"image_11012025_16_05_34_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199239","file1":"1329199238","file0":"1329199237","file4":"1329199242","file5":"1329199244","file3":"1329199240"},"map_files_photo_id_array":[{"photo_id":"1329199244","filename":"file5"},{"photo_id":"1329199239","filename":"file2"},{"photo_id":"1329199242","filename":"file4"},{"photo_id":"1329199238","filename":"file1"},{"photo_id":"1329199237","filename":"file0"},{"photo_id":"1329199240","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329199240":["hashtag1","hashtag2"]},{"1329199237":["hashtag1","hashtag2"]},{"1329199242":["hashtag1","hashtag2"]},{"1329199239":["hashtag1","hashtag2"]},{"1329199244":["hashtag1","hashtag2"]},{"1329199238":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329199240, 1329199237, 1329199242, 1329199239, 1329199244, 1329199238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.797101736068726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:48:42.334862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_27_2870.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_33_3559.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_36_2549.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_46_3555.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_49_2699.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_51_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_27_2870.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_33_3559.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_36_2549.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_46_3555.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_49_2699.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_51_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199255","1329199429","1329199263","1329199269","1329199260","1329199295"],"photo_ids_order":["1329199255","1329199260","1329199263","1329199269","1329199295","1329199429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af6e7d47ecdd9bf076323390367bb405.jpg","text":"TemporaryFile(/tmp/multipartBody7777610877957888279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966983521,"filename":"image_13012025_08_47_27_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3bb0c6fd3fb45880a643d7915b78cda.jpg","text":"TemporaryFile(/tmp/multipartBody3689539629611003119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966983521,"filename":"image_13012025_08_47_51_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/41b415d999cbf01d99f7b95fc9fa7390.jpg","text":"TemporaryFile(/tmp/multipartBody6837977913176887316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966983521,"filename":"image_13012025_08_47_36_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83664498687b124b8faf49de92729ba7.jpg","text":"TemporaryFile(/tmp/multipartBody6149365403056647629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966983521,"filename":"image_13012025_08_47_46_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3597c28c665a7beec51d21f1e5d121e.jpg","text":"TemporaryFile(/tmp/multipartBody8501899587544785092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966983521,"filename":"image_13012025_08_47_33_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/90da8663e4b9e3fe8dc2c218d43edd17.jpg","text":"TemporaryFile(/tmp/multipartBody7910258177429828270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736966983521,"filename":"image_13012025_08_47_49_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199263","file1":"1329199260","file0":"1329199255","file4":"1329199295","file5":"1329199429","file3":"1329199269"},"map_files_photo_id_array":[{"photo_id":"1329199429","filename":"file5"},{"photo_id":"1329199263","filename":"file2"},{"photo_id":"1329199295","filename":"file4"},{"photo_id":"1329199260","filename":"file1"},{"photo_id":"1329199255","filename":"file0"},{"photo_id":"1329199269","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329199255":["hashtag1","hashtag2"]},{"1329199429":["hashtag1","hashtag2"]},{"1329199263":["hashtag1","hashtag2"]},{"1329199269":["hashtag1","hashtag2"]},{"1329199260":["hashtag1","hashtag2"]},{"1329199295":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329199255, 1329199429, 1329199263, 1329199269, 1329199260, 1329199295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26573085784912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:49:22.478875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_04_2818.jpg', '/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_08_3597.jpg', '/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_10_2779.jpg', '/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_34_2667.jpg', '/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_28_2655.jpg', '/home/pi/Desktop/images/11012025/16/07/image_11012025_16_08_00_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_04_2818.jpg
/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_08_3597.jpg
/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_10_2779.jpg
/home/pi/Desktop/images/11012025/16/06/image_11012025_16_06_34_2667.jpg
/home/pi/Desktop/images/11012025/16/07/image_11012025_16_07_28_2655.jpg
/home/pi/Desktop/images/11012025/16/07/image_11012025_16_08_00_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199453","1329199461","1329199443","1329199440","1329199448","1329199457"],"photo_ids_order":["1329199440","1329199443","1329199448","1329199453","1329199457","1329199461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8c754ee3cdc135dbfb4f112350caf74.jpg","text":"TemporaryFile(/tmp/multipartBody5114470595964781287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967024871,"filename":"image_11012025_16_06_34_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70aaa6aec9a3ee3fc00777abf09c9025.jpg","text":"TemporaryFile(/tmp/multipartBody2860522583874066643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967024871,"filename":"image_11012025_16_08_00_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e39053cfef7bf9b4325da017964b6296.jpg","text":"TemporaryFile(/tmp/multipartBody8912550015510544336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967024871,"filename":"image_11012025_16_06_08_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5d2437d215102291e0454b620f6af09c.jpg","text":"TemporaryFile(/tmp/multipartBody6253127013306565298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967024871,"filename":"image_11012025_16_06_04_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7fc33c78a03b2333cc0783fa0ad008b.jpg","text":"TemporaryFile(/tmp/multipartBody6860772995271961410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967024871,"filename":"image_11012025_16_06_10_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84667e288b64d6394e8a852a88746da4.jpg","text":"TemporaryFile(/tmp/multipartBody16975065480821003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967024871,"filename":"image_11012025_16_07_28_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199448","file1":"1329199443","file0":"1329199440","file4":"1329199457","file5":"1329199461","file3":"1329199453"},"map_files_photo_id_array":[{"photo_id":"1329199461","filename":"file5"},{"photo_id":"1329199448","filename":"file2"},{"photo_id":"1329199457","filename":"file4"},{"photo_id":"1329199443","filename":"file1"},{"photo_id":"1329199440","filename":"file0"},{"photo_id":"1329199453","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329199453":["hashtag1","hashtag2"]},{"1329199461":["hashtag1","hashtag2"]},{"1329199443":["hashtag1","hashtag2"]},{"1329199440":["hashtag1","hashtag2"]},{"1329199448":["hashtag1","hashtag2"]},{"1329199457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329199453, 1329199461, 1329199443, 1329199440, 1329199448, 1329199457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08139729499817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:50:03.193942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_04_3772.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_07_2659.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_13_3636.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_16_2605.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_25_2742.jpg', '/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_28_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_04_3772.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_07_2659.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_13_3636.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_16_2605.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_25_2742.jpg
/home/pi/Desktop/images/11012025/16/08/image_11012025_16_08_28_2878.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199486","1329199491","1329199509","1329199503","1329199493","1329199511"],"photo_ids_order":["1329199486","1329199491","1329199493","1329199503","1329199509","1329199511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b24572b253dcfec877c3015324f93a55.jpg","text":"TemporaryFile(/tmp/multipartBody4025062468480123852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967065035,"filename":"image_11012025_16_08_04_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2db94d7c8715753a50b680988480f0a.jpg","text":"TemporaryFile(/tmp/multipartBody2898410848921329439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967065035,"filename":"image_11012025_16_08_07_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c404eff9153cf46c558b03bdea501c85.jpg","text":"TemporaryFile(/tmp/multipartBody7298153584961981457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967065035,"filename":"image_11012025_16_08_25_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4eba4f95eac04201b177944b3c94f601.jpg","text":"TemporaryFile(/tmp/multipartBody7403507052183759049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967065035,"filename":"image_11012025_16_08_16_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/897bf7e7c740144a459f2a06a799e038.jpg","text":"TemporaryFile(/tmp/multipartBody206640791663926476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967065035,"filename":"image_11012025_16_08_13_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1f1c5c8368a9ded3483fa7130b60f257.jpg","text":"TemporaryFile(/tmp/multipartBody4276442253229900382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967065035,"filename":"image_11012025_16_08_28_2878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199493","file1":"1329199491","file0":"1329199486","file4":"1329199509","file5":"1329199511","file3":"1329199503"},"map_files_photo_id_array":[{"photo_id":"1329199511","filename":"file5"},{"photo_id":"1329199493","filename":"file2"},{"photo_id":"1329199509","filename":"file4"},{"photo_id":"1329199491","filename":"file1"},{"photo_id":"1329199486","filename":"file0"},{"photo_id":"1329199503","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329199486":["hashtag1","hashtag2"]},{"1329199491":["hashtag1","hashtag2"]},{"1329199509":["hashtag1","hashtag2"]},{"1329199503":["hashtag1","hashtag2"]},{"1329199493":["hashtag1","hashtag2"]},{"1329199511":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329199486, 1329199491, 1329199509, 1329199503, 1329199493, 1329199511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60130071640015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:50:42.574482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_55_3602.jpg', '/home/pi/Desktop/images/13012025/08/47/image_13012025_08_48_00_2726.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_16_3705.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_19_2762.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_25_1587.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_27_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_47_55_3602.jpg
/home/pi/Desktop/images/13012025/08/47/image_13012025_08_48_00_2726.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_16_3705.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_19_2762.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_25_1587.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_27_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199528","1329199537","1329199542","1329199544","1329199523","1329199532"],"photo_ids_order":["1329199523","1329199528","1329199532","1329199537","1329199542","1329199544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffefc32716c0d46b86098e1209ed9094.jpg","text":"TemporaryFile(/tmp/multipartBody7415178033302503325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967103767,"filename":"image_13012025_08_48_00_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b35872b6d99075746a5641cb3063f6a.jpg","text":"TemporaryFile(/tmp/multipartBody1829610990481609287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967103767,"filename":"image_13012025_08_48_19_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cce58e0d01dd87403731730a506e78bc.jpg","text":"TemporaryFile(/tmp/multipartBody1211514683026845280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967103767,"filename":"image_13012025_08_48_25_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/50fbabf8b1837aae19295d29439e0b9e.jpg","text":"TemporaryFile(/tmp/multipartBody6176373643901929620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967103767,"filename":"image_13012025_08_48_27_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b90873fa1b94237f94fa065fbb384463.jpg","text":"TemporaryFile(/tmp/multipartBody9080902644068119319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967103767,"filename":"image_13012025_08_47_55_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e1a0f7e317d4f2cd007e91a6b1b6a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody2879901841453900456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967103767,"filename":"image_13012025_08_48_16_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199532","file1":"1329199528","file0":"1329199523","file4":"1329199542","file5":"1329199544","file3":"1329199537"},"map_files_photo_id_array":[{"photo_id":"1329199544","filename":"file5"},{"photo_id":"1329199532","filename":"file2"},{"photo_id":"1329199542","filename":"file4"},{"photo_id":"1329199528","filename":"file1"},{"photo_id":"1329199523","filename":"file0"},{"photo_id":"1329199537","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329199528":["hashtag1","hashtag2"]},{"1329199537":["hashtag1","hashtag2"]},{"1329199542":["hashtag1","hashtag2"]},{"1329199544":["hashtag1","hashtag2"]},{"1329199523":["hashtag1","hashtag2"]},{"1329199532":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329199528, 1329199537, 1329199542, 1329199544, 1329199523, 1329199532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.271780014038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:51:22.545914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_55_2581.jpg', '/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_26_3775.jpg', '/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_29_2564.jpg', '/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_32_2718.jpg', '/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_34_2850.jpg', '/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_38_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/09/image_11012025_16_09_55_2581.jpg
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_26_3775.jpg
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_29_2564.jpg
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_32_2718.jpg
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_34_2850.jpg
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_38_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199558","1329199587","1329199581","1329199563","1329199577","1329199550"],"photo_ids_order":["1329199550","1329199558","1329199563","1329199577","1329199581","1329199587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52970021b9250094ece8d7d068dbdf3e.jpg","text":"TemporaryFile(/tmp/multipartBody4344118830372104401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967144985,"filename":"image_11012025_16_10_26_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/72e621b598082b94b5979c5cf7e75f13.jpg","text":"TemporaryFile(/tmp/multipartBody6664082716675250001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967144985,"filename":"image_11012025_16_10_38_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/caafb68cfa86778acdb27478514df239.jpg","text":"TemporaryFile(/tmp/multipartBody7278021578909386780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967144985,"filename":"image_11012025_16_10_34_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6561ce0d90cb972a1f500791c2480e34.jpg","text":"TemporaryFile(/tmp/multipartBody6546867489179124447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967144985,"filename":"image_11012025_16_10_29_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/df08f65f0e622f2bcd572ce40ee66239.jpg","text":"TemporaryFile(/tmp/multipartBody5770512892277906116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967144985,"filename":"image_11012025_16_10_32_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c0b39cbf60d70eab1cd795f850d9bc99.jpg","text":"TemporaryFile(/tmp/multipartBody2070089986284384119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967144985,"filename":"image_11012025_16_09_55_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199563","file1":"1329199558","file0":"1329199550","file4":"1329199581","file5":"1329199587","file3":"1329199577"},"map_files_photo_id_array":[{"photo_id":"1329199587","filename":"file5"},{"photo_id":"1329199563","filename":"file2"},{"photo_id":"1329199581","filename":"file4"},{"photo_id":"1329199558","filename":"file1"},{"photo_id":"1329199550","filename":"file0"},{"photo_id":"1329199577","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329199558":["hashtag1","hashtag2"]},{"1329199587":["hashtag1","hashtag2"]},{"1329199581":["hashtag1","hashtag2"]},{"1329199563":["hashtag1","hashtag2"]},{"1329199577":["hashtag1","hashtag2"]},{"1329199550":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329199558, 1329199587, 1329199581, 1329199563, 1329199577, 1329199550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.821922063827515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:52:02.656114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_53_2642.jpg', '/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_07_2674.jpg', '/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_04_2594.jpg', '/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_20_2549.jpg', '/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_41_2691.jpg', '/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_52_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/10/image_11012025_16_10_53_2642.jpg
/home/pi/Desktop/images/11012025/16/11/image_11012025_16_11_07_2674.jpg
/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_04_2594.jpg
/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_20_2549.jpg
/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_41_2691.jpg
/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_52_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199612","1329199600","1329199599","1329199596","1329199617","1329199604"],"photo_ids_order":["1329199596","1329199599","1329199600","1329199604","1329199612","1329199617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb78e252318edda45b1ed555c9f01417.jpg","text":"TemporaryFile(/tmp/multipartBody4045393541614660468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967184477,"filename":"image_11012025_16_12_41_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9196d304ba11ce70f7d87812e6f1c0d1.jpg","text":"TemporaryFile(/tmp/multipartBody2430295612888984250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967184477,"filename":"image_11012025_16_12_04_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c02f60caae7553c245b8a6d23a2e5e5.jpg","text":"TemporaryFile(/tmp/multipartBody1585439362861853208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967184477,"filename":"image_11012025_16_11_07_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7198aca6f41e8e56ac448cc61c51decb.jpg","text":"TemporaryFile(/tmp/multipartBody5243127263415678945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967184477,"filename":"image_11012025_16_10_53_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d0861933cb4d10d00b784175ebb0ae5.jpg","text":"TemporaryFile(/tmp/multipartBody1078465372814610375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967184477,"filename":"image_11012025_16_12_52_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33fc8718f24bfb076b929eafc01d2e35.jpg","text":"TemporaryFile(/tmp/multipartBody6332574444708973697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967184477,"filename":"image_11012025_16_12_20_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199600","file1":"1329199599","file0":"1329199596","file4":"1329199612","file5":"1329199617","file3":"1329199604"},"map_files_photo_id_array":[{"photo_id":"1329199617","filename":"file5"},{"photo_id":"1329199600","filename":"file2"},{"photo_id":"1329199612","filename":"file4"},{"photo_id":"1329199599","filename":"file1"},{"photo_id":"1329199596","filename":"file0"},{"photo_id":"1329199604","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329199612":["hashtag1","hashtag2"]},{"1329199600":["hashtag1","hashtag2"]},{"1329199599":["hashtag1","hashtag2"]},{"1329199596":["hashtag1","hashtag2"]},{"1329199617":["hashtag1","hashtag2"]},{"1329199604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329199612, 1329199600, 1329199599, 1329199596, 1329199617, 1329199604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46187782287598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:52:42.089248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_30_2564.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_36_2685.jpg', '/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_39_2673.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_3865.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_03_1649.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_06_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_30_2564.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_36_2685.jpg
/home/pi/Desktop/images/13012025/08/48/image_13012025_08_48_39_2673.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_02_3865.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_03_1649.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_06_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199657","1329199651","1329199642","1329199653","1329199665","1329199647"],"photo_ids_order":["1329199642","1329199647","1329199651","1329199653","1329199657","1329199665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/517d88cd04e087b3e4b0877aa6632c6e.jpg","text":"TemporaryFile(/tmp/multipartBody4691326067398652994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967223259,"filename":"image_13012025_08_49_03_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/828898cb0e17889f07e6832d21861452.jpg","text":"TemporaryFile(/tmp/multipartBody6657501507080319000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967223259,"filename":"image_13012025_08_48_39_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bc81f5b7b55724ad6fc2106152b2489b.jpg","text":"TemporaryFile(/tmp/multipartBody117211180409837660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967223259,"filename":"image_13012025_08_48_30_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7586c1d0a80e2fa1d264d995f35939a.jpg","text":"TemporaryFile(/tmp/multipartBody2345591170846444688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967223259,"filename":"image_13012025_08_49_02_3865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c5ffd747aa5f7fb0d7ed513962e843a6.jpg","text":"TemporaryFile(/tmp/multipartBody5930626034410642432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967223259,"filename":"image_13012025_08_49_06_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd0b14fe2e642585e5373168749c2434.jpg","text":"TemporaryFile(/tmp/multipartBody6751130846063107946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967223259,"filename":"image_13012025_08_48_36_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199651","file1":"1329199647","file0":"1329199642","file4":"1329199657","file5":"1329199665","file3":"1329199653"},"map_files_photo_id_array":[{"photo_id":"1329199665","filename":"file5"},{"photo_id":"1329199651","filename":"file2"},{"photo_id":"1329199657","filename":"file4"},{"photo_id":"1329199647","filename":"file1"},{"photo_id":"1329199642","filename":"file0"},{"photo_id":"1329199653","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329199657":["hashtag1","hashtag2"]},{"1329199651":["hashtag1","hashtag2"]},{"1329199642":["hashtag1","hashtag2"]},{"1329199653":["hashtag1","hashtag2"]},{"1329199665":["hashtag1","hashtag2"]},{"1329199647":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329199657, 1329199651, 1329199642, 1329199653, 1329199665, 1329199647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61401724815369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:53:21.914278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_56_3610.jpg', '/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_10_2579.jpg', '/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_14_3554.jpg', '/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_17_2813.jpg', '/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_57_2885.jpg', '/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_20_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/12/image_11012025_16_12_56_3610.jpg
/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_10_2579.jpg
/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_14_3554.jpg
/home/pi/Desktop/images/11012025/16/13/image_11012025_16_13_17_2813.jpg
/home/pi/Desktop/images/11012025/16/24/image_11012025_16_24_57_2885.jpg
/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_20_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199699","1329199708","1329199692","1329199686","1329199695","1329199688"],"photo_ids_order":["1329199686","1329199688","1329199692","1329199695","1329199699","1329199708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22ce18ea06794123f8582aa28bbfbc35.jpg","text":"TemporaryFile(/tmp/multipartBody6266609467525392709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967264287,"filename":"image_11012025_16_24_57_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc5381274f706770d4293a1b3d258358.jpg","text":"TemporaryFile(/tmp/multipartBody6195980159108049264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967264287,"filename":"image_11012025_16_25_20_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ccfe1bde9afcc0285b72c480330746be.jpg","text":"TemporaryFile(/tmp/multipartBody3966759373801812788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967264287,"filename":"image_11012025_16_13_14_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38fb6be03dcb3dcaad46c7bc14c91ecd.jpg","text":"TemporaryFile(/tmp/multipartBody5170784991270374363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967264287,"filename":"image_11012025_16_12_56_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76a88919f227356bd1d2e66dac99d8ad.jpg","text":"TemporaryFile(/tmp/multipartBody2390613314993283502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967264287,"filename":"image_11012025_16_13_17_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5bca478c0d56dfdf6e556058258dd9a.jpg","text":"TemporaryFile(/tmp/multipartBody8559045801075972570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967264287,"filename":"image_11012025_16_13_10_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199692","file1":"1329199688","file0":"1329199686","file4":"1329199699","file5":"1329199708","file3":"1329199695"},"map_files_photo_id_array":[{"photo_id":"1329199708","filename":"file5"},{"photo_id":"1329199692","filename":"file2"},{"photo_id":"1329199699","filename":"file4"},{"photo_id":"1329199688","filename":"file1"},{"photo_id":"1329199686","filename":"file0"},{"photo_id":"1329199695","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329199699":["hashtag1","hashtag2"]},{"1329199708":["hashtag1","hashtag2"]},{"1329199692":["hashtag1","hashtag2"]},{"1329199686":["hashtag1","hashtag2"]},{"1329199695":["hashtag1","hashtag2"]},{"1329199688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329199699, 1329199708, 1329199692, 1329199686, 1329199695, 1329199688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69834303855896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:54:03.167705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_25_2681.jpg', '/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_01_3235.jpg', '/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_37_2823.jpg', '/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_43_2581.jpg', '/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_37_2867.jpg', '/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_40_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/25/image_11012025_16_25_25_2681.jpg
/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_01_3235.jpg
/home/pi/Desktop/images/11012025/16/26/image_11012025_16_26_37_2823.jpg
/home/pi/Desktop/images/11012025/16/27/image_11012025_16_27_43_2581.jpg
/home/pi/Desktop/images/11012025/16/28/image_11012025_16_28_37_2867.jpg
/home/pi/Desktop/images/11012025/16/29/image_11012025_16_29_40_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199801","1329199791","1329199842","1329199845","1329199800","1329199829"],"photo_ids_order":["1329199791","1329199800","1329199801","1329199829","1329199842","1329199845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fff16d6c9fe6fa3da75f72c30d4dfd21.jpg","text":"TemporaryFile(/tmp/multipartBody1103807838997025137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967304934,"filename":"image_11012025_16_26_37_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/57aa5c43c45f9df9cf72e24343e97a7a.jpg","text":"TemporaryFile(/tmp/multipartBody6423947666848983250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967304934,"filename":"image_11012025_16_25_25_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/898627db4f210ecdd8201919cd2618c5.jpg","text":"TemporaryFile(/tmp/multipartBody478469086287754694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967304934,"filename":"image_11012025_16_28_37_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84bf15ca4264e70dc11e3eeac7e11f52.jpg","text":"TemporaryFile(/tmp/multipartBody7124481572603398905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967304934,"filename":"image_11012025_16_29_40_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/82e83f11dc2fc5b121123d549d8545f3.jpg","text":"TemporaryFile(/tmp/multipartBody2079976523554526263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967304934,"filename":"image_11012025_16_26_01_3235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c032f2c51ac182935bd12485dfe02bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6619155664783330748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967304934,"filename":"image_11012025_16_27_43_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199801","file1":"1329199800","file0":"1329199791","file4":"1329199842","file5":"1329199845","file3":"1329199829"},"map_files_photo_id_array":[{"photo_id":"1329199845","filename":"file5"},{"photo_id":"1329199801","filename":"file2"},{"photo_id":"1329199842","filename":"file4"},{"photo_id":"1329199800","filename":"file1"},{"photo_id":"1329199791","filename":"file0"},{"photo_id":"1329199829","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329199801":["hashtag1","hashtag2"]},{"1329199791":["hashtag1","hashtag2"]},{"1329199842":["hashtag1","hashtag2"]},{"1329199845":["hashtag1","hashtag2"]},{"1329199800":["hashtag1","hashtag2"]},{"1329199829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329199801, 1329199791, 1329199842, 1329199845, 1329199800, 1329199829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04148578643799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:54:42.463205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_09_3552.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_12_2485.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_15_3609.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_18_2599.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_21_2784.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_25_3789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_09_3552.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_12_2485.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_15_3609.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_18_2599.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_21_2784.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_25_3789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199882","1329199884","1329199887","1329199877","1329199886","1329199865"],"photo_ids_order":["1329199865","1329199877","1329199882","1329199884","1329199886","1329199887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ed970a0eb5079ace316384ce56b6dfc.jpg","text":"TemporaryFile(/tmp/multipartBody887741525027046780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967343665,"filename":"image_13012025_08_49_15_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6796ef9092eeeb745408ad68906aa53b.jpg","text":"TemporaryFile(/tmp/multipartBody4850111566394990690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967343665,"filename":"image_13012025_08_49_18_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f71889d00a53d7279fb0d8a2af99e188.jpg","text":"TemporaryFile(/tmp/multipartBody7618448703968281828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967343665,"filename":"image_13012025_08_49_25_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8661a19214209ea58895981178a2817e.jpg","text":"TemporaryFile(/tmp/multipartBody4193365828932224440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967343665,"filename":"image_13012025_08_49_12_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b4a3e90ff254bd4abe937e9efc205349.jpg","text":"TemporaryFile(/tmp/multipartBody6684372825920176909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967343665,"filename":"image_13012025_08_49_21_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a842dc098c330c3366aed0f43efff3f.jpg","text":"TemporaryFile(/tmp/multipartBody4088505395802872648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967343665,"filename":"image_13012025_08_49_09_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199882","file1":"1329199877","file0":"1329199865","file4":"1329199886","file5":"1329199887","file3":"1329199884"},"map_files_photo_id_array":[{"photo_id":"1329199887","filename":"file5"},{"photo_id":"1329199882","filename":"file2"},{"photo_id":"1329199886","filename":"file4"},{"photo_id":"1329199877","filename":"file1"},{"photo_id":"1329199865","filename":"file0"},{"photo_id":"1329199884","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329199882":["hashtag1","hashtag2"]},{"1329199884":["hashtag1","hashtag2"]},{"1329199887":["hashtag1","hashtag2"]},{"1329199877":["hashtag1","hashtag2"]},{"1329199886":["hashtag1","hashtag2"]},{"1329199865":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329199882, 1329199884, 1329199887, 1329199877, 1329199886, 1329199865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23806023597717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:55:22.711842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_07_3013.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_14_3622.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_17_2812.jpg', '/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_22_2854.jpg', '/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_29_2702.jpg', '/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_38_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_07_3013.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_14_3622.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_17_2812.jpg
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_22_2854.jpg
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_29_2702.jpg
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_38_2556.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.28888201713562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:55:42.629621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_27_2497.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_30_2601.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_40_3548.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_42_2558.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_45_2580.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_48_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_27_2497.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_30_2601.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_40_3548.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_42_2558.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_45_2580.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_48_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329199951","1329200087","1329199973","1329200086","1329200059","1329199931"],"photo_ids_order":["1329199931","1329199951","1329199973","1329200059","1329200086","1329200087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bda3918a3c99efeb219a59a939aa4ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1695247606171793430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967403836,"filename":"image_13012025_08_49_30_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8fb59a93d2d1d33feddbe6c63a6cdf00.jpg","text":"TemporaryFile(/tmp/multipartBody3433847356198405529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967403836,"filename":"image_13012025_08_49_48_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/26c21454651b0e18547658a80ad5f46b.jpg","text":"TemporaryFile(/tmp/multipartBody5693200379955882651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967403836,"filename":"image_13012025_08_49_40_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b752da1cfd8740af6a7b2b591602c59e.jpg","text":"TemporaryFile(/tmp/multipartBody258902449521803526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967403836,"filename":"image_13012025_08_49_45_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/936efe5c6aea80a34da9acb4b79c2ae0.jpg","text":"TemporaryFile(/tmp/multipartBody2724292456123652431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967403836,"filename":"image_13012025_08_49_42_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97fd772e44d013c8a5d02ec74d2a0a4b.jpg","text":"TemporaryFile(/tmp/multipartBody6776594942610061896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967403836,"filename":"image_13012025_08_49_27_2497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329199973","file1":"1329199951","file0":"1329199931","file4":"1329200086","file5":"1329200087","file3":"1329200059"},"map_files_photo_id_array":[{"photo_id":"1329200087","filename":"file5"},{"photo_id":"1329199973","filename":"file2"},{"photo_id":"1329200086","filename":"file4"},{"photo_id":"1329199951","filename":"file1"},{"photo_id":"1329199931","filename":"file0"},{"photo_id":"1329200059","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329199951":["hashtag1","hashtag2"]},{"1329200087":["hashtag1","hashtag2"]},{"1329199973":["hashtag1","hashtag2"]},{"1329200086":["hashtag1","hashtag2"]},{"1329200059":["hashtag1","hashtag2"]},{"1329199931":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329199951, 1329200087, 1329199973, 1329200086, 1329200059, 1329199931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43131923675537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 19:56:22.469837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_07_3013.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_14_3622.jpg', '/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_17_2812.jpg', '/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_22_2854.jpg', '/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_29_2702.jpg', '/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_38_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/30/image_11012025_16_30_07_3013.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_14_3622.jpg
/home/pi/Desktop/images/11012025/16/32/image_11012025_16_32_17_2812.jpg
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_22_2854.jpg
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_29_2702.jpg
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_38_2556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329200203","1329200283","1329200195","1329200198","1329200291","1329200275"],"photo_ids_order":["1329200195","1329200198","1329200203","1329200275","1329200283","1329200291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ccd95a83a9cbb35c4fe1db6100d23e5a.jpg","text":"TemporaryFile(/tmp/multipartBody7047464718205559584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967444814,"filename":"image_11012025_16_32_17_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a90e27a7edfc3d5a9740e1b810c22df3.jpg","text":"TemporaryFile(/tmp/multipartBody249962657007575768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967444814,"filename":"image_11012025_16_33_29_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/94e23bc0e1a67bc7bd38e69f871ab090.jpg","text":"TemporaryFile(/tmp/multipartBody6264202233386340712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967444814,"filename":"image_11012025_16_30_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4397d6faa5afe79e8685863ddb9466de.jpg","text":"TemporaryFile(/tmp/multipartBody5110606088319742526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967444814,"filename":"image_11012025_16_32_14_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d66a38328312abd4476faf663ea5db08.jpg","text":"TemporaryFile(/tmp/multipartBody9165615217695373620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967444814,"filename":"image_11012025_16_33_38_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d9b2111acea4d5d3b6aee93bd90fabb.jpg","text":"TemporaryFile(/tmp/multipartBody147582359098373593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967444814,"filename":"image_11012025_16_33_22_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329200203","file1":"1329200198","file0":"1329200195","file4":"1329200283","file5":"1329200291","file3":"1329200275"},"map_files_photo_id_array":[{"photo_id":"1329200291","filename":"file5"},{"photo_id":"1329200203","filename":"file2"},{"photo_id":"1329200283","filename":"file4"},{"photo_id":"1329200198","filename":"file1"},{"photo_id":"1329200195","filename":"file0"},{"photo_id":"1329200275","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329200203":["hashtag1","hashtag2"]},{"1329200283":["hashtag1","hashtag2"]},{"1329200195":["hashtag1","hashtag2"]},{"1329200198":["hashtag1","hashtag2"]},{"1329200291":["hashtag1","hashtag2"]},{"1329200275":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329200203, 1329200283, 1329200195, 1329200198, 1329200291, 1329200275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90541362762451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:57:03.402051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_47_2642.jpg', '/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_10_2783.jpg', '/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_23_3631.jpg', '/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_43_3597.jpg', '/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_01_2845.jpg', '/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_38_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/33/image_11012025_16_33_47_2642.jpg
/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_10_2783.jpg
/home/pi/Desktop/images/11012025/16/34/image_11012025_16_34_23_3631.jpg
/home/pi/Desktop/images/11012025/16/35/image_11012025_16_35_43_3597.jpg
/home/pi/Desktop/images/11012025/16/36/image_11012025_16_36_01_2845.jpg
/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_38_1606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329200304","1329200313","1329200309","1329200306","1329200311","1329200308"],"photo_ids_order":["1329200304","1329200306","1329200308","1329200309","1329200311","1329200313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/93b2d86bacb499a0abe01b50e0ba8f40.jpg","text":"TemporaryFile(/tmp/multipartBody4597465413490020654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967485248,"filename":"image_11012025_16_33_47_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c5168bc34c49cf5838c80066e6dc648d.jpg","text":"TemporaryFile(/tmp/multipartBody6405220599305792716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967485248,"filename":"image_11012025_16_38_38_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10f59af87ad2f988494802715b957120.jpg","text":"TemporaryFile(/tmp/multipartBody7393670249148836171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967485248,"filename":"image_11012025_16_35_43_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/18e6ea16b95cab123ca955ba69e04c45.jpg","text":"TemporaryFile(/tmp/multipartBody7749120136309944799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967485248,"filename":"image_11012025_16_34_10_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ab077fe0f69ac89929e020a5b597ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5079738838096318813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967485248,"filename":"image_11012025_16_36_01_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/90811b74dc243ccc8535608dee49790a.jpg","text":"TemporaryFile(/tmp/multipartBody5663932960766898595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967485248,"filename":"image_11012025_16_34_23_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329200308","file1":"1329200306","file0":"1329200304","file4":"1329200311","file5":"1329200313","file3":"1329200309"},"map_files_photo_id_array":[{"photo_id":"1329200313","filename":"file5"},{"photo_id":"1329200308","filename":"file2"},{"photo_id":"1329200311","filename":"file4"},{"photo_id":"1329200306","filename":"file1"},{"photo_id":"1329200304","filename":"file0"},{"photo_id":"1329200309","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329200304":["hashtag1","hashtag2"]},{"1329200313":["hashtag1","hashtag2"]},{"1329200309":["hashtag1","hashtag2"]},{"1329200306":["hashtag1","hashtag2"]},{"1329200311":["hashtag1","hashtag2"]},{"1329200308":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329200304, 1329200313, 1329200309, 1329200306, 1329200311, 1329200308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82474136352539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:57:42.721964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_54_5707.jpg', '/home/pi/Desktop/images/13012025/08/49/image_13012025_08_50_00_2853.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_03_2581.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_06_3610.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_09_2782.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_16_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_49_54_5707.jpg
/home/pi/Desktop/images/13012025/08/49/image_13012025_08_50_00_2853.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_03_2581.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_06_3610.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_09_2782.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_16_3702.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329200328","1329200323","1329200353","1329200347","1329200332","1329200335"],"photo_ids_order":["1329200323","1329200328","1329200332","1329200335","1329200347","1329200353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2b8da3a6fe6fc8948886b7fd173b7457.jpg","text":"TemporaryFile(/tmp/multipartBody8727442065086655034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967523906,"filename":"image_13012025_08_50_00_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0c64b2b07817ee266ce11e53e5599c8.jpg","text":"TemporaryFile(/tmp/multipartBody2943343937917917754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967523906,"filename":"image_13012025_08_49_54_5707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6869faf33eac3c2bb7fa347d5bcedadb.jpg","text":"TemporaryFile(/tmp/multipartBody2658417357456351957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967523906,"filename":"image_13012025_08_50_16_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24dca3dc54824f0109860abfac9bd281.jpg","text":"TemporaryFile(/tmp/multipartBody2262651337643884588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967523906,"filename":"image_13012025_08_50_09_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/23cc8487b5e4c9c106efb4f968918369.jpg","text":"TemporaryFile(/tmp/multipartBody4004076289898685225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967523906,"filename":"image_13012025_08_50_03_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4ab87711ad5bf05eef216cc52515498.jpg","text":"TemporaryFile(/tmp/multipartBody85271189510015395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967523906,"filename":"image_13012025_08_50_06_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329200332","file1":"1329200328","file0":"1329200323","file4":"1329200347","file5":"1329200353","file3":"1329200335"},"map_files_photo_id_array":[{"photo_id":"1329200353","filename":"file5"},{"photo_id":"1329200332","filename":"file2"},{"photo_id":"1329200347","filename":"file4"},{"photo_id":"1329200328","filename":"file1"},{"photo_id":"1329200323","filename":"file0"},{"photo_id":"1329200335","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329200328":["hashtag1","hashtag2"]},{"1329200323":["hashtag1","hashtag2"]},{"1329200353":["hashtag1","hashtag2"]},{"1329200347":["hashtag1","hashtag2"]},{"1329200332":["hashtag1","hashtag2"]},{"1329200335":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329200328, 1329200323, 1329200353, 1329200347, 1329200332, 1329200335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94252133369446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 19:59:03.135961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_41_1655.jpg', '/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_47_1662.jpg', '/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_52_1693.jpg', '/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_55_1704.jpg', '/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_30_27963.jpg', '/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_10_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_41_1655.jpg
/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_47_1662.jpg
/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_52_1693.jpg
/home/pi/Desktop/images/11012025/16/38/image_11012025_16_38_55_1704.jpg
/home/pi/Desktop/images/11012025/16/39/image_11012025_16_39_30_27963.jpg
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_10_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329200418","1329200403","1329200399","1329200431","1329200425","1329200410"],"photo_ids_order":["1329200399","1329200403","1329200410","1329200418","1329200425","1329200431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8f13b5f554150dedf8f732760786db5b.jpg","text":"TemporaryFile(/tmp/multipartBody5257559343830668913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967605186,"filename":"image_11012025_16_38_55_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e01a0002b1a8f1637bf47e248423ef0.jpg","text":"TemporaryFile(/tmp/multipartBody7244297673241603927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967605186,"filename":"image_11012025_16_38_47_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/acf3b876f919b93526a80d1ad841e913.jpg","text":"TemporaryFile(/tmp/multipartBody4980343040191417174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967605186,"filename":"image_11012025_16_38_41_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/09582675cf65d28f156bb530f086e9a2.jpg","text":"TemporaryFile(/tmp/multipartBody2526919748511824411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967605186,"filename":"image_11012025_16_42_10_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2aa6cdca82a5ad182963ff8a1787fe1c.jpg","text":"TemporaryFile(/tmp/multipartBody1180851732663984978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967605186,"filename":"image_11012025_16_39_30_27963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58bd088118ae27334ff7a2925116c853.jpg","text":"TemporaryFile(/tmp/multipartBody9015992613267688828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967605186,"filename":"image_11012025_16_38_52_1693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329200410","file1":"1329200403","file0":"1329200399","file4":"1329200425","file5":"1329200431","file3":"1329200418"},"map_files_photo_id_array":[{"photo_id":"1329200431","filename":"file5"},{"photo_id":"1329200410","filename":"file2"},{"photo_id":"1329200425","filename":"file4"},{"photo_id":"1329200403","filename":"file1"},{"photo_id":"1329200399","filename":"file0"},{"photo_id":"1329200418","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329200418":["hashtag1","hashtag2"]},{"1329200403":["hashtag1","hashtag2"]},{"1329200399":["hashtag1","hashtag2"]},{"1329200431":["hashtag1","hashtag2"]},{"1329200425":["hashtag1","hashtag2"]},{"1329200410":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329200418, 1329200403, 1329200399, 1329200431, 1329200425, 1329200410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.346895694732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 19:59:42.003830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_24_3667.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_27_2636.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_33_3577.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_36_2710.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_39_2821.jpg', '/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_45_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_24_3667.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_27_2636.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_33_3577.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_36_2710.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_39_2821.jpg
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_45_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329200465","1329200444","1329200461","1329200455","1329200449","1329200458"],"photo_ids_order":["1329200444","1329200449","1329200455","1329200458","1329200461","1329200465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf985f67af3ee84a96a16989fa21efd5.jpg","text":"TemporaryFile(/tmp/multipartBody6642380462118798957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967643217,"filename":"image_13012025_08_50_45_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4a0424966af22e9404018dc7e85aa15.jpg","text":"TemporaryFile(/tmp/multipartBody1090730090177232603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967643217,"filename":"image_13012025_08_50_24_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8bf84a9b3e2d9c12f2923aa1c22da20.jpg","text":"TemporaryFile(/tmp/multipartBody5633960568953233897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967643217,"filename":"image_13012025_08_50_39_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d94f4e31df8c8fcbc2729c6cad758ee6.jpg","text":"TemporaryFile(/tmp/multipartBody8722808105761078573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967643217,"filename":"image_13012025_08_50_33_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80e27fc6b4b79b1332105b8404186dc8.jpg","text":"TemporaryFile(/tmp/multipartBody2779164001357335842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967643217,"filename":"image_13012025_08_50_27_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/812c0f5570732309a2eaa9c1ca412abc.jpg","text":"TemporaryFile(/tmp/multipartBody6849629401372552035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967643217,"filename":"image_13012025_08_50_36_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329200455","file1":"1329200449","file0":"1329200444","file4":"1329200461","file5":"1329200465","file3":"1329200458"},"map_files_photo_id_array":[{"photo_id":"1329200465","filename":"file5"},{"photo_id":"1329200455","filename":"file2"},{"photo_id":"1329200461","filename":"file4"},{"photo_id":"1329200449","filename":"file1"},{"photo_id":"1329200444","filename":"file0"},{"photo_id":"1329200458","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329200465":["hashtag1","hashtag2"]},{"1329200444":["hashtag1","hashtag2"]},{"1329200461":["hashtag1","hashtag2"]},{"1329200455":["hashtag1","hashtag2"]},{"1329200449":["hashtag1","hashtag2"]},{"1329200458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329200465, 1329200444, 1329200461, 1329200455, 1329200449, 1329200458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01101636886597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:00:22.776344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_43_2656.jpg', '/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_52_2785.jpg', '/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_31_2632.jpg', '/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_40_2653.jpg', '/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_58_2688.jpg', '/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_19_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_43_2656.jpg
/home/pi/Desktop/images/11012025/16/42/image_11012025_16_42_52_2785.jpg
/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_31_2632.jpg
/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_40_2653.jpg
/home/pi/Desktop/images/11012025/16/43/image_11012025_16_43_58_2688.jpg
/home/pi/Desktop/images/11012025/16/44/image_11012025_16_44_19_3633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329200502","1329200480","1329200483","1329200513","1329200494","1329200488"],"photo_ids_order":["1329200480","1329200483","1329200488","1329200494","1329200502","1329200513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bcb0dd83ed370fd99acfbfaeb6279edf.jpg","text":"TemporaryFile(/tmp/multipartBody7433267717189070313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967685244,"filename":"image_11012025_16_43_58_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f54a4fdd338c26bcc5d32135317b9b1a.jpg","text":"TemporaryFile(/tmp/multipartBody2669176366582067428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967685244,"filename":"image_11012025_16_42_43_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/53895a888fc15baf9fa00461b9cd9ed1.jpg","text":"TemporaryFile(/tmp/multipartBody593961148860217753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967685244,"filename":"image_11012025_16_42_52_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c795356c14ef81fda40fb98575b88cb.jpg","text":"TemporaryFile(/tmp/multipartBody8707079682305590187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967685244,"filename":"image_11012025_16_44_19_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97596b8e5ce06e720fdad796d5fef5f3.jpg","text":"TemporaryFile(/tmp/multipartBody8771075362893381846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967685244,"filename":"image_11012025_16_43_40_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06f4f8301feed958c725885d041534cc.jpg","text":"TemporaryFile(/tmp/multipartBody7427668906596688838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967685244,"filename":"image_11012025_16_43_31_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329200488","file1":"1329200483","file0":"1329200480","file4":"1329200502","file5":"1329200513","file3":"1329200494"},"map_files_photo_id_array":[{"photo_id":"1329200513","filename":"file5"},{"photo_id":"1329200488","filename":"file2"},{"photo_id":"1329200502","filename":"file4"},{"photo_id":"1329200483","filename":"file1"},{"photo_id":"1329200480","filename":"file0"},{"photo_id":"1329200494","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329200502":["hashtag1","hashtag2"]},{"1329200480":["hashtag1","hashtag2"]},{"1329200483":["hashtag1","hashtag2"]},{"1329200513":["hashtag1","hashtag2"]},{"1329200494":["hashtag1","hashtag2"]},{"1329200488":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329200502, 1329200480, 1329200483, 1329200513, 1329200494, 1329200488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83609986305237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:01:02.845001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_10_3688.jpg', '/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_22_3617.jpg', '/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_55_2796.jpg', '/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_29_1703.jpg', '/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_39_1611.jpg', '/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_50_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_10_3688.jpg
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_22_3617.jpg
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_55_2796.jpg
/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_29_1703.jpg
/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_39_1611.jpg
/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_50_2778.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.749685525894165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:01:21.914831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_10_3688.jpg', '/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_22_3617.jpg', '/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_55_2796.jpg', '/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_29_1703.jpg', '/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_39_1611.jpg', '/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_50_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_10_3688.jpg
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_22_3617.jpg
/home/pi/Desktop/images/11012025/16/49/image_11012025_16_49_55_2796.jpg
/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_29_1703.jpg
/home/pi/Desktop/images/11012025/16/50/image_11012025_16_50_39_1611.jpg
/home/pi/Desktop/images/11012025/16/51/image_11012025_16_51_50_2778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329200562","1329200550","1329200555","1329200579","1329200575","1329200569"],"photo_ids_order":["1329200550","1329200555","1329200562","1329200569","1329200575","1329200579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9dbf6f85dc309c08fdbc77d726361aa0.jpg","text":"TemporaryFile(/tmp/multipartBody8986295284910326702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967744212,"filename":"image_11012025_16_49_55_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ecddc113038bcb84b4f92f059d904f1a.jpg","text":"TemporaryFile(/tmp/multipartBody6921148713346149736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967744212,"filename":"image_11012025_16_49_10_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/13677b29a7a3d0f42431e6e8960f56cb.jpg","text":"TemporaryFile(/tmp/multipartBody1019402528636769764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967744212,"filename":"image_11012025_16_49_22_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44e6906a82b7766bfe1b1a2c9bf69423.jpg","text":"TemporaryFile(/tmp/multipartBody6965405219778609767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967744212,"filename":"image_11012025_16_51_50_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7c1eba079d61d1961fcae87c1194a9f.jpg","text":"TemporaryFile(/tmp/multipartBody481602453115097477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967744212,"filename":"image_11012025_16_50_39_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c4b2f338f1e99c5c04535ed129b2903d.jpg","text":"TemporaryFile(/tmp/multipartBody962791196043087497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967744212,"filename":"image_11012025_16_50_29_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329200562","file1":"1329200555","file0":"1329200550","file4":"1329200575","file5":"1329200579","file3":"1329200569"},"map_files_photo_id_array":[{"photo_id":"1329200579","filename":"file5"},{"photo_id":"1329200562","filename":"file2"},{"photo_id":"1329200575","filename":"file4"},{"photo_id":"1329200555","filename":"file1"},{"photo_id":"1329200550","filename":"file0"},{"photo_id":"1329200569","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329200562":["hashtag1","hashtag2"]},{"1329200550":["hashtag1","hashtag2"]},{"1329200555":["hashtag1","hashtag2"]},{"1329200579":["hashtag1","hashtag2"]},{"1329200575":["hashtag1","hashtag2"]},{"1329200569":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329200562, 1329200550, 1329200555, 1329200579, 1329200575, 1329200569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70772981643677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:02:03.143389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_52_2853.jpg', '/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_56_3673.jpg', '/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_26_3705.jpg', '/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_47_3682.jpg', '/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_08_2677.jpg', '/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_17_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_52_2853.jpg
/home/pi/Desktop/images/11012025/16/52/image_11012025_16_52_56_3673.jpg
/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_26_3705.jpg
/home/pi/Desktop/images/11012025/16/55/image_11012025_16_55_47_3682.jpg
/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_08_2677.jpg
/home/pi/Desktop/images/11012025/16/56/image_11012025_16_56_17_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329200934","1329200637","1329200927","1329200726","1329200917","1329200824"],"photo_ids_order":["1329200637","1329200726","1329200824","1329200917","1329200927","1329200934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9b847eff6aa3fb39240f7462bf48ac2e.jpg","text":"TemporaryFile(/tmp/multipartBody1023880763927826593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967784876,"filename":"image_11012025_16_56_17_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/25cbd435dac4960762d7f5216b54d132.jpg","text":"TemporaryFile(/tmp/multipartBody10523691781982608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967784876,"filename":"image_11012025_16_52_52_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7598d7722963b6871589dfaa8b23b74c.jpg","text":"TemporaryFile(/tmp/multipartBody378957596040189778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967784876,"filename":"image_11012025_16_56_08_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b9f696542f80d106f9ad0387c043ea13.jpg","text":"TemporaryFile(/tmp/multipartBody2527667467504233727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967784876,"filename":"image_11012025_16_52_56_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/45629cad4458575f61a5b43d1dd690e3.jpg","text":"TemporaryFile(/tmp/multipartBody6000381093757766876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967784876,"filename":"image_11012025_16_55_47_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e6ce28476390af5ebd59c2fcca7ed6ca.jpg","text":"TemporaryFile(/tmp/multipartBody1913562084041811763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967784876,"filename":"image_11012025_16_55_26_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329200824","file1":"1329200726","file0":"1329200637","file4":"1329200927","file5":"1329200934","file3":"1329200917"},"map_files_photo_id_array":[{"photo_id":"1329200934","filename":"file5"},{"photo_id":"1329200824","filename":"file2"},{"photo_id":"1329200927","filename":"file4"},{"photo_id":"1329200726","filename":"file1"},{"photo_id":"1329200637","filename":"file0"},{"photo_id":"1329200917","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329200934":["hashtag1","hashtag2"]},{"1329200637":["hashtag1","hashtag2"]},{"1329200927":["hashtag1","hashtag2"]},{"1329200726":["hashtag1","hashtag2"]},{"1329200917":["hashtag1","hashtag2"]},{"1329200824":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329200934, 1329200637, 1329200927, 1329200726, 1329200917, 1329200824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89672803878784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:02:42.500460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_51_2611.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_21_2701.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_24_2594.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_30_2742.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_33_2596.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_36_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/50/image_13012025_08_50_51_2611.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_21_2701.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_24_2594.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_30_2742.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_33_2596.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_36_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329201135","1329201068","1329201088","1329201058","1329201046","1329201090"],"photo_ids_order":["1329201046","1329201058","1329201068","1329201088","1329201090","1329201135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eeb375b350149c512622ccf3f8f8c7cc.jpg","text":"TemporaryFile(/tmp/multipartBody475271003647807696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967823688,"filename":"image_13012025_08_51_36_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06b74501ce9a384b40ee9e82c26cafac.jpg","text":"TemporaryFile(/tmp/multipartBody7677942216303085962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967823688,"filename":"image_13012025_08_51_24_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5eb35908510d296b444a1515ff15eaf1.jpg","text":"TemporaryFile(/tmp/multipartBody4032290457861985164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967823688,"filename":"image_13012025_08_51_30_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/921e876287b77f625b2f07ccf027be2e.jpg","text":"TemporaryFile(/tmp/multipartBody6640301042583073921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967823688,"filename":"image_13012025_08_51_21_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b4e4ca32f2f91bcaca0a10371023ed24.jpg","text":"TemporaryFile(/tmp/multipartBody5377625275289141936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967823688,"filename":"image_13012025_08_50_51_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c903f8193bb2493f4fe9418731ba6371.jpg","text":"TemporaryFile(/tmp/multipartBody4195130917548649511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967823688,"filename":"image_13012025_08_51_33_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329201068","file1":"1329201058","file0":"1329201046","file4":"1329201090","file5":"1329201135","file3":"1329201088"},"map_files_photo_id_array":[{"photo_id":"1329201135","filename":"file5"},{"photo_id":"1329201068","filename":"file2"},{"photo_id":"1329201090","filename":"file4"},{"photo_id":"1329201058","filename":"file1"},{"photo_id":"1329201046","filename":"file0"},{"photo_id":"1329201088","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329201135":["hashtag1","hashtag2"]},{"1329201068":["hashtag1","hashtag2"]},{"1329201088":["hashtag1","hashtag2"]},{"1329201058":["hashtag1","hashtag2"]},{"1329201046":["hashtag1","hashtag2"]},{"1329201090":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329201135, 1329201068, 1329201088, 1329201058, 1329201046, 1329201090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47617316246033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:03:22.347447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_11_3628.jpg', '/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_31_2851.jpg', '/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_52_2896.jpg', '/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_20_2791.jpg', '/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_25_2657.jpg', '/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_31_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_11_3628.jpg
/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_31_2851.jpg
/home/pi/Desktop/images/11012025/16/57/image_11012025_16_57_52_2896.jpg
/home/pi/Desktop/images/11012025/16/58/image_11012025_16_58_20_2791.jpg
/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_25_2657.jpg
/home/pi/Desktop/images/11012025/16/59/image_11012025_16_59_31_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329201188","1329201383","1329201377","1329201191","1329201200","1329201286"],"photo_ids_order":["1329201188","1329201191","1329201200","1329201286","1329201377","1329201383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aec2e64d919f97eacddc23acc9a773e4.jpg","text":"TemporaryFile(/tmp/multipartBody8052935926476977718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967864816,"filename":"image_11012025_16_57_11_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83cdcd813bed6f6c44e9d15872370a1c.jpg","text":"TemporaryFile(/tmp/multipartBody3409660861977014226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967864816,"filename":"image_11012025_16_59_31_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a95f3fe9a1b483219795993a14d09c7d.jpg","text":"TemporaryFile(/tmp/multipartBody7187676862424867076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967864816,"filename":"image_11012025_16_59_25_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/11df547aae685cd2ac162ca6d1d93488.jpg","text":"TemporaryFile(/tmp/multipartBody8053786361987306726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967864816,"filename":"image_11012025_16_57_31_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a83a3340a9a8f1fcea0e616509afd151.jpg","text":"TemporaryFile(/tmp/multipartBody6802308489299048160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967864816,"filename":"image_11012025_16_57_52_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0173d15f5925ee37d766ea9054ad4197.jpg","text":"TemporaryFile(/tmp/multipartBody8225230589941822108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967864816,"filename":"image_11012025_16_58_20_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329201200","file1":"1329201191","file0":"1329201188","file4":"1329201377","file5":"1329201383","file3":"1329201286"},"map_files_photo_id_array":[{"photo_id":"1329201383","filename":"file5"},{"photo_id":"1329201200","filename":"file2"},{"photo_id":"1329201377","filename":"file4"},{"photo_id":"1329201191","filename":"file1"},{"photo_id":"1329201188","filename":"file0"},{"photo_id":"1329201286","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329201188":["hashtag1","hashtag2"]},{"1329201383":["hashtag1","hashtag2"]},{"1329201377":["hashtag1","hashtag2"]},{"1329201191":["hashtag1","hashtag2"]},{"1329201200":["hashtag1","hashtag2"]},{"1329201286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329201188, 1329201383, 1329201377, 1329201191, 1329201200, 1329201286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27148151397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:04:03.235708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_44_2720.jpg', '/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_46_2675.jpg', '/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_56_2839.jpg', '/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_05_3818.jpg', '/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_49_3727.jpg', '/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_16_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_44_2720.jpg
/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_46_2675.jpg
/home/pi/Desktop/images/11012025/17/01/image_11012025_17_01_56_2839.jpg
/home/pi/Desktop/images/11012025/17/02/image_11012025_17_02_05_3818.jpg
/home/pi/Desktop/images/11012025/17/06/image_11012025_17_06_49_3727.jpg
/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_16_2799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329201408","1329201410","1329201413","1329201409","1329201403","1329201399"],"photo_ids_order":["1329201399","1329201403","1329201408","1329201409","1329201410","1329201413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3fcf96d1646feda6c6cfbfbd66c455b0.jpg","text":"TemporaryFile(/tmp/multipartBody4823739995544846954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967905000,"filename":"image_11012025_17_01_56_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1318337186678bfeda263c3bdf0b2572.jpg","text":"TemporaryFile(/tmp/multipartBody5578493452955310753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967905000,"filename":"image_11012025_17_06_49_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3631ec0bd3c619ce2a193da64ace738e.jpg","text":"TemporaryFile(/tmp/multipartBody4950249848854810078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967905000,"filename":"image_11012025_17_07_16_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21dffe57c5bda018ceaca721a9704ede.jpg","text":"TemporaryFile(/tmp/multipartBody6798289030580666800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967905000,"filename":"image_11012025_17_02_05_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/738b13d42ebab0072eabada2e68215ff.jpg","text":"TemporaryFile(/tmp/multipartBody6853373069879292462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967905000,"filename":"image_11012025_17_01_46_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e8fb3c0f5870d28cecc3b97d840e0fa5.jpg","text":"TemporaryFile(/tmp/multipartBody8776829836529521936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967905000,"filename":"image_11012025_17_01_44_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329201408","file1":"1329201403","file0":"1329201399","file4":"1329201410","file5":"1329201413","file3":"1329201409"},"map_files_photo_id_array":[{"photo_id":"1329201413","filename":"file5"},{"photo_id":"1329201408","filename":"file2"},{"photo_id":"1329201410","filename":"file4"},{"photo_id":"1329201403","filename":"file1"},{"photo_id":"1329201399","filename":"file0"},{"photo_id":"1329201409","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329201408":["hashtag1","hashtag2"]},{"1329201410":["hashtag1","hashtag2"]},{"1329201413":["hashtag1","hashtag2"]},{"1329201409":["hashtag1","hashtag2"]},{"1329201403":["hashtag1","hashtag2"]},{"1329201399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329201408, 1329201410, 1329201413, 1329201409, 1329201403, 1329201399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25786066055298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:04:42.465403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_39_2590.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_56_2622.jpg', '/home/pi/Desktop/images/13012025/08/51/image_13012025_08_52_00_3684.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_12_2612.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_18_2581.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_21_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_39_2590.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_51_56_2622.jpg
/home/pi/Desktop/images/13012025/08/51/image_13012025_08_52_00_3684.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_12_2612.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_18_2581.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_21_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329201447","1329201590","1329201440","1329201463","1329201433","1329201457"],"photo_ids_order":["1329201433","1329201440","1329201447","1329201457","1329201463","1329201590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/513990efc9c6a9e710c8f843b0015117.jpg","text":"TemporaryFile(/tmp/multipartBody2740338379994443173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967943660,"filename":"image_13012025_08_52_00_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b03fc6703b5901397ae7a29e46caa74.jpg","text":"TemporaryFile(/tmp/multipartBody4323319795016279956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967943660,"filename":"image_13012025_08_52_21_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52a5edaf80a82fa90c53849bf17bd9a8.jpg","text":"TemporaryFile(/tmp/multipartBody954815664710618226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967943660,"filename":"image_13012025_08_51_56_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/85dcdc98a975e998d141e88fa88d102d.jpg","text":"TemporaryFile(/tmp/multipartBody3919392424682464461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967943660,"filename":"image_13012025_08_52_18_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d442e3e807c5ac1de8fc1280290be3f.jpg","text":"TemporaryFile(/tmp/multipartBody3975095375266145206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967943660,"filename":"image_13012025_08_51_39_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8871a093ac76c0a6f12bc9718c5dc16a.jpg","text":"TemporaryFile(/tmp/multipartBody1750293505371905692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736967943660,"filename":"image_13012025_08_52_12_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329201447","file1":"1329201440","file0":"1329201433","file4":"1329201463","file5":"1329201590","file3":"1329201457"},"map_files_photo_id_array":[{"photo_id":"1329201590","filename":"file5"},{"photo_id":"1329201447","filename":"file2"},{"photo_id":"1329201463","filename":"file4"},{"photo_id":"1329201440","filename":"file1"},{"photo_id":"1329201433","filename":"file0"},{"photo_id":"1329201457","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329201447":["hashtag1","hashtag2"]},{"1329201590":["hashtag1","hashtag2"]},{"1329201440":["hashtag1","hashtag2"]},{"1329201463":["hashtag1","hashtag2"]},{"1329201433":["hashtag1","hashtag2"]},{"1329201457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329201447, 1329201590, 1329201440, 1329201463, 1329201433, 1329201457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.58486461639404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:05:42.541539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_39_2520.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_42_3676.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_54_2645.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_57_2578.jpg', '/home/pi/Desktop/images/13012025/08/52/image_13012025_08_53_00_3688.jpg', '/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_39_2520.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_42_3676.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_54_2645.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_52_57_2578.jpg
/home/pi/Desktop/images/13012025/08/52/image_13012025_08_53_00_3688.jpg
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_03_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329202319","1329202420","1329202303","1329202464","1329202382","1329202283"],"photo_ids_order":["1329202283","1329202303","1329202319","1329202382","1329202420","1329202464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c0ed8b3fe5e1e9c9d6cc932387a140c.jpg","text":"TemporaryFile(/tmp/multipartBody8240930210489785301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968003731,"filename":"image_13012025_08_52_54_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c9d9ad1698e5865ac5e0ce9184a52302.jpg","text":"TemporaryFile(/tmp/multipartBody4082851782134477515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968003731,"filename":"image_13012025_08_53_00_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e593da73880100a48b934889c0d2f3c8.jpg","text":"TemporaryFile(/tmp/multipartBody2467074130668696386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968003731,"filename":"image_13012025_08_52_42_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3296eb602aa4e19672cf2ffdbc63c698.jpg","text":"TemporaryFile(/tmp/multipartBody7875214958788259669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968003731,"filename":"image_13012025_08_53_03_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/43c4625e76153e871c26c43e37fa1524.jpg","text":"TemporaryFile(/tmp/multipartBody8180367908532575872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968003731,"filename":"image_13012025_08_52_57_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/804c24c85a75bd10aa92276ab45ee8e7.jpg","text":"TemporaryFile(/tmp/multipartBody2022841173805659775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968003731,"filename":"image_13012025_08_52_39_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329202319","file1":"1329202303","file0":"1329202283","file4":"1329202420","file5":"1329202464","file3":"1329202382"},"map_files_photo_id_array":[{"photo_id":"1329202464","filename":"file5"},{"photo_id":"1329202319","filename":"file2"},{"photo_id":"1329202420","filename":"file4"},{"photo_id":"1329202303","filename":"file1"},{"photo_id":"1329202283","filename":"file0"},{"photo_id":"1329202382","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329202319":["hashtag1","hashtag2"]},{"1329202420":["hashtag1","hashtag2"]},{"1329202303":["hashtag1","hashtag2"]},{"1329202464":["hashtag1","hashtag2"]},{"1329202382":["hashtag1","hashtag2"]},{"1329202283":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329202319, 1329202420, 1329202303, 1329202464, 1329202382, 1329202283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17004156112671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:06:22.504869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_31_3856.jpg', '/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_43_2571.jpg', '/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_10_2760.jpg', '/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_16_3801.jpg', '/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_22_2735.jpg', '/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_34_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_31_3856.jpg
/home/pi/Desktop/images/11012025/17/07/image_11012025_17_07_43_2571.jpg
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_10_2760.jpg
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_16_3801.jpg
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_22_2735.jpg
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_34_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329202535","1329202549","1329202606","1329202540","1329202860","1329202772"],"photo_ids_order":["1329202535","1329202540","1329202549","1329202606","1329202772","1329202860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f857197e8b250c4c6e545dfc8a4b348.jpg","text":"TemporaryFile(/tmp/multipartBody6972923510776623475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968044933,"filename":"image_11012025_17_07_31_3856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05386bc5393cdfbd6983a4a82c57aa7c.jpg","text":"TemporaryFile(/tmp/multipartBody8341686324631550499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968044933,"filename":"image_11012025_17_08_10_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48fc0718391cff824dca0c1f72a233d7.jpg","text":"TemporaryFile(/tmp/multipartBody4660734513718238170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968044933,"filename":"image_11012025_17_08_16_3801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0c3e367a7661bbe5983d0ca63c4d287.jpg","text":"TemporaryFile(/tmp/multipartBody5980323933099758076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968044933,"filename":"image_11012025_17_07_43_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f0a49f60f15c9157cefdeac699edd8e9.jpg","text":"TemporaryFile(/tmp/multipartBody1936272949419206983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968044933,"filename":"image_11012025_17_08_34_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0989ff852d50094287516e16994be43.jpg","text":"TemporaryFile(/tmp/multipartBody2099845190639413786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968044933,"filename":"image_11012025_17_08_22_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329202549","file1":"1329202540","file0":"1329202535","file4":"1329202772","file5":"1329202860","file3":"1329202606"},"map_files_photo_id_array":[{"photo_id":"1329202860","filename":"file5"},{"photo_id":"1329202549","filename":"file2"},{"photo_id":"1329202772","filename":"file4"},{"photo_id":"1329202540","filename":"file1"},{"photo_id":"1329202535","filename":"file0"},{"photo_id":"1329202606","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329202535":["hashtag1","hashtag2"]},{"1329202549":["hashtag1","hashtag2"]},{"1329202606":["hashtag1","hashtag2"]},{"1329202540":["hashtag1","hashtag2"]},{"1329202860":["hashtag1","hashtag2"]},{"1329202772":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329202535, 1329202549, 1329202606, 1329202540, 1329202860, 1329202772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27974510192871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:07:21.879763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_40_2701.jpg', '/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_58_2680.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_07_2543.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_10_3661.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_37_3590.jpg', '/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_43_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_40_2701.jpg
/home/pi/Desktop/images/11012025/17/08/image_11012025_17_08_58_2680.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_07_2543.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_10_3661.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_37_3590.jpg
/home/pi/Desktop/images/11012025/17/09/image_11012025_17_09_43_3565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329202961","1329203038","1329203022","1329203048","1329202991","1329202985"],"photo_ids_order":["1329202961","1329202985","1329202991","1329203022","1329203038","1329203048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74883e9f81d6f43dcf3fdfbf3f41b221.jpg","text":"TemporaryFile(/tmp/multipartBody5547136542597820358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968104247,"filename":"image_11012025_17_08_40_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0b4efe7b151907d7349aea259687d77c.jpg","text":"TemporaryFile(/tmp/multipartBody6347552260515862548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968104247,"filename":"image_11012025_17_09_37_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e55d34122198a0f9ad2e816e4bf5b3d8.jpg","text":"TemporaryFile(/tmp/multipartBody7358883478739751959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968104247,"filename":"image_11012025_17_09_10_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4100fd29108009638d5ea035a4c7569d.jpg","text":"TemporaryFile(/tmp/multipartBody1609647807727073384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968104247,"filename":"image_11012025_17_09_43_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48a1a2eee3f60512220798a72a7248f5.jpg","text":"TemporaryFile(/tmp/multipartBody7311042249644485558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968104247,"filename":"image_11012025_17_09_07_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af423762e5901687e44e8bac79499b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2408007530008790154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968104247,"filename":"image_11012025_17_08_58_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329202991","file1":"1329202985","file0":"1329202961","file4":"1329203038","file5":"1329203048","file3":"1329203022"},"map_files_photo_id_array":[{"photo_id":"1329203048","filename":"file5"},{"photo_id":"1329202991","filename":"file2"},{"photo_id":"1329203038","filename":"file4"},{"photo_id":"1329202985","filename":"file1"},{"photo_id":"1329202961","filename":"file0"},{"photo_id":"1329203022","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329202961":["hashtag1","hashtag2"]},{"1329203038":["hashtag1","hashtag2"]},{"1329203022":["hashtag1","hashtag2"]},{"1329203048":["hashtag1","hashtag2"]},{"1329202991":["hashtag1","hashtag2"]},{"1329202985":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329202961, 1329203038, 1329203022, 1329203048, 1329202991, 1329202985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96627998352051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:08:22.725237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_10_2665.jpg', '/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_38_3548.jpg', '/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_40_2753.jpg', '/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_43_2650.jpg', '/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_49_3589.jpg', '/home/pi/Desktop/images/11012025/17/13/image_11012025_17_13_55_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_10_2665.jpg
/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_38_3548.jpg
/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_40_2753.jpg
/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_43_2650.jpg
/home/pi/Desktop/images/11012025/17/12/image_11012025_17_12_49_3589.jpg
/home/pi/Desktop/images/11012025/17/13/image_11012025_17_13_55_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203102","1329203110","1329203097","1329203118","1329203133","1329203106"],"photo_ids_order":["1329203097","1329203102","1329203106","1329203110","1329203118","1329203133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/45d9bf0adf4e45325348c7bcd7568c57.jpg","text":"TemporaryFile(/tmp/multipartBody3809454535662047381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968165080,"filename":"image_11012025_17_12_38_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb5f07dec44d7319148464733cdb8599.jpg","text":"TemporaryFile(/tmp/multipartBody2928437693575629147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968165080,"filename":"image_11012025_17_12_43_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3ee01f9664fcb9192af037bea71e84e6.jpg","text":"TemporaryFile(/tmp/multipartBody2660506178146394175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968165080,"filename":"image_11012025_17_12_10_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d3294789f139329f2b3a958687fa5e5.jpg","text":"TemporaryFile(/tmp/multipartBody4622600953484934392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968165080,"filename":"image_11012025_17_12_49_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/207ac4cb26929429d41e916dad4505ea.jpg","text":"TemporaryFile(/tmp/multipartBody2132286632326970784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968165080,"filename":"image_11012025_17_13_55_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44a330a1ec065388ab6207d13887fbd4.jpg","text":"TemporaryFile(/tmp/multipartBody4306753097363040889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968165080,"filename":"image_11012025_17_12_40_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203106","file1":"1329203102","file0":"1329203097","file4":"1329203118","file5":"1329203133","file3":"1329203110"},"map_files_photo_id_array":[{"photo_id":"1329203133","filename":"file5"},{"photo_id":"1329203106","filename":"file2"},{"photo_id":"1329203118","filename":"file4"},{"photo_id":"1329203102","filename":"file1"},{"photo_id":"1329203097","filename":"file0"},{"photo_id":"1329203110","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329203102":["hashtag1","hashtag2"]},{"1329203110":["hashtag1","hashtag2"]},{"1329203097":["hashtag1","hashtag2"]},{"1329203118":["hashtag1","hashtag2"]},{"1329203133":["hashtag1","hashtag2"]},{"1329203106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329203102, 1329203110, 1329203097, 1329203118, 1329203133, 1329203106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5978217124939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:09:03.330734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_37_3645.jpg', '/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_41_3394.jpg', '/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_43_2657.jpg', '/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_52_3628.jpg', '/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_58_3656.jpg', '/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_13_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_37_3645.jpg
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_41_3394.jpg
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_43_2657.jpg
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_52_3628.jpg
/home/pi/Desktop/images/11012025/17/14/image_11012025_17_14_58_3656.jpg
/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_13_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203156","1329203157","1329203165","1329203159","1329203150","1329203153"],"photo_ids_order":["1329203150","1329203153","1329203156","1329203157","1329203159","1329203165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5d84484de232a33ae10edf32c34cfa40.jpg","text":"TemporaryFile(/tmp/multipartBody924656343291825821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968205353,"filename":"image_11012025_17_14_43_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c2100d918fed318ffb1d83735aa057a.jpg","text":"TemporaryFile(/tmp/multipartBody1493662342813647451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968205353,"filename":"image_11012025_17_14_52_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c67dc2882b6d04fb862b4fd34486fd75.jpg","text":"TemporaryFile(/tmp/multipartBody4914909018077808236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968205353,"filename":"image_11012025_17_15_13_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b4a22ff368aae668ddb0ec17844cfd44.jpg","text":"TemporaryFile(/tmp/multipartBody7870974622934538179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968205353,"filename":"image_11012025_17_14_58_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/196319006f81bfe71de4e58e414d7946.jpg","text":"TemporaryFile(/tmp/multipartBody6702150583988729217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968205353,"filename":"image_11012025_17_14_37_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dbfbbd006ddc6f150781431bd7288d9f.jpg","text":"TemporaryFile(/tmp/multipartBody3953267703409641850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968205353,"filename":"image_11012025_17_14_41_3394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203156","file1":"1329203153","file0":"1329203150","file4":"1329203159","file5":"1329203165","file3":"1329203157"},"map_files_photo_id_array":[{"photo_id":"1329203165","filename":"file5"},{"photo_id":"1329203156","filename":"file2"},{"photo_id":"1329203159","filename":"file4"},{"photo_id":"1329203153","filename":"file1"},{"photo_id":"1329203150","filename":"file0"},{"photo_id":"1329203157","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329203156":["hashtag1","hashtag2"]},{"1329203157":["hashtag1","hashtag2"]},{"1329203165":["hashtag1","hashtag2"]},{"1329203159":["hashtag1","hashtag2"]},{"1329203150":["hashtag1","hashtag2"]},{"1329203153":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329203156, 1329203157, 1329203165, 1329203159, 1329203150, 1329203153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.950932025909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:09:42.354478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_12_3608.jpg', '/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_21_2617.jpg', '/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_24_2755.jpg', '/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_30_2644.jpg', '/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_32_2720.jpg', '/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_36_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_12_3608.jpg
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_21_2617.jpg
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_24_2755.jpg
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_30_2644.jpg
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_32_2720.jpg
/home/pi/Desktop/images/13012025/08/53/image_13012025_08_53_36_3654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203194","1329203179","1329203190","1329203183","1329203186","1329203174"],"photo_ids_order":["1329203174","1329203179","1329203183","1329203186","1329203190","1329203194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/223a10690818ecc6ed0182fbd020f586.jpg","text":"TemporaryFile(/tmp/multipartBody6003047147127234135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968243533,"filename":"image_13012025_08_53_36_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ce966805a26873b52a586d9f9e789d7c.jpg","text":"TemporaryFile(/tmp/multipartBody5342703941834839478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968243533,"filename":"image_13012025_08_53_21_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28b9d0f05bea9b3cc1bca3067e387528.jpg","text":"TemporaryFile(/tmp/multipartBody4086298354559818574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968243533,"filename":"image_13012025_08_53_32_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87d60d07b7194700b90c8402b1c3e2fe.jpg","text":"TemporaryFile(/tmp/multipartBody5608796310770064693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968243533,"filename":"image_13012025_08_53_24_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da27eca76059a9c7f95997371d72290e.jpg","text":"TemporaryFile(/tmp/multipartBody1428281022238121171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968243533,"filename":"image_13012025_08_53_30_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38a0c1ce72c00b8278daae70d91c3791.jpg","text":"TemporaryFile(/tmp/multipartBody5364912310898236054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968243533,"filename":"image_13012025_08_53_12_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203183","file1":"1329203179","file0":"1329203174","file4":"1329203190","file5":"1329203194","file3":"1329203186"},"map_files_photo_id_array":[{"photo_id":"1329203194","filename":"file5"},{"photo_id":"1329203183","filename":"file2"},{"photo_id":"1329203190","filename":"file4"},{"photo_id":"1329203179","filename":"file1"},{"photo_id":"1329203174","filename":"file0"},{"photo_id":"1329203186","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329203194":["hashtag1","hashtag2"]},{"1329203179":["hashtag1","hashtag2"]},{"1329203190":["hashtag1","hashtag2"]},{"1329203183":["hashtag1","hashtag2"]},{"1329203186":["hashtag1","hashtag2"]},{"1329203174":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329203194, 1329203179, 1329203190, 1329203183, 1329203186, 1329203174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78153657913208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:10:21.944787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_40_2635.jpg', '/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_44_3564.jpg', '/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_04_2658.jpg', '/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_32_3613.jpg', '/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_37_2706.jpg', '/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_41_3829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_40_2635.jpg
/home/pi/Desktop/images/11012025/17/15/image_11012025_17_15_44_3564.jpg
/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_04_2658.jpg
/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_32_3613.jpg
/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_37_2706.jpg
/home/pi/Desktop/images/11012025/17/16/image_11012025_17_16_41_3829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203204","1329203356","1329203323","1329203286","1329203205","1329203208"],"photo_ids_order":["1329203204","1329203205","1329203208","1329203286","1329203323","1329203356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a5f7f309fb314153985af53f9a00aa6.jpg","text":"TemporaryFile(/tmp/multipartBody1931471242419911774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968284429,"filename":"image_11012025_17_15_40_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/392f7071e05ec581322303896c2fb492.jpg","text":"TemporaryFile(/tmp/multipartBody3470417948846247910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968284429,"filename":"image_11012025_17_16_41_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ba5e1b1b65acce251ad9414259b39b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2474520063334554901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968284429,"filename":"image_11012025_17_16_37_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea5817b7f3f40d8d079c61430645305d.jpg","text":"TemporaryFile(/tmp/multipartBody6866707484397572760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968284429,"filename":"image_11012025_17_16_32_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2fef2802068ce8aada6eecd52fa3531e.jpg","text":"TemporaryFile(/tmp/multipartBody7513051064155984313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968284429,"filename":"image_11012025_17_15_44_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74f33ef8730b92483f8225152e3f2b2b.jpg","text":"TemporaryFile(/tmp/multipartBody8138160591934179724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968284429,"filename":"image_11012025_17_16_04_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203208","file1":"1329203205","file0":"1329203204","file4":"1329203323","file5":"1329203356","file3":"1329203286"},"map_files_photo_id_array":[{"photo_id":"1329203356","filename":"file5"},{"photo_id":"1329203208","filename":"file2"},{"photo_id":"1329203323","filename":"file4"},{"photo_id":"1329203205","filename":"file1"},{"photo_id":"1329203204","filename":"file0"},{"photo_id":"1329203286","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329203204":["hashtag1","hashtag2"]},{"1329203356":["hashtag1","hashtag2"]},{"1329203323":["hashtag1","hashtag2"]},{"1329203286":["hashtag1","hashtag2"]},{"1329203205":["hashtag1","hashtag2"]},{"1329203208":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329203204, 1329203356, 1329203323, 1329203286, 1329203205, 1329203208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.749951124191284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:11:02.982756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_04_2673.jpg', '/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_13_1678.jpg', '/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_17_3764.jpg', '/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_34_2621.jpg', '/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_56_3592.jpg', '/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_15_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_04_2673.jpg
/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_13_1678.jpg
/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_17_3764.jpg
/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_34_2621.jpg
/home/pi/Desktop/images/11012025/17/17/image_11012025_17_17_56_3592.jpg
/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_15_1557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203453","1329203446","1329203451","1329203448","1329203441","1329203399"],"photo_ids_order":["1329203399","1329203441","1329203446","1329203448","1329203451","1329203453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52c8e3460c44af253dd619e0f01e4736.jpg","text":"TemporaryFile(/tmp/multipartBody7287812518913934119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968324849,"filename":"image_11012025_17_18_15_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/077ebd58524f2bd26e653d3f981f34a9.jpg","text":"TemporaryFile(/tmp/multipartBody7046065312681275311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968324849,"filename":"image_11012025_17_17_17_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e843847b9243ea16688acb1cf4341371.jpg","text":"TemporaryFile(/tmp/multipartBody146755944919136529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968324849,"filename":"image_11012025_17_17_56_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0711e3887b84e8203cfeaac0d50cbf75.jpg","text":"TemporaryFile(/tmp/multipartBody3060463970880946102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968324849,"filename":"image_11012025_17_17_34_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ece43818dc00b0a659bd084df556f5ed.jpg","text":"TemporaryFile(/tmp/multipartBody7291605648342376733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968324849,"filename":"image_11012025_17_17_13_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/50365c583fe076f2d4b972580a5d7a15.jpg","text":"TemporaryFile(/tmp/multipartBody4989193941974204698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968324849,"filename":"image_11012025_17_17_04_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203446","file1":"1329203441","file0":"1329203399","file4":"1329203451","file5":"1329203453","file3":"1329203448"},"map_files_photo_id_array":[{"photo_id":"1329203453","filename":"file5"},{"photo_id":"1329203446","filename":"file2"},{"photo_id":"1329203451","filename":"file4"},{"photo_id":"1329203441","filename":"file1"},{"photo_id":"1329203399","filename":"file0"},{"photo_id":"1329203448","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329203453":["hashtag1","hashtag2"]},{"1329203446":["hashtag1","hashtag2"]},{"1329203451":["hashtag1","hashtag2"]},{"1329203448":["hashtag1","hashtag2"]},{"1329203441":["hashtag1","hashtag2"]},{"1329203399":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329203453, 1329203446, 1329203451, 1329203448, 1329203441, 1329203399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.681699991226196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:12:03.313072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/19/44/image_15012025_19_44_42_2752.jpg', '/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_42_2614.jpg', '/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_45_2677.jpg', '/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_48_3673.jpg', '/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_51_2684.jpg', '/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_54_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/19/44/image_15012025_19_44_42_2752.jpg
/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_42_2614.jpg
/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_45_2677.jpg
/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_48_3673.jpg
/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_51_2684.jpg
/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_54_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203510","1329203507","1329203497","1329203503","1329203487","1329203505"],"photo_ids_order":["1329203487","1329203497","1329203503","1329203505","1329203507","1329203510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/69ee6e689bea972d96aa3dd9b7e0caf9.jpg","text":"TemporaryFile(/tmp/multipartBody7309268238682536486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968384078,"filename":"image_15012025_20_11_54_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c704bc33e0abe1ccdbef9b867794b86.jpg","text":"TemporaryFile(/tmp/multipartBody8231371783842692069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968384078,"filename":"image_15012025_20_11_51_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6769a79b9a454680ea70c4cdbc48b0d0.jpg","text":"TemporaryFile(/tmp/multipartBody6010673550086983148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968384078,"filename":"image_15012025_20_11_42_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c44c576f4bafed89958681ee8d7be40d.jpg","text":"TemporaryFile(/tmp/multipartBody3658736658332743752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968384078,"filename":"image_15012025_20_11_45_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e920ad02e6044814c688241189ee5b51.jpg","text":"TemporaryFile(/tmp/multipartBody6106046490528521827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968384078,"filename":"image_15012025_19_44_42_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8cbfc936457a6a26535776ab20f7cd3a.jpg","text":"TemporaryFile(/tmp/multipartBody8730887854905987982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968384078,"filename":"image_15012025_20_11_48_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203503","file1":"1329203497","file0":"1329203487","file4":"1329203507","file5":"1329203510","file3":"1329203505"},"map_files_photo_id_array":[{"photo_id":"1329203510","filename":"file5"},{"photo_id":"1329203503","filename":"file2"},{"photo_id":"1329203507","filename":"file4"},{"photo_id":"1329203497","filename":"file1"},{"photo_id":"1329203487","filename":"file0"},{"photo_id":"1329203505","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329203510":["hashtag1","hashtag2"]},{"1329203507":["hashtag1","hashtag2"]},{"1329203497":["hashtag1","hashtag2"]},{"1329203503":["hashtag1","hashtag2"]},{"1329203487":["hashtag1","hashtag2"]},{"1329203505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329203510, 1329203507, 1329203497, 1329203503, 1329203487, 1329203505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.87840247154236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:13:02.635947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_57_2690.jpg', '/home/pi/Desktop/images/15012025/20/11/image_15012025_20_12_00_2680.jpg', '/home/pi/Desktop/images/15012025/20/12/image_15012025_20_12_06_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/20/11/image_15012025_20_11_57_2690.jpg
/home/pi/Desktop/images/15012025/20/11/image_15012025_20_12_00_2680.jpg
/home/pi/Desktop/images/15012025/20/12/image_15012025_20_12_06_2780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203554","1329203548","1329203557"],"photo_ids_order":["1329203548","1329203554","1329203557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b32cdf1f4d7b2c4ab7bf98a4bfa06843.jpg","text":"TemporaryFile(/tmp/multipartBody880073982236628394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968443327,"filename":"image_15012025_20_12_00_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29f12c7aa266d505ad86f7c975a88c19.jpg","text":"TemporaryFile(/tmp/multipartBody8605125074541265457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968443327,"filename":"image_15012025_20_11_57_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2b3c925f2d350602371712ef4b73f3da.jpg","text":"TemporaryFile(/tmp/multipartBody7301718261019159656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968443327,"filename":"image_15012025_20_12_06_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203557","file1":"1329203554","file0":"1329203548"},"map_files_photo_id_array":[{"photo_id":"1329203557","filename":"file2"},{"photo_id":"1329203554","filename":"file1"},{"photo_id":"1329203548","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329203554":["hashtag1","hashtag2"]},{"1329203548":["hashtag1","hashtag2"]},{"1329203557":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329203554, 1329203548, 1329203557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.74772572517395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:13:41.914158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_33_2782.jpg', '/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_36_2882.jpg', '/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_38_2630.jpg', '/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_42_3654.jpg', '/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_47_2632.jpg', '/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_56_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_33_2782.jpg
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_36_2882.jpg
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_38_2630.jpg
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_42_3654.jpg
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_47_2632.jpg
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_54_56_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203596","1329203590","1329203593","1329203580","1329203586","1329203582"],"photo_ids_order":["1329203580","1329203582","1329203586","1329203590","1329203593","1329203596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80f9876b1dcd6780d461b4ad3ddefdb4.jpg","text":"TemporaryFile(/tmp/multipartBody2822549795130693683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968483099,"filename":"image_13012025_08_54_56_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4a9f1c15e9f4e74bc97718773774872.jpg","text":"TemporaryFile(/tmp/multipartBody5961069122951872058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968483099,"filename":"image_13012025_08_54_42_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/09a360982c24031f52abb98405466fc2.jpg","text":"TemporaryFile(/tmp/multipartBody8063245179645452716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968483099,"filename":"image_13012025_08_54_47_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0edfc7ca0e19f44adf43cbcf28f31a8b.jpg","text":"TemporaryFile(/tmp/multipartBody8006955970749246251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968483099,"filename":"image_13012025_08_54_33_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f65176a965baad65efc1bffe6a5450f.jpg","text":"TemporaryFile(/tmp/multipartBody6607406830805238292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968483099,"filename":"image_13012025_08_54_38_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5adfe860539576da0181fd3d374785e.jpg","text":"TemporaryFile(/tmp/multipartBody1846818529933480287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968483099,"filename":"image_13012025_08_54_36_2882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203586","file1":"1329203582","file0":"1329203580","file4":"1329203593","file5":"1329203596","file3":"1329203590"},"map_files_photo_id_array":[{"photo_id":"1329203596","filename":"file5"},{"photo_id":"1329203586","filename":"file2"},{"photo_id":"1329203593","filename":"file4"},{"photo_id":"1329203582","filename":"file1"},{"photo_id":"1329203580","filename":"file0"},{"photo_id":"1329203590","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329203596":["hashtag1","hashtag2"]},{"1329203590":["hashtag1","hashtag2"]},{"1329203593":["hashtag1","hashtag2"]},{"1329203580":["hashtag1","hashtag2"]},{"1329203586":["hashtag1","hashtag2"]},{"1329203582":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329203596, 1329203590, 1329203593, 1329203580, 1329203586, 1329203582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53784203529358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:14:22.058670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_16_1521.jpg', '/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_48_4495.jpg', '/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_49_1620.jpg', '/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_59_1780.jpg', '/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_35_3657.jpg', '/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_37_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_16_1521.jpg
/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_48_4495.jpg
/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_49_1620.jpg
/home/pi/Desktop/images/11012025/17/18/image_11012025_17_18_59_1780.jpg
/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_35_3657.jpg
/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_37_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203632","1329203625","1329203619","1329203613","1329203622","1329203616"],"photo_ids_order":["1329203613","1329203616","1329203619","1329203622","1329203625","1329203632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4402c418c8258ae150bb85c2425ce544.jpg","text":"TemporaryFile(/tmp/multipartBody3588308821409275656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968524417,"filename":"image_11012025_17_22_37_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0e5708ba63d368ad145a067ebb3cc702.jpg","text":"TemporaryFile(/tmp/multipartBody8654971358761485636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968524417,"filename":"image_11012025_17_22_35_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0566e8c30a3d4c96b794d42acfd64d1.jpg","text":"TemporaryFile(/tmp/multipartBody1645686590334801931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968524417,"filename":"image_11012025_17_18_49_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83b090f8f3166aaad763e7fa7424df0a.jpg","text":"TemporaryFile(/tmp/multipartBody988186646582930957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968524417,"filename":"image_11012025_17_18_16_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7addca51cdb47150410890875f94cd8b.jpg","text":"TemporaryFile(/tmp/multipartBody1495949873346750234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968524417,"filename":"image_11012025_17_18_59_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b3a46a49b755be2b76db949872fdf9f.jpg","text":"TemporaryFile(/tmp/multipartBody6908993586585416851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968524417,"filename":"image_11012025_17_18_48_4495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203619","file1":"1329203616","file0":"1329203613","file4":"1329203625","file5":"1329203632","file3":"1329203622"},"map_files_photo_id_array":[{"photo_id":"1329203632","filename":"file5"},{"photo_id":"1329203619","filename":"file2"},{"photo_id":"1329203625","filename":"file4"},{"photo_id":"1329203616","filename":"file1"},{"photo_id":"1329203613","filename":"file0"},{"photo_id":"1329203622","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329203632":["hashtag1","hashtag2"]},{"1329203625":["hashtag1","hashtag2"]},{"1329203619":["hashtag1","hashtag2"]},{"1329203613":["hashtag1","hashtag2"]},{"1329203622":["hashtag1","hashtag2"]},{"1329203616":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329203632, 1329203625, 1329203619, 1329203613, 1329203622, 1329203616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.416344165802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:15:02.791029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_58_3548.jpg', '/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_01_2692.jpg', '/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_16_2679.jpg', '/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_28_3540.jpg', '/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_16_2549.jpg', '/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_43_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/22/image_11012025_17_22_58_3548.jpg
/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_01_2692.jpg
/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_16_2679.jpg
/home/pi/Desktop/images/11012025/17/23/image_11012025_17_23_28_3540.jpg
/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_16_2549.jpg
/home/pi/Desktop/images/11012025/17/24/image_11012025_17_24_43_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203702","1329203659","1329203704","1329203694","1329203655","1329203663"],"photo_ids_order":["1329203655","1329203659","1329203663","1329203694","1329203702","1329203704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d8513901ab837f03a81207c08508df3.jpg","text":"TemporaryFile(/tmp/multipartBody2663334649286275718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968564674,"filename":"image_11012025_17_24_16_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b1ed942ab005e5b197ffbd2bddb06b21.jpg","text":"TemporaryFile(/tmp/multipartBody7997983205838907259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968564674,"filename":"image_11012025_17_23_01_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf790d16034c4d3bb98b5d9a1648bad5.jpg","text":"TemporaryFile(/tmp/multipartBody7965618109128132554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968564674,"filename":"image_11012025_17_24_43_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ccad80967ee7efbdaacad298218dde2d.jpg","text":"TemporaryFile(/tmp/multipartBody7261104760295666431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968564674,"filename":"image_11012025_17_23_28_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87dc93193d1b436ea6506bb14085c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody2677404968323429203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968564674,"filename":"image_11012025_17_22_58_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb74a327b7e399667bf8234b0f95f119.jpg","text":"TemporaryFile(/tmp/multipartBody1053770110844374949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968564674,"filename":"image_11012025_17_23_16_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203663","file1":"1329203659","file0":"1329203655","file4":"1329203702","file5":"1329203704","file3":"1329203694"},"map_files_photo_id_array":[{"photo_id":"1329203704","filename":"file5"},{"photo_id":"1329203663","filename":"file2"},{"photo_id":"1329203702","filename":"file4"},{"photo_id":"1329203659","filename":"file1"},{"photo_id":"1329203655","filename":"file0"},{"photo_id":"1329203694","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329203702":["hashtag1","hashtag2"]},{"1329203659":["hashtag1","hashtag2"]},{"1329203704":["hashtag1","hashtag2"]},{"1329203694":["hashtag1","hashtag2"]},{"1329203655":["hashtag1","hashtag2"]},{"1329203663":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329203702, 1329203659, 1329203704, 1329203694, 1329203655, 1329203663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.717798948287964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:15:42.053975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/20/12/image_15012025_20_12_18_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/20/12/image_15012025_20_12_18_2635.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203721"],"photo_id":"1329203721","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/545da2a2ba7f0af28243fb35ef6cb247.jpg","text":"TemporaryFile(/tmp/multipartBody6623650239150708983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968602608,"filename":"image_15012025_20_12_18_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329203721"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329203721"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.187199831008911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:16:03.312452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_35_2651.jpg', '/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_50_3793.jpg', '/home/pi/Desktop/images/11012025/17/27/image_11012025_17_27_32_3692.jpg', '/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_32_3594.jpg', '/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_44_3663.jpg', '/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_58_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_35_2651.jpg
/home/pi/Desktop/images/11012025/17/26/image_11012025_17_26_50_3793.jpg
/home/pi/Desktop/images/11012025/17/27/image_11012025_17_27_32_3692.jpg
/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_32_3594.jpg
/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_44_3663.jpg
/home/pi/Desktop/images/11012025/17/29/image_11012025_17_29_58_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329203740","1329203734","1329203737","1329203742","1329203805","1329203864"],"photo_ids_order":["1329203734","1329203737","1329203740","1329203742","1329203805","1329203864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2802820401a6de362120b7ae75ed8710.jpg","text":"TemporaryFile(/tmp/multipartBody1675512325906600278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968625026,"filename":"image_11012025_17_27_32_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/45b3f8514676d9f2c53d6e5764f4d47c.jpg","text":"TemporaryFile(/tmp/multipartBody1570995823639437120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968625026,"filename":"image_11012025_17_26_35_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4aa62aa7b64da067dca4babeb145b816.jpg","text":"TemporaryFile(/tmp/multipartBody2932885057319853097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968625026,"filename":"image_11012025_17_26_50_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/95a4fd113486dd13349f5a263ad98471.jpg","text":"TemporaryFile(/tmp/multipartBody1434174094321282914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968625026,"filename":"image_11012025_17_29_32_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5bf462f1c6f14b1d5c4fb9c521f82e57.jpg","text":"TemporaryFile(/tmp/multipartBody4246991852599830746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968625026,"filename":"image_11012025_17_29_44_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec89dc517807055c9b3a4bd7bb6d65cc.jpg","text":"TemporaryFile(/tmp/multipartBody4561014632917586392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968625026,"filename":"image_11012025_17_29_58_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329203740","file1":"1329203737","file0":"1329203734","file4":"1329203805","file5":"1329203864","file3":"1329203742"},"map_files_photo_id_array":[{"photo_id":"1329203864","filename":"file5"},{"photo_id":"1329203740","filename":"file2"},{"photo_id":"1329203805","filename":"file4"},{"photo_id":"1329203737","filename":"file1"},{"photo_id":"1329203734","filename":"file0"},{"photo_id":"1329203742","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329203740":["hashtag1","hashtag2"]},{"1329203734":["hashtag1","hashtag2"]},{"1329203737":["hashtag1","hashtag2"]},{"1329203742":["hashtag1","hashtag2"]},{"1329203805":["hashtag1","hashtag2"]},{"1329203864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329203740, 1329203734, 1329203737, 1329203742, 1329203805, 1329203864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99022722244263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:16:42.730540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/08/54/image_13012025_08_55_00_3562.jpg', '/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_09_3586.jpg', '/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_29_3581.jpg', '/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_32_2515.jpg', '/home/pi/Desktop/images/13012025/09/04/image_13012025_09_04_37_2613.jpg', '/home/pi/Desktop/images/13012025/09/07/image_13012025_09_07_37_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/08/54/image_13012025_08_55_00_3562.jpg
/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_09_3586.jpg
/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_29_3581.jpg
/home/pi/Desktop/images/13012025/08/58/image_13012025_08_58_32_2515.jpg
/home/pi/Desktop/images/13012025/09/04/image_13012025_09_04_37_2613.jpg
/home/pi/Desktop/images/13012025/09/07/image_13012025_09_07_37_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204049","1329204040","1329204058","1329203989","1329204045","1329203972"],"photo_ids_order":["1329203972","1329203989","1329204040","1329204045","1329204049","1329204058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec5fb393d46e596bccfc5c60032adc0b.jpg","text":"TemporaryFile(/tmp/multipartBody6222832455523503575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968663928,"filename":"image_13012025_09_04_37_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/397566f52ea05de16f91d0fcf28a2bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1830475459954169389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968663928,"filename":"image_13012025_08_58_29_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8474977e95b49810a2a208bbc1483780.jpg","text":"TemporaryFile(/tmp/multipartBody6677176023898621803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968663928,"filename":"image_13012025_09_07_37_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7139dc5e4ee49dc91eec2711a4b74689.jpg","text":"TemporaryFile(/tmp/multipartBody1478497635592655047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968663928,"filename":"image_13012025_08_58_09_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76da61ca5091a50404d60b54a81299fe.jpg","text":"TemporaryFile(/tmp/multipartBody980243377060386781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968663928,"filename":"image_13012025_08_58_32_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff068d18edb0072ee7752f3f3a5c7b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8274851302531584799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968663928,"filename":"image_13012025_08_55_00_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204040","file1":"1329203989","file0":"1329203972","file4":"1329204049","file5":"1329204058","file3":"1329204045"},"map_files_photo_id_array":[{"photo_id":"1329204058","filename":"file5"},{"photo_id":"1329204040","filename":"file2"},{"photo_id":"1329204049","filename":"file4"},{"photo_id":"1329203989","filename":"file1"},{"photo_id":"1329203972","filename":"file0"},{"photo_id":"1329204045","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204049":["hashtag1","hashtag2"]},{"1329204040":["hashtag1","hashtag2"]},{"1329204058":["hashtag1","hashtag2"]},{"1329203989":["hashtag1","hashtag2"]},{"1329204045":["hashtag1","hashtag2"]},{"1329203972":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204049, 1329204040, 1329204058, 1329203989, 1329204045, 1329203972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77316904067993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:17:22.709640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/20/15/image_15012025_20_15_30_3535.jpg', '/home/pi/Desktop/images/15012025/20/17/image_15012025_20_17_32_2630.jpg', '/home/pi/Desktop/images/15012025/20/17/image_15012025_20_17_36_3695.jpg', '/home/pi/Desktop/images/15012025/20/17/image_15012025_20_17_39_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/20/15/image_15012025_20_15_30_3535.jpg
/home/pi/Desktop/images/15012025/20/17/image_15012025_20_17_32_2630.jpg
/home/pi/Desktop/images/15012025/20/17/image_15012025_20_17_36_3695.jpg
/home/pi/Desktop/images/15012025/20/17/image_15012025_20_17_39_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204217","1329204150","1329204224","1329204140"],"photo_ids_order":["1329204140","1329204150","1329204217","1329204224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4490ff88e9ce42901ec68d87bfec8b31.jpg","text":"TemporaryFile(/tmp/multipartBody5570905785782205925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968703329,"filename":"image_15012025_20_17_36_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/27c90b2dd60de6b6b57f36f863bcd501.jpg","text":"TemporaryFile(/tmp/multipartBody7722586980118573534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968703329,"filename":"image_15012025_20_17_32_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92f870dacbe006e4c161c8445f2bf543.jpg","text":"TemporaryFile(/tmp/multipartBody2017507366653192784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968703329,"filename":"image_15012025_20_17_39_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d46e0439204552ba3ac7d4e2fbba44ec.jpg","text":"TemporaryFile(/tmp/multipartBody3313548086424458102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968703329,"filename":"image_15012025_20_15_30_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204217","file1":"1329204150","file0":"1329204140","file3":"1329204224"},"map_files_photo_id_array":[{"photo_id":"1329204217","filename":"file2"},{"photo_id":"1329204150","filename":"file1"},{"photo_id":"1329204140","filename":"file0"},{"photo_id":"1329204224","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329204217":["hashtag1","hashtag2"]},{"1329204150":["hashtag1","hashtag2"]},{"1329204224":["hashtag1","hashtag2"]},{"1329204140":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329204217, 1329204150, 1329204224, 1329204140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.44553828239441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:18:03.027270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_17_2804.jpg', '/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_26_2789.jpg', '/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_59_3736.jpg', '/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_28_2808.jpg', '/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_40_3579.jpg', '/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_43_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_17_2804.jpg
/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_26_2789.jpg
/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_59_3736.jpg
/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_28_2808.jpg
/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_40_3579.jpg
/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_43_2692.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5958759784698486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:18:22.506827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_17_2804.jpg', '/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_26_2789.jpg', '/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_59_3736.jpg', '/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_28_2808.jpg', '/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_40_3579.jpg', '/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_43_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/30/image_11012025_17_30_17_2804.jpg
/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_26_2789.jpg
/home/pi/Desktop/images/11012025/17/31/image_11012025_17_31_59_3736.jpg
/home/pi/Desktop/images/11012025/17/35/image_11012025_17_35_28_2808.jpg
/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_40_3579.jpg
/home/pi/Desktop/images/11012025/17/37/image_11012025_17_37_43_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204286","1329204277","1329204294","1329204263","1329204266","1329204298"],"photo_ids_order":["1329204263","1329204266","1329204277","1329204286","1329204294","1329204298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/320be968610b0cba19c850c10b883983.jpg","text":"TemporaryFile(/tmp/multipartBody5768650077039148225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968764738,"filename":"image_11012025_17_35_28_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7cac2c55071d616bc401e1300c2b6117.jpg","text":"TemporaryFile(/tmp/multipartBody4078807568535038912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968764738,"filename":"image_11012025_17_31_59_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3283c6d2be5d3837221a0e0445129e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8608274162817721976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968764738,"filename":"image_11012025_17_37_40_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/027487e4b25c3aad80daaaa7e4ce9ae6.jpg","text":"TemporaryFile(/tmp/multipartBody111307334637272937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968764738,"filename":"image_11012025_17_30_17_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/42abe6cd944ce3554665b95cdaa87a8f.jpg","text":"TemporaryFile(/tmp/multipartBody5434791824380259654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968764738,"filename":"image_11012025_17_31_26_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/854fd057aa9c741d76b8e5431ae31503.jpg","text":"TemporaryFile(/tmp/multipartBody1133215075124989375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968764738,"filename":"image_11012025_17_37_43_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204277","file1":"1329204266","file0":"1329204263","file4":"1329204294","file5":"1329204298","file3":"1329204286"},"map_files_photo_id_array":[{"photo_id":"1329204298","filename":"file5"},{"photo_id":"1329204277","filename":"file2"},{"photo_id":"1329204294","filename":"file4"},{"photo_id":"1329204266","filename":"file1"},{"photo_id":"1329204263","filename":"file0"},{"photo_id":"1329204286","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329204286":["hashtag1","hashtag2"]},{"1329204277":["hashtag1","hashtag2"]},{"1329204294":["hashtag1","hashtag2"]},{"1329204263":["hashtag1","hashtag2"]},{"1329204266":["hashtag1","hashtag2"]},{"1329204298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329204286, 1329204277, 1329204294, 1329204263, 1329204266, 1329204298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.349913597106934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:19:03.247342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_10_3623.jpg', '/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_46_3745.jpg', '/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_47_1676.jpg', '/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_08_3736.jpg', '/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_37_2733.jpg', '/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_46_11562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_10_3623.jpg
/home/pi/Desktop/images/11012025/17/38/image_11012025_17_38_46_3745.jpg
/home/pi/Desktop/images/11012025/17/41/image_11012025_17_41_47_1676.jpg
/home/pi/Desktop/images/11012025/17/46/image_11012025_17_46_08_3736.jpg
/home/pi/Desktop/images/11012025/17/49/image_11012025_17_49_37_2733.jpg
/home/pi/Desktop/images/11012025/17/54/image_11012025_17_54_46_11562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204322","1329204319","1329204307","1329204312","1329204309","1329204314"],"photo_ids_order":["1329204307","1329204309","1329204312","1329204314","1329204319","1329204322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6240908486bbaf2e4a05eaa592e7a461.jpg","text":"TemporaryFile(/tmp/multipartBody3959737211712126663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968805287,"filename":"image_11012025_17_54_46_11562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/49595069a66ca9b956299344e237ec97.jpg","text":"TemporaryFile(/tmp/multipartBody2670141754494022597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968805287,"filename":"image_11012025_17_49_37_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3468c7ebc57fa2ff049e084e8a555630.jpg","text":"TemporaryFile(/tmp/multipartBody6609086879394682938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968805287,"filename":"image_11012025_17_38_10_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8701f7626d2006f7ae2f5b8ec313b2b.jpg","text":"TemporaryFile(/tmp/multipartBody7890128459756507702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968805287,"filename":"image_11012025_17_41_47_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2f9df4230ac89c86d90f7320fbfe5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8067654636345536284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968805287,"filename":"image_11012025_17_38_46_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/18733b198d293b16022d09ecf92edef2.jpg","text":"TemporaryFile(/tmp/multipartBody7317938034613372752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968805287,"filename":"image_11012025_17_46_08_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204312","file1":"1329204309","file0":"1329204307","file4":"1329204319","file5":"1329204322","file3":"1329204314"},"map_files_photo_id_array":[{"photo_id":"1329204322","filename":"file5"},{"photo_id":"1329204312","filename":"file2"},{"photo_id":"1329204319","filename":"file4"},{"photo_id":"1329204309","filename":"file1"},{"photo_id":"1329204307","filename":"file0"},{"photo_id":"1329204314","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329204322":["hashtag1","hashtag2"]},{"1329204319":["hashtag1","hashtag2"]},{"1329204307":["hashtag1","hashtag2"]},{"1329204312":["hashtag1","hashtag2"]},{"1329204309":["hashtag1","hashtag2"]},{"1329204314":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329204322, 1329204319, 1329204307, 1329204312, 1329204309, 1329204314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05780005455017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:19:42.211150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/10/image_13012025_09_10_31_3646.jpg', '/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_04_2750.jpg', '/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_41_3631.jpg', '/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_44_2724.jpg', '/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_53_3670.jpg', '/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_56_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/10/image_13012025_09_10_31_3646.jpg
/home/pi/Desktop/images/13012025/09/11/image_13012025_09_11_04_2750.jpg
/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_41_3631.jpg
/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_44_2724.jpg
/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_53_3670.jpg
/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_56_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204352","1329204334","1329204342","1329204344","1329204338","1329204347"],"photo_ids_order":["1329204334","1329204338","1329204342","1329204344","1329204347","1329204352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4bf0973790dd76d310fb877f4585067.jpg","text":"TemporaryFile(/tmp/multipartBody2910791636370507441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968843441,"filename":"image_13012025_09_26_56_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/502acb1c8ba143be5a6e7dd65c0539dc.jpg","text":"TemporaryFile(/tmp/multipartBody566405711506688749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968843441,"filename":"image_13012025_09_10_31_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/844b7b646d179bd01a88c6210d7fa3a8.jpg","text":"TemporaryFile(/tmp/multipartBody1856409242342792958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968843441,"filename":"image_13012025_09_26_41_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70b4bd7af2d6cce9451f5f919087ba9a.jpg","text":"TemporaryFile(/tmp/multipartBody5309625039310183323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968843441,"filename":"image_13012025_09_26_44_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6dffa3b1aa86e871e3982d6b7e8870b4.jpg","text":"TemporaryFile(/tmp/multipartBody8443370454529635368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968843441,"filename":"image_13012025_09_11_04_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/308b9d8b368052d628c980a7cd4b4ca6.jpg","text":"TemporaryFile(/tmp/multipartBody7654836001697776870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968843441,"filename":"image_13012025_09_26_53_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204342","file1":"1329204338","file0":"1329204334","file4":"1329204347","file5":"1329204352","file3":"1329204344"},"map_files_photo_id_array":[{"photo_id":"1329204352","filename":"file5"},{"photo_id":"1329204342","filename":"file2"},{"photo_id":"1329204347","filename":"file4"},{"photo_id":"1329204338","filename":"file1"},{"photo_id":"1329204334","filename":"file0"},{"photo_id":"1329204344","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204352":["hashtag1","hashtag2"]},{"1329204334":["hashtag1","hashtag2"]},{"1329204342":["hashtag1","hashtag2"]},{"1329204344":["hashtag1","hashtag2"]},{"1329204338":["hashtag1","hashtag2"]},{"1329204347":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204352, 1329204334, 1329204342, 1329204344, 1329204338, 1329204347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46712565422058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:20:22.233087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654020
  datou_current_id : 2487144
in upload_from_sqlite, uploading in 19654020
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_01_2648.jpg', '/home/pi/Desktop/images/11012025/18/46/image_11012025_18_46_01_2668.jpg', '/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_49_3682.jpg', '/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_45_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487144&datou=0
/home/pi/Desktop/images/11012025/18/04/image_11012025_18_04_01_2648.jpg
/home/pi/Desktop/images/11012025/18/46/image_11012025_18_46_01_2668.jpg
/home/pi/Desktop/images/11012025/21/41/image_11012025_21_41_49_3682.jpg
/home/pi/Desktop/images/11012025/22/24/image_11012025_22_24_45_2829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204457","1329204379","1329204439","1329204465"],"photo_ids_order":["1329204379","1329204439","1329204457","1329204465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b515efe9b1a8a4a28997788350c679c.jpg","text":"TemporaryFile(/tmp/multipartBody7197188741557773344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968884553,"filename":"image_11012025_21_41_49_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/41aa913fbbb244a03742bbad2cb8a7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4538128218845918108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968884553,"filename":"image_11012025_18_04_01_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b445d68629a0e3217224e24012d839af.jpg","text":"TemporaryFile(/tmp/multipartBody514115452522986445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968884553,"filename":"image_11012025_18_46_01_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/376cbfdda7ec3bed98a6e576d71ebd93.jpg","text":"TemporaryFile(/tmp/multipartBody1551015529167271592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968884553,"filename":"image_11012025_22_24_45_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204457","file1":"1329204439","file0":"1329204379","file3":"1329204465"},"map_files_photo_id_array":[{"photo_id":"1329204457","filename":"file2"},{"photo_id":"1329204439","filename":"file1"},{"photo_id":"1329204379","filename":"file0"},{"photo_id":"1329204465","filename":"file3"}],"portfolio_id":19654020,"hashtag_by_photo_ids":[{"1329204457":["hashtag1","hashtag2"]},{"1329204379":["hashtag1","hashtag2"]},{"1329204439":["hashtag1","hashtag2"]},{"1329204465":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654020 used, photo_id : ArrayBuffer(1329204457, 1329204379, 1329204439, 1329204465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.432002305984497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:21:02.517083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_59_2569.jpg', '/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_02_3631.jpg', '/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_08_2668.jpg', '/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_12_3626.jpg', '/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_23_2577.jpg', '/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/26/image_13012025_09_26_59_2569.jpg
/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_02_3631.jpg
/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_08_2668.jpg
/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_12_3626.jpg
/home/pi/Desktop/images/13012025/09/27/image_13012025_09_27_23_2577.jpg
/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_02_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204544","1329204535","1329204540","1329204546","1329204551","1329204548"],"photo_ids_order":["1329204535","1329204540","1329204544","1329204546","1329204548","1329204551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2955842338a496b18f23a5805fdc2c89.jpg","text":"TemporaryFile(/tmp/multipartBody1409710969032207817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968924900,"filename":"image_13012025_09_27_08_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d9c82b75823e085d7d8c2008dbe6402.jpg","text":"TemporaryFile(/tmp/multipartBody6413476240796594430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968924900,"filename":"image_13012025_09_26_59_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab34e437307c1b2dc88c0dfff31396df.jpg","text":"TemporaryFile(/tmp/multipartBody4805378896053492139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968924900,"filename":"image_13012025_09_27_02_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c7908c670c3f97ff645dc780cabcbaa.jpg","text":"TemporaryFile(/tmp/multipartBody4685794758701819543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968924900,"filename":"image_13012025_09_27_12_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d82ffa4c511bf918ffaffa74a95e2d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6904169639225019809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968924900,"filename":"image_13012025_09_28_02_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c100387a321cd684b625faa5cced72bf.jpg","text":"TemporaryFile(/tmp/multipartBody1113724431885417180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968924900,"filename":"image_13012025_09_27_23_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204544","file1":"1329204540","file0":"1329204535","file4":"1329204548","file5":"1329204551","file3":"1329204546"},"map_files_photo_id_array":[{"photo_id":"1329204551","filename":"file5"},{"photo_id":"1329204544","filename":"file2"},{"photo_id":"1329204548","filename":"file4"},{"photo_id":"1329204540","filename":"file1"},{"photo_id":"1329204535","filename":"file0"},{"photo_id":"1329204546","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204544":["hashtag1","hashtag2"]},{"1329204535":["hashtag1","hashtag2"]},{"1329204540":["hashtag1","hashtag2"]},{"1329204546":["hashtag1","hashtag2"]},{"1329204551":["hashtag1","hashtag2"]},{"1329204548":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204544, 1329204535, 1329204540, 1329204546, 1329204551, 1329204548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.914254665374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:21:41.900761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_53_3899.jpg', '/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_53_3621.jpg', '/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_34_2544.jpg', '/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_34_2811.jpg', '/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_23_3639.jpg', '/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_25_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/28/image_13012025_09_28_53_3899.jpg
/home/pi/Desktop/images/13012025/09/30/image_13012025_09_30_53_3621.jpg
/home/pi/Desktop/images/13012025/09/31/image_13012025_09_31_34_2544.jpg
/home/pi/Desktop/images/13012025/09/32/image_13012025_09_32_34_2811.jpg
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_23_3639.jpg
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_25_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204583","1329204633","1329204599","1329204572","1329204623","1329204580"],"photo_ids_order":["1329204572","1329204580","1329204583","1329204599","1329204623","1329204633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/806c623193e884262afbb54fd0e82b0d.jpg","text":"TemporaryFile(/tmp/multipartBody2039973535803201480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968963104,"filename":"image_13012025_09_31_34_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80707f074066e49d3d69bd6bade08daf.jpg","text":"TemporaryFile(/tmp/multipartBody9108345909022597842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968963104,"filename":"image_13012025_09_33_25_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/faf4a53fbd5b65201f4270d126ef3af4.jpg","text":"TemporaryFile(/tmp/multipartBody3228031905958429070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968963104,"filename":"image_13012025_09_32_34_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d08f10beee6869c9815b2f811228064.jpg","text":"TemporaryFile(/tmp/multipartBody4972634891805990247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968963104,"filename":"image_13012025_09_28_53_3899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05f5fecb459746eefb2513686a1f4f66.jpg","text":"TemporaryFile(/tmp/multipartBody6584193646254404049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968963104,"filename":"image_13012025_09_33_23_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1db9f48638da3b134c15460e1eb61e9b.jpg","text":"TemporaryFile(/tmp/multipartBody5616530159736917271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736968963104,"filename":"image_13012025_09_30_53_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204583","file1":"1329204580","file0":"1329204572","file4":"1329204623","file5":"1329204633","file3":"1329204599"},"map_files_photo_id_array":[{"photo_id":"1329204633","filename":"file5"},{"photo_id":"1329204583","filename":"file2"},{"photo_id":"1329204623","filename":"file4"},{"photo_id":"1329204580","filename":"file1"},{"photo_id":"1329204572","filename":"file0"},{"photo_id":"1329204599","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204583":["hashtag1","hashtag2"]},{"1329204633":["hashtag1","hashtag2"]},{"1329204599":["hashtag1","hashtag2"]},{"1329204572":["hashtag1","hashtag2"]},{"1329204623":["hashtag1","hashtag2"]},{"1329204580":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204583, 1329204633, 1329204599, 1329204572, 1329204623, 1329204580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45414710044861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:22:22.413911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_28_2687.jpg', '/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_32_3568.jpg', '/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_34_2676.jpg', '/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_43_2807.jpg', '/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_13_2667.jpg', '/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_37_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_28_2687.jpg
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_32_3568.jpg
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_34_2676.jpg
/home/pi/Desktop/images/13012025/09/33/image_13012025_09_33_43_2807.jpg
/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_13_2667.jpg
/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_37_3597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204655","1329204666","1329204669","1329204651","1329204662","1329204659"],"photo_ids_order":["1329204651","1329204655","1329204659","1329204662","1329204666","1329204669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f05400f5113d469ba63e919b222fdb16.jpg","text":"TemporaryFile(/tmp/multipartBody6612568247372450078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969005639,"filename":"image_13012025_09_33_32_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b918b86193869201d046a15f2805944.jpg","text":"TemporaryFile(/tmp/multipartBody921529527580274671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969005639,"filename":"image_13012025_09_34_13_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/becc3021a32c98be1235074a465413cc.jpg","text":"TemporaryFile(/tmp/multipartBody5031953261685327647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969005639,"filename":"image_13012025_09_34_37_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0678c57b7881d8e5c216c627ccce25fd.jpg","text":"TemporaryFile(/tmp/multipartBody5520773340517280514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969005639,"filename":"image_13012025_09_33_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3f2c361f71549fbdef12de15d807b591.jpg","text":"TemporaryFile(/tmp/multipartBody196629090192172789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969005639,"filename":"image_13012025_09_33_43_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c87672c876235e34b9935e3258483d59.jpg","text":"TemporaryFile(/tmp/multipartBody834092110947679287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969005639,"filename":"image_13012025_09_33_34_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204659","file1":"1329204655","file0":"1329204651","file4":"1329204666","file5":"1329204669","file3":"1329204662"},"map_files_photo_id_array":[{"photo_id":"1329204669","filename":"file5"},{"photo_id":"1329204659","filename":"file2"},{"photo_id":"1329204666","filename":"file4"},{"photo_id":"1329204655","filename":"file1"},{"photo_id":"1329204651","filename":"file0"},{"photo_id":"1329204662","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204655":["hashtag1","hashtag2"]},{"1329204666":["hashtag1","hashtag2"]},{"1329204669":["hashtag1","hashtag2"]},{"1329204651":["hashtag1","hashtag2"]},{"1329204662":["hashtag1","hashtag2"]},{"1329204659":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204655, 1329204666, 1329204669, 1329204651, 1329204662, 1329204659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.443206548690796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:23:22.162799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_40_2703.jpg', '/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_16_2611.jpg', '/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_37_3555.jpg', '/home/pi/Desktop/images/13012025/09/43/image_13012025_09_44_00_2659.jpg', '/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_03_2675.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_06_3116.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/34/image_13012025_09_34_40_2703.jpg
/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_16_2611.jpg
/home/pi/Desktop/images/13012025/09/36/image_13012025_09_36_37_3555.jpg
/home/pi/Desktop/images/13012025/09/43/image_13012025_09_44_00_2659.jpg
/home/pi/Desktop/images/13012025/09/44/image_13012025_09_44_03_2675.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_06_3116.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204763","1329204751","1329204753","1329204758","1329204767","1329204746"],"photo_ids_order":["1329204746","1329204751","1329204753","1329204758","1329204763","1329204767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/53755a6b38d91dc4c382d114fe66e5da.jpg","text":"TemporaryFile(/tmp/multipartBody1134962091659110479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969065078,"filename":"image_13012025_09_44_03_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5cc5f18528b52f9ad649a63113ebd5a.jpg","text":"TemporaryFile(/tmp/multipartBody2926079451816012610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969065078,"filename":"image_13012025_09_36_16_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aecd0b89414976cc92ddef933e812e05.jpg","text":"TemporaryFile(/tmp/multipartBody4164036474603450353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969065078,"filename":"image_13012025_09_36_37_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e6051bbe244b84981e22debd3f7933e4.jpg","text":"TemporaryFile(/tmp/multipartBody7098183828125600333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969065078,"filename":"image_13012025_09_44_00_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/26206650cb67463de4cf4cc91df090c6.jpg","text":"TemporaryFile(/tmp/multipartBody8908776430077368593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969065078,"filename":"image_13012025_09_45_06_3116.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/949577eee8e6923352f114c00134d5cf.jpg","text":"TemporaryFile(/tmp/multipartBody9115020539423862882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969065078,"filename":"image_13012025_09_34_40_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204753","file1":"1329204751","file0":"1329204746","file4":"1329204763","file5":"1329204767","file3":"1329204758"},"map_files_photo_id_array":[{"photo_id":"1329204767","filename":"file5"},{"photo_id":"1329204753","filename":"file2"},{"photo_id":"1329204763","filename":"file4"},{"photo_id":"1329204751","filename":"file1"},{"photo_id":"1329204746","filename":"file0"},{"photo_id":"1329204758","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204763":["hashtag1","hashtag2"]},{"1329204751":["hashtag1","hashtag2"]},{"1329204753":["hashtag1","hashtag2"]},{"1329204758":["hashtag1","hashtag2"]},{"1329204767":["hashtag1","hashtag2"]},{"1329204746":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204763, 1329204751, 1329204753, 1329204758, 1329204767, 1329204746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58992314338684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:24:03.054451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_09_2763.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_12_3740.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_15_2746.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_21_2616.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_24_3754.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_27_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_09_2763.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_12_3740.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_15_2746.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_21_2616.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_24_3754.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_27_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204796","1329204805","1329204808","1329204788","1329204790","1329204793"],"photo_ids_order":["1329204788","1329204790","1329204793","1329204796","1329204805","1329204808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec19a47cebb701117d184e9b052b62cc.jpg","text":"TemporaryFile(/tmp/multipartBody2439915018661465828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969105555,"filename":"image_13012025_09_45_21_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5728901ee94c43ec9eab4899fb756ef.jpg","text":"TemporaryFile(/tmp/multipartBody2286398582268362156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969105555,"filename":"image_13012025_09_45_24_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/381f94920088d2ec35f2222d7b35168e.jpg","text":"TemporaryFile(/tmp/multipartBody1419541556230318842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969105555,"filename":"image_13012025_09_45_27_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/19f099aa4cac396d26ab84e355917b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4671087300235337242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969105555,"filename":"image_13012025_09_45_09_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3d463d02b3775cd16509645a2f0a0a8.jpg","text":"TemporaryFile(/tmp/multipartBody2325337926810916957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969105555,"filename":"image_13012025_09_45_12_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40129637280814c714ff80604aed7f3a.jpg","text":"TemporaryFile(/tmp/multipartBody8508516115753623207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969105555,"filename":"image_13012025_09_45_15_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204793","file1":"1329204790","file0":"1329204788","file4":"1329204805","file5":"1329204808","file3":"1329204796"},"map_files_photo_id_array":[{"photo_id":"1329204808","filename":"file5"},{"photo_id":"1329204793","filename":"file2"},{"photo_id":"1329204805","filename":"file4"},{"photo_id":"1329204790","filename":"file1"},{"photo_id":"1329204788","filename":"file0"},{"photo_id":"1329204796","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204796":["hashtag1","hashtag2"]},{"1329204805":["hashtag1","hashtag2"]},{"1329204808":["hashtag1","hashtag2"]},{"1329204788":["hashtag1","hashtag2"]},{"1329204790":["hashtag1","hashtag2"]},{"1329204793":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204796, 1329204805, 1329204808, 1329204788, 1329204790, 1329204793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63815093040466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:24:42.242065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_30_2583.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_33_3655.jpg', '/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_48_2593.jpg', '/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_33_2621.jpg', '/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_33_2967.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_21_3827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_30_2583.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_33_3655.jpg
/home/pi/Desktop/images/13012025/09/45/image_13012025_09_45_48_2593.jpg
/home/pi/Desktop/images/13012025/09/47/image_13012025_09_47_33_2621.jpg
/home/pi/Desktop/images/13012025/09/48/image_13012025_09_48_33_2967.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_21_3827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204847","1329204858","1329204837","1329204842","1329204851","1329204833"],"photo_ids_order":["1329204833","1329204837","1329204842","1329204847","1329204851","1329204858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c71b319c0d0e5f69644cc382a38c561.jpg","text":"TemporaryFile(/tmp/multipartBody1237007858929311866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969143517,"filename":"image_13012025_09_47_33_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6ad17f921e03040ca1b33731cda05633.jpg","text":"TemporaryFile(/tmp/multipartBody2214821489108591945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969143517,"filename":"image_13012025_09_49_21_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7faff530bbb00df5478587aea1376db7.jpg","text":"TemporaryFile(/tmp/multipartBody132000910264892990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969143517,"filename":"image_13012025_09_45_33_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dba0dd2fbdb1cba8e2fa5444cc9b71f0.jpg","text":"TemporaryFile(/tmp/multipartBody2171212369644992147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969143517,"filename":"image_13012025_09_45_48_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/01bb67434f426916ef57a5f00a05ff01.jpg","text":"TemporaryFile(/tmp/multipartBody3920533808041302850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969143517,"filename":"image_13012025_09_48_33_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/65f90cbdcefc3b3aa6f79fb88b452a8b.jpg","text":"TemporaryFile(/tmp/multipartBody256037073885396045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969143517,"filename":"image_13012025_09_45_30_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204842","file1":"1329204837","file0":"1329204833","file4":"1329204851","file5":"1329204858","file3":"1329204847"},"map_files_photo_id_array":[{"photo_id":"1329204858","filename":"file5"},{"photo_id":"1329204842","filename":"file2"},{"photo_id":"1329204851","filename":"file4"},{"photo_id":"1329204837","filename":"file1"},{"photo_id":"1329204833","filename":"file0"},{"photo_id":"1329204847","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204847":["hashtag1","hashtag2"]},{"1329204858":["hashtag1","hashtag2"]},{"1329204837":["hashtag1","hashtag2"]},{"1329204842":["hashtag1","hashtag2"]},{"1329204851":["hashtag1","hashtag2"]},{"1329204833":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204847, 1329204858, 1329204837, 1329204842, 1329204851, 1329204833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89952540397644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:25:22.571539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_24_2833.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_27_2743.jpg', '/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_30_2925.jpg', '/home/pi/Desktop/images/13012025/09/50/image_13012025_09_51_00_3590.jpg', '/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_20_2634.jpg', '/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_17_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_24_2833.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_27_2743.jpg
/home/pi/Desktop/images/13012025/09/49/image_13012025_09_49_30_2925.jpg
/home/pi/Desktop/images/13012025/09/50/image_13012025_09_51_00_3590.jpg
/home/pi/Desktop/images/13012025/09/52/image_13012025_09_52_20_2634.jpg
/home/pi/Desktop/images/13012025/09/54/image_13012025_09_54_17_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204889","1329204877","1329204893","1329204887","1329204881","1329204902"],"photo_ids_order":["1329204877","1329204881","1329204887","1329204889","1329204893","1329204902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/93aabf6fb89254a6ca229ffa5bfc51e4.jpg","text":"TemporaryFile(/tmp/multipartBody5902311907948632907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969185590,"filename":"image_13012025_09_51_00_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a3c3772fbb8b6d1058223137cc03f414.jpg","text":"TemporaryFile(/tmp/multipartBody8965577142509115887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969185590,"filename":"image_13012025_09_49_24_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b503b605c3c9c4514a6a986aee1fd324.jpg","text":"TemporaryFile(/tmp/multipartBody3347501503803094307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969185590,"filename":"image_13012025_09_52_20_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d0a8477a22455c9a2daec64701cf3c9.jpg","text":"TemporaryFile(/tmp/multipartBody7277781485490750705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969185590,"filename":"image_13012025_09_49_30_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88a05aa6cc10011e3c2fdbc7f57af7c4.jpg","text":"TemporaryFile(/tmp/multipartBody4640680650110411935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969185590,"filename":"image_13012025_09_49_27_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83d758e1a9e0ec3c8479e707c0f47d86.jpg","text":"TemporaryFile(/tmp/multipartBody4117009889383746274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969185590,"filename":"image_13012025_09_54_17_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204887","file1":"1329204881","file0":"1329204877","file4":"1329204893","file5":"1329204902","file3":"1329204889"},"map_files_photo_id_array":[{"photo_id":"1329204902","filename":"file5"},{"photo_id":"1329204887","filename":"file2"},{"photo_id":"1329204893","filename":"file4"},{"photo_id":"1329204881","filename":"file1"},{"photo_id":"1329204877","filename":"file0"},{"photo_id":"1329204889","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204889":["hashtag1","hashtag2"]},{"1329204877":["hashtag1","hashtag2"]},{"1329204893":["hashtag1","hashtag2"]},{"1329204887":["hashtag1","hashtag2"]},{"1329204881":["hashtag1","hashtag2"]},{"1329204902":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204889, 1329204877, 1329204893, 1329204887, 1329204881, 1329204902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.863094091415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:26:03.421068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_23_2691.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_17_2646.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_19_2770.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_32_3658.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_35_2691.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_37_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/57/image_13012025_09_57_23_2691.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_17_2646.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_19_2770.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_32_3658.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_35_2691.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_37_2509.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204931","1329204938","1329204923","1329204935","1329204929","1329204920"],"photo_ids_order":["1329204920","1329204923","1329204929","1329204931","1329204935","1329204938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cd919acbaf1d720b10e7306bcc0dc847.jpg","text":"TemporaryFile(/tmp/multipartBody7314724257821711155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969225848,"filename":"image_13012025_09_59_32_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6a7fe7227be13d7bcfd17515548e3f9.jpg","text":"TemporaryFile(/tmp/multipartBody4361595691272387830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969225848,"filename":"image_13012025_09_59_37_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9ef71473ac2a1fc8fa9b344174e4537c.jpg","text":"TemporaryFile(/tmp/multipartBody4701965781057543195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969225848,"filename":"image_13012025_09_59_17_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36603839bf8e2de6b5e36a2ca42b703a.jpg","text":"TemporaryFile(/tmp/multipartBody3205928277744357509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969225848,"filename":"image_13012025_09_59_35_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bfefa6917134995d7b255c27bfa43ea5.jpg","text":"TemporaryFile(/tmp/multipartBody6675281799377766695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969225848,"filename":"image_13012025_09_59_19_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8c352ea730d4e1b47c09f47a768c3167.jpg","text":"TemporaryFile(/tmp/multipartBody313472120068770617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969225848,"filename":"image_13012025_09_57_23_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204929","file1":"1329204923","file0":"1329204920","file4":"1329204935","file5":"1329204938","file3":"1329204931"},"map_files_photo_id_array":[{"photo_id":"1329204938","filename":"file5"},{"photo_id":"1329204929","filename":"file2"},{"photo_id":"1329204935","filename":"file4"},{"photo_id":"1329204923","filename":"file1"},{"photo_id":"1329204920","filename":"file0"},{"photo_id":"1329204931","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204931":["hashtag1","hashtag2"]},{"1329204938":["hashtag1","hashtag2"]},{"1329204923":["hashtag1","hashtag2"]},{"1329204935":["hashtag1","hashtag2"]},{"1329204929":["hashtag1","hashtag2"]},{"1329204920":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204931, 1329204938, 1329204923, 1329204935, 1329204929, 1329204920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90791606903076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:26:42.763113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_41_3699.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_44_2564.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_47_3549.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_50_2690.jpg', '/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_55_2637.jpg', '/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_41_3699.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_44_2564.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_47_3549.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_50_2690.jpg
/home/pi/Desktop/images/13012025/09/59/image_13012025_09_59_55_2637.jpg
/home/pi/Desktop/images/13012025/10/00/image_13012025_10_00_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329204988","1329204949","1329204983","1329204956","1329204965","1329204953"],"photo_ids_order":["1329204949","1329204953","1329204956","1329204965","1329204983","1329204988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8266adffaef1840744584a30e709e217.jpg","text":"TemporaryFile(/tmp/multipartBody8718533340108524761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969264037,"filename":"image_13012025_10_00_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/90f29a4d404a68ece3ba5154772909c4.jpg","text":"TemporaryFile(/tmp/multipartBody8206880500448048998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969264037,"filename":"image_13012025_09_59_41_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de3e3a1be8e5f313e9b4d85245474124.jpg","text":"TemporaryFile(/tmp/multipartBody4065254360756110682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969264037,"filename":"image_13012025_09_59_55_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1a8d7a35e8e6b34696168d5b88112fdc.jpg","text":"TemporaryFile(/tmp/multipartBody3240982031595643988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969264037,"filename":"image_13012025_09_59_47_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38264c4402abf50088bb279e2ee04f3e.jpg","text":"TemporaryFile(/tmp/multipartBody6996335170971965225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969264037,"filename":"image_13012025_09_59_50_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/32c886a21bff6028901af3fcb8459b26.jpg","text":"TemporaryFile(/tmp/multipartBody4316736659307534325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969264037,"filename":"image_13012025_09_59_44_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329204956","file1":"1329204953","file0":"1329204949","file4":"1329204983","file5":"1329204988","file3":"1329204965"},"map_files_photo_id_array":[{"photo_id":"1329204988","filename":"file5"},{"photo_id":"1329204956","filename":"file2"},{"photo_id":"1329204983","filename":"file4"},{"photo_id":"1329204953","filename":"file1"},{"photo_id":"1329204949","filename":"file0"},{"photo_id":"1329204965","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329204988":["hashtag1","hashtag2"]},{"1329204949":["hashtag1","hashtag2"]},{"1329204983":["hashtag1","hashtag2"]},{"1329204956":["hashtag1","hashtag2"]},{"1329204965":["hashtag1","hashtag2"]},{"1329204953":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329204988, 1329204949, 1329204983, 1329204956, 1329204965, 1329204953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06585907936096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:27:21.791582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_16_2689.jpg', '/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_37_2838.jpg', '/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_52_2756.jpg', '/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_10_2659.jpg', '/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_52_2730.jpg', '/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_55_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_16_2689.jpg
/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_37_2838.jpg
/home/pi/Desktop/images/13012025/10/02/image_13012025_10_02_52_2756.jpg
/home/pi/Desktop/images/13012025/10/03/image_13012025_10_03_10_2659.jpg
/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_52_2730.jpg
/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_55_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329205155","1329205812","1329205673","1329205571","1329205430","1329205270"],"photo_ids_order":["1329205155","1329205270","1329205430","1329205571","1329205673","1329205812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c0d3e357695e6f6864382ee1c4c104f9.jpg","text":"TemporaryFile(/tmp/multipartBody7527112378054237366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969304844,"filename":"image_13012025_10_02_16_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2586afeb4b1d5528e2052121f597ba70.jpg","text":"TemporaryFile(/tmp/multipartBody665134961919008960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969304844,"filename":"image_13012025_10_04_55_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f75619f517b6e32c03a4e210001f7367.jpg","text":"TemporaryFile(/tmp/multipartBody7859832235901655866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969304844,"filename":"image_13012025_10_04_52_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b04b56f6d98e1ff58137f6a30ea2143d.jpg","text":"TemporaryFile(/tmp/multipartBody2775763622321456089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969304844,"filename":"image_13012025_10_03_10_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d71760f3dff28ebbf2720b5c79c3341.jpg","text":"TemporaryFile(/tmp/multipartBody1745934703312229030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969304844,"filename":"image_13012025_10_02_52_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e9a29d65fa88ec06f3da851aa0c6cc52.jpg","text":"TemporaryFile(/tmp/multipartBody6810192508567858594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969304844,"filename":"image_13012025_10_02_37_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329205430","file1":"1329205270","file0":"1329205155","file4":"1329205673","file5":"1329205812","file3":"1329205571"},"map_files_photo_id_array":[{"photo_id":"1329205812","filename":"file5"},{"photo_id":"1329205430","filename":"file2"},{"photo_id":"1329205673","filename":"file4"},{"photo_id":"1329205270","filename":"file1"},{"photo_id":"1329205155","filename":"file0"},{"photo_id":"1329205571","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329205155":["hashtag1","hashtag2"]},{"1329205812":["hashtag1","hashtag2"]},{"1329205673":["hashtag1","hashtag2"]},{"1329205571":["hashtag1","hashtag2"]},{"1329205430":["hashtag1","hashtag2"]},{"1329205270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329205155, 1329205812, 1329205673, 1329205571, 1329205430, 1329205270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.16969060897827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:28:21.930590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_58_3539.jpg', '/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_07_3011.jpg', '/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_17_2810.jpg', '/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_19_2927.jpg', '/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_22_2723.jpg', '/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_28_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/04/image_13012025_10_04_58_3539.jpg
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_07_3011.jpg
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_17_2810.jpg
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_19_2927.jpg
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_22_2723.jpg
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_28_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329206216","1329206191","1329206185","1329206212","1329206206","1329206200"],"photo_ids_order":["1329206185","1329206191","1329206200","1329206206","1329206212","1329206216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f1fb0bcb35088bd976838f6413ec840.jpg","text":"TemporaryFile(/tmp/multipartBody8660806251997953088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969364998,"filename":"image_13012025_10_06_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6d50ed6a72efa499258ec00f4df468e.jpg","text":"TemporaryFile(/tmp/multipartBody7078270672971166550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969364998,"filename":"image_13012025_10_06_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5edf63131b4ccc2aeb482c8de24b4c6.jpg","text":"TemporaryFile(/tmp/multipartBody3547008864566990712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969364998,"filename":"image_13012025_10_04_58_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99670d7fb2e1f6dffec2eb703b397a9f.jpg","text":"TemporaryFile(/tmp/multipartBody7015072742675312574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969364998,"filename":"image_13012025_10_06_22_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8af359657aa4291ea5e4c5aec3be65fb.jpg","text":"TemporaryFile(/tmp/multipartBody9059775456825464251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969364998,"filename":"image_13012025_10_06_19_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc1a9e31b6d554bcac44258a3e5a7a41.jpg","text":"TemporaryFile(/tmp/multipartBody6099405544083208112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969364998,"filename":"image_13012025_10_06_17_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329206200","file1":"1329206191","file0":"1329206185","file4":"1329206212","file5":"1329206216","file3":"1329206206"},"map_files_photo_id_array":[{"photo_id":"1329206216","filename":"file5"},{"photo_id":"1329206200","filename":"file2"},{"photo_id":"1329206212","filename":"file4"},{"photo_id":"1329206191","filename":"file1"},{"photo_id":"1329206185","filename":"file0"},{"photo_id":"1329206206","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329206216":["hashtag1","hashtag2"]},{"1329206191":["hashtag1","hashtag2"]},{"1329206185":["hashtag1","hashtag2"]},{"1329206212":["hashtag1","hashtag2"]},{"1329206206":["hashtag1","hashtag2"]},{"1329206200":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329206216, 1329206191, 1329206185, 1329206212, 1329206206, 1329206200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50726246833801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:29:03.671344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_32_3613.jpg', '/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_35_2733.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_07_9027.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_17_2860.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_20_2638.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_22_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_32_3613.jpg
/home/pi/Desktop/images/13012025/10/06/image_13012025_10_06_35_2733.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_07_9027.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_17_2860.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_20_2638.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_22_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329206232","1329206459","1329206336","1329206237","1329206389","1329206251"],"photo_ids_order":["1329206232","1329206237","1329206251","1329206336","1329206389","1329206459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67df3bb6e0ec582ef02c898bf5b491f9.jpg","text":"TemporaryFile(/tmp/multipartBody6923931132435373917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969406140,"filename":"image_13012025_10_06_32_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/71b9f8ab038890644098f2e8ade8d56a.jpg","text":"TemporaryFile(/tmp/multipartBody7280367500588363383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969406140,"filename":"image_13012025_10_07_22_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3e88c494145d3ac38346150eb177acd6.jpg","text":"TemporaryFile(/tmp/multipartBody3733941253564249309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969406140,"filename":"image_13012025_10_07_17_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e09fe3a92786702b0b28161deea306a2.jpg","text":"TemporaryFile(/tmp/multipartBody2211907468734657182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969406140,"filename":"image_13012025_10_06_35_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b93656a63b60fc895ef4992eb040bf15.jpg","text":"TemporaryFile(/tmp/multipartBody1961572316874646704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969406140,"filename":"image_13012025_10_07_20_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cfa7ad8ce1019d734d0e66ac13c16f62.jpg","text":"TemporaryFile(/tmp/multipartBody7748868533602423114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969406140,"filename":"image_13012025_10_07_07_9027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329206251","file1":"1329206237","file0":"1329206232","file4":"1329206389","file5":"1329206459","file3":"1329206336"},"map_files_photo_id_array":[{"photo_id":"1329206459","filename":"file5"},{"photo_id":"1329206251","filename":"file2"},{"photo_id":"1329206389","filename":"file4"},{"photo_id":"1329206237","filename":"file1"},{"photo_id":"1329206232","filename":"file0"},{"photo_id":"1329206336","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329206232":["hashtag1","hashtag2"]},{"1329206459":["hashtag1","hashtag2"]},{"1329206336":["hashtag1","hashtag2"]},{"1329206237":["hashtag1","hashtag2"]},{"1329206389":["hashtag1","hashtag2"]},{"1329206251":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329206232, 1329206459, 1329206336, 1329206237, 1329206389, 1329206251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43156313896179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:30:02.986588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_32_9880.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_34_1798.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_36_1813.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_37_1725.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_39_1612.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_41_1730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_32_9880.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_34_1798.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_36_1813.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_37_1725.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_39_1612.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_41_1730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329206700","1329206855","1329206899","1329206692","1329206839","1329206688"],"photo_ids_order":["1329206688","1329206692","1329206700","1329206839","1329206855","1329206899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3218f204e03ece2865aa97034e025f82.jpg","text":"TemporaryFile(/tmp/multipartBody5720140266573888057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969465422,"filename":"image_13012025_10_07_36_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d3b96438f9eb2b9471539899b89ac9e.jpg","text":"TemporaryFile(/tmp/multipartBody3191217579361978868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969465422,"filename":"image_13012025_10_07_39_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/51e65c5498032fb50a72f13b6c388c7a.jpg","text":"TemporaryFile(/tmp/multipartBody2673228207513412655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969465422,"filename":"image_13012025_10_07_41_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/96786f03a56e419ec5a81fe02d77b4d9.jpg","text":"TemporaryFile(/tmp/multipartBody4649002430880910600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969465422,"filename":"image_13012025_10_07_34_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b6289fb86beaf035236a76ae30346960.jpg","text":"TemporaryFile(/tmp/multipartBody8988477901038063929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969465422,"filename":"image_13012025_10_07_37_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cfbff234dc8dd6ea8f5d838b781b7a49.jpg","text":"TemporaryFile(/tmp/multipartBody1984039150535575119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969465422,"filename":"image_13012025_10_07_32_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329206700","file1":"1329206692","file0":"1329206688","file4":"1329206855","file5":"1329206899","file3":"1329206839"},"map_files_photo_id_array":[{"photo_id":"1329206899","filename":"file5"},{"photo_id":"1329206700","filename":"file2"},{"photo_id":"1329206855","filename":"file4"},{"photo_id":"1329206692","filename":"file1"},{"photo_id":"1329206688","filename":"file0"},{"photo_id":"1329206839","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329206700":["hashtag1","hashtag2"]},{"1329206855":["hashtag1","hashtag2"]},{"1329206899":["hashtag1","hashtag2"]},{"1329206692":["hashtag1","hashtag2"]},{"1329206839":["hashtag1","hashtag2"]},{"1329206688":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329206700, 1329206855, 1329206899, 1329206692, 1329206839, 1329206688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.426559925079346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:31:03.150194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_46_2631.jpg', '/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_53_2856.jpg', '/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_19_3760.jpg', '/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_51_2595.jpg', '/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_55_3776.jpg', '/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_58_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_46_2631.jpg
/home/pi/Desktop/images/13012025/10/07/image_13012025_10_07_53_2856.jpg
/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_19_3760.jpg
/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_51_2595.jpg
/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_55_3776.jpg
/home/pi/Desktop/images/13012025/10/11/image_13012025_10_11_58_2851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329206978","1329206971","1329206974","1329206982","1329206985","1329206979"],"photo_ids_order":["1329206971","1329206974","1329206978","1329206979","1329206982","1329206985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44dce8f57efb2cf0f820cc297782564c.jpg","text":"TemporaryFile(/tmp/multipartBody1678647136056267078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969525619,"filename":"image_13012025_10_11_19_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b1b6040772cd2f5d3ae6cd4dd2964f2a.jpg","text":"TemporaryFile(/tmp/multipartBody6415763808843868468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969525619,"filename":"image_13012025_10_07_46_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dba7026d8d6a0836931ba14468b64676.jpg","text":"TemporaryFile(/tmp/multipartBody4285597228551051344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969525619,"filename":"image_13012025_10_07_53_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/137927a9e99ed6bc65a75f954b30c6b3.jpg","text":"TemporaryFile(/tmp/multipartBody429533444310341128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969525619,"filename":"image_13012025_10_11_55_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3daec70d4f94250286079c65594932cb.jpg","text":"TemporaryFile(/tmp/multipartBody4496455156172573357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969525619,"filename":"image_13012025_10_11_58_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af62b0f5c6b94077379ccafa9971a5cf.jpg","text":"TemporaryFile(/tmp/multipartBody1324986668879081573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969525619,"filename":"image_13012025_10_11_51_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329206978","file1":"1329206974","file0":"1329206971","file4":"1329206982","file5":"1329206985","file3":"1329206979"},"map_files_photo_id_array":[{"photo_id":"1329206985","filename":"file5"},{"photo_id":"1329206978","filename":"file2"},{"photo_id":"1329206982","filename":"file4"},{"photo_id":"1329206974","filename":"file1"},{"photo_id":"1329206971","filename":"file0"},{"photo_id":"1329206979","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329206978":["hashtag1","hashtag2"]},{"1329206971":["hashtag1","hashtag2"]},{"1329206974":["hashtag1","hashtag2"]},{"1329206982":["hashtag1","hashtag2"]},{"1329206985":["hashtag1","hashtag2"]},{"1329206979":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329206978, 1329206971, 1329206974, 1329206982, 1329206985, 1329206979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.02871489524841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:32:02.650212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_07_3608.jpg', '/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_01_2620.jpg', '/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_10_2744.jpg', '/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_53_3851.jpg', '/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_47_3584.jpg', '/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_19_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/12/image_13012025_10_12_07_3608.jpg
/home/pi/Desktop/images/13012025/10/16/image_13012025_10_16_01_2620.jpg
/home/pi/Desktop/images/13012025/10/18/image_13012025_10_18_10_2744.jpg
/home/pi/Desktop/images/13012025/10/21/image_13012025_10_21_53_3851.jpg
/home/pi/Desktop/images/13012025/10/25/image_13012025_10_25_47_3584.jpg
/home/pi/Desktop/images/13012025/10/28/image_13012025_10_28_19_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329207024","1329207026","1329207029","1329207022","1329207031","1329207027"],"photo_ids_order":["1329207022","1329207024","1329207026","1329207027","1329207029","1329207031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7966edc8da6d40bea750fd7c89d3ead8.jpg","text":"TemporaryFile(/tmp/multipartBody5023793046332503571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969584909,"filename":"image_13012025_10_16_01_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4a6adac81d98234229bdbd938a316077.jpg","text":"TemporaryFile(/tmp/multipartBody2516634545382222688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969584909,"filename":"image_13012025_10_18_10_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8cc31926199285ef42c32203091b9c51.jpg","text":"TemporaryFile(/tmp/multipartBody3917613383345821546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969584909,"filename":"image_13012025_10_25_47_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb977145a0cf0d8e0a73378759c599a7.jpg","text":"TemporaryFile(/tmp/multipartBody7793603399725343335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969584909,"filename":"image_13012025_10_12_07_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c24cff3b0ff171ae9921ab0fe29a4261.jpg","text":"TemporaryFile(/tmp/multipartBody8905991969737039958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969584909,"filename":"image_13012025_10_28_19_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9952fc0f23f27e3ea23f3f8b98b334fc.jpg","text":"TemporaryFile(/tmp/multipartBody4787571818113105887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969584909,"filename":"image_13012025_10_21_53_3851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329207026","file1":"1329207024","file0":"1329207022","file4":"1329207029","file5":"1329207031","file3":"1329207027"},"map_files_photo_id_array":[{"photo_id":"1329207031","filename":"file5"},{"photo_id":"1329207026","filename":"file2"},{"photo_id":"1329207029","filename":"file4"},{"photo_id":"1329207024","filename":"file1"},{"photo_id":"1329207022","filename":"file0"},{"photo_id":"1329207027","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329207024":["hashtag1","hashtag2"]},{"1329207026":["hashtag1","hashtag2"]},{"1329207029":["hashtag1","hashtag2"]},{"1329207022":["hashtag1","hashtag2"]},{"1329207031":["hashtag1","hashtag2"]},{"1329207027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329207024, 1329207026, 1329207029, 1329207022, 1329207031, 1329207027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.030951261520386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:33:02.547675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_29_3614.jpg', '/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_28_2734.jpg', '/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_07_3011.jpg', '/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_40_2773.jpg', '/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_07_2696.jpg', '/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_31_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/32/image_13012025_10_32_29_3614.jpg
/home/pi/Desktop/images/13012025/10/33/image_13012025_10_33_28_2734.jpg
/home/pi/Desktop/images/13012025/10/36/image_13012025_10_36_07_3011.jpg
/home/pi/Desktop/images/13012025/10/38/image_13012025_10_38_40_2773.jpg
/home/pi/Desktop/images/13012025/10/41/image_13012025_10_41_07_2696.jpg
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_31_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329207059","1329207101","1329207079","1329207103","1329207081","1329207069"],"photo_ids_order":["1329207059","1329207069","1329207079","1329207081","1329207101","1329207103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06e6e1e654ba610dad0c457bbf7cc3f5.jpg","text":"TemporaryFile(/tmp/multipartBody2770340073122207597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969644942,"filename":"image_13012025_10_32_29_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/796c86b3389766079bbea31e636bcd94.jpg","text":"TemporaryFile(/tmp/multipartBody1501097855565914212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969644942,"filename":"image_13012025_10_41_07_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2bcf7bb29da11628dd7f57eea7a7dc03.jpg","text":"TemporaryFile(/tmp/multipartBody913118748775669308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969644942,"filename":"image_13012025_10_36_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/66c1a5540b4a353a724741969e262a13.jpg","text":"TemporaryFile(/tmp/multipartBody7338455050714086237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969644942,"filename":"image_13012025_10_42_31_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5e82048b2c0a74158d69dd59de7ea282.jpg","text":"TemporaryFile(/tmp/multipartBody9205932042435687874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969644942,"filename":"image_13012025_10_38_40_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8002937c37dfbf281f1e49fbee49f027.jpg","text":"TemporaryFile(/tmp/multipartBody3900412223361089700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969644942,"filename":"image_13012025_10_33_28_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329207079","file1":"1329207069","file0":"1329207059","file4":"1329207101","file5":"1329207103","file3":"1329207081"},"map_files_photo_id_array":[{"photo_id":"1329207103","filename":"file5"},{"photo_id":"1329207079","filename":"file2"},{"photo_id":"1329207101","filename":"file4"},{"photo_id":"1329207069","filename":"file1"},{"photo_id":"1329207059","filename":"file0"},{"photo_id":"1329207081","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329207059":["hashtag1","hashtag2"]},{"1329207101":["hashtag1","hashtag2"]},{"1329207079":["hashtag1","hashtag2"]},{"1329207103":["hashtag1","hashtag2"]},{"1329207081":["hashtag1","hashtag2"]},{"1329207069":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329207059, 1329207101, 1329207079, 1329207103, 1329207081, 1329207069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34928512573242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:33:41.847895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_34_2925.jpg', '/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_37_2740.jpg', '/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_40_3628.jpg', '/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_43_2698.jpg', '/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_46_2711.jpg', '/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_50_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_34_2925.jpg
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_37_2740.jpg
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_40_3628.jpg
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_43_2698.jpg
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_46_2711.jpg
/home/pi/Desktop/images/13012025/10/42/image_13012025_10_42_50_3643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329207114","1329207146","1329207119","1329207277","1329207208","1329207144"],"photo_ids_order":["1329207114","1329207119","1329207144","1329207146","1329207208","1329207277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/25955e10c69ff64dcf26a7b1662ed8f8.jpg","text":"TemporaryFile(/tmp/multipartBody4732051036258497356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969683145,"filename":"image_13012025_10_42_34_2925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2caa762e9ede5594aba480244e41ef58.jpg","text":"TemporaryFile(/tmp/multipartBody6876217486896614516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969683145,"filename":"image_13012025_10_42_43_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c7aaf040b7da82a728dcad839384381.jpg","text":"TemporaryFile(/tmp/multipartBody3081916197732375013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969683145,"filename":"image_13012025_10_42_37_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00ae7575b9344bd029c2d9947cfe62bc.jpg","text":"TemporaryFile(/tmp/multipartBody7432412843695877777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969683145,"filename":"image_13012025_10_42_50_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7247257964eae8dcf64901d12fd2b3e9.jpg","text":"TemporaryFile(/tmp/multipartBody1220023482640940933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969683145,"filename":"image_13012025_10_42_46_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70c4406ec846be588c0cedeeeca382bd.jpg","text":"TemporaryFile(/tmp/multipartBody8716463631950344661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969683145,"filename":"image_13012025_10_42_40_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329207144","file1":"1329207119","file0":"1329207114","file4":"1329207208","file5":"1329207277","file3":"1329207146"},"map_files_photo_id_array":[{"photo_id":"1329207277","filename":"file5"},{"photo_id":"1329207144","filename":"file2"},{"photo_id":"1329207208","filename":"file4"},{"photo_id":"1329207119","filename":"file1"},{"photo_id":"1329207114","filename":"file0"},{"photo_id":"1329207146","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329207114":["hashtag1","hashtag2"]},{"1329207146":["hashtag1","hashtag2"]},{"1329207119":["hashtag1","hashtag2"]},{"1329207277":["hashtag1","hashtag2"]},{"1329207208":["hashtag1","hashtag2"]},{"1329207144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329207114, 1329207146, 1329207119, 1329207277, 1329207208, 1329207144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15339469909668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:34:22.446610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/20/17/image_15012025_20_17_41_2651.jpg', '/home/pi/Desktop/images/15012025/20/34/image_15012025_20_34_58_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/20/17/image_15012025_20_17_41_2651.jpg
/home/pi/Desktop/images/15012025/20/34/image_15012025_20_34_58_2607.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329207284","1329207287"],"photo_ids_order":["1329207284","1329207287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/86b0641833c7defb59b3afa0e998c325.jpg","text":"TemporaryFile(/tmp/multipartBody4221127267303136198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969723016,"filename":"image_15012025_20_17_41_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5618344229df40dd2dc0a3facdbe7af0.jpg","text":"TemporaryFile(/tmp/multipartBody3531881487748240624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969723016,"filename":"image_15012025_20_34_58_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1329207287","file0":"1329207284"},"map_files_photo_id_array":[{"photo_id":"1329207287","filename":"file1"},{"photo_id":"1329207284","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329207284":["hashtag1","hashtag2"]},{"1329207287":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329207284, 1329207287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.157981395721436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:34:42.419697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_04_2665.jpg', '/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_07_2745.jpg', '/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_55_3577.jpg', '/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_07_3011.jpg', '/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_11_3793.jpg', '/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_14_3039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/43/image_13012025_10_43_04_2665.jpg
/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_07_2745.jpg
/home/pi/Desktop/images/13012025/10/44/image_13012025_10_44_55_3577.jpg
/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_07_3011.jpg
/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_11_3793.jpg
/home/pi/Desktop/images/13012025/10/46/image_13012025_10_46_14_3039.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329207321","1329207303","1329207314","1329207322","1329207310","1329207307"],"photo_ids_order":["1329207303","1329207307","1329207310","1329207314","1329207321","1329207322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36b2ca6304830f715aa50cca49a73ac1.jpg","text":"TemporaryFile(/tmp/multipartBody2922506085205445161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969743704,"filename":"image_13012025_10_46_11_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31dd6cb81cd935113a27d93c9477b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody7559399194276476956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969743704,"filename":"image_13012025_10_43_04_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3b3633678b67274db71318b7a50369fe.jpg","text":"TemporaryFile(/tmp/multipartBody8372759872039205379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969743704,"filename":"image_13012025_10_46_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e6960f6535d96066b00fdc7381e97efb.jpg","text":"TemporaryFile(/tmp/multipartBody1067455403129571824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969743704,"filename":"image_13012025_10_46_14_3039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3ec7e169ecdce856d0015500b90f6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1449462778840513117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969743704,"filename":"image_13012025_10_44_55_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/12df0041553afc9adeb4ba5d0c8382bc.jpg","text":"TemporaryFile(/tmp/multipartBody8385465675524508634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969743704,"filename":"image_13012025_10_44_07_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329207310","file1":"1329207307","file0":"1329207303","file4":"1329207321","file5":"1329207322","file3":"1329207314"},"map_files_photo_id_array":[{"photo_id":"1329207322","filename":"file5"},{"photo_id":"1329207310","filename":"file2"},{"photo_id":"1329207321","filename":"file4"},{"photo_id":"1329207307","filename":"file1"},{"photo_id":"1329207303","filename":"file0"},{"photo_id":"1329207314","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329207321":["hashtag1","hashtag2"]},{"1329207303":["hashtag1","hashtag2"]},{"1329207314":["hashtag1","hashtag2"]},{"1329207322":["hashtag1","hashtag2"]},{"1329207310":["hashtag1","hashtag2"]},{"1329207307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329207321, 1329207303, 1329207314, 1329207322, 1329207310, 1329207307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87918162345886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:35:22.548701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/20/34/image_15012025_20_35_00_2660.jpg', '/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_31_3526.jpg', '/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_37_2726.jpg', '/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_39_2563.jpg', '/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_43_3580.jpg', '/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_57_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/20/34/image_15012025_20_35_00_2660.jpg
/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_31_3526.jpg
/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_37_2726.jpg
/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_39_2563.jpg
/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_43_3580.jpg
/home/pi/Desktop/images/15012025/20/35/image_15012025_20_35_57_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329207336","1329207332","1329207326","1329207342","1329207339","1329207330"],"photo_ids_order":["1329207326","1329207330","1329207332","1329207336","1329207339","1329207342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff51112e78d682362ac624ea3f4cc55f.jpg","text":"TemporaryFile(/tmp/multipartBody4950777965304819620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969783220,"filename":"image_15012025_20_35_39_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6e9e68c9a6ca57a074fa733e2e7007fd.jpg","text":"TemporaryFile(/tmp/multipartBody7388041449013615312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969783220,"filename":"image_15012025_20_35_37_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/803cac11ed7aa36f550012a22598ebdc.jpg","text":"TemporaryFile(/tmp/multipartBody5488940247085032884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969783220,"filename":"image_15012025_20_35_00_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e320c6ae5d6947a4986bd8f549832394.jpg","text":"TemporaryFile(/tmp/multipartBody6408711765344455430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969783220,"filename":"image_15012025_20_35_57_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05a76de14d5d4e40ec4bb9f9dc84f288.jpg","text":"TemporaryFile(/tmp/multipartBody1562703810999153762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969783220,"filename":"image_15012025_20_35_43_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70dd106d9a13142aac7cc3c0e7b34ebf.jpg","text":"TemporaryFile(/tmp/multipartBody5492129814030035975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969783220,"filename":"image_15012025_20_35_31_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329207332","file1":"1329207330","file0":"1329207326","file4":"1329207339","file5":"1329207342","file3":"1329207336"},"map_files_photo_id_array":[{"photo_id":"1329207342","filename":"file5"},{"photo_id":"1329207332","filename":"file2"},{"photo_id":"1329207339","filename":"file4"},{"photo_id":"1329207330","filename":"file1"},{"photo_id":"1329207326","filename":"file0"},{"photo_id":"1329207336","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329207336":["hashtag1","hashtag2"]},{"1329207332":["hashtag1","hashtag2"]},{"1329207326":["hashtag1","hashtag2"]},{"1329207342":["hashtag1","hashtag2"]},{"1329207339":["hashtag1","hashtag2"]},{"1329207330":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329207336, 1329207332, 1329207326, 1329207342, 1329207339, 1329207330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47041058540344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:36:03.125796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_37_2705.jpg', '/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_07_3011.jpg', '/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_59_3577.jpg', '/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_42_2792.jpg', '/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_25_3699.jpg', '/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_55_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/10/47/image_13012025_10_47_37_2705.jpg
/home/pi/Desktop/images/13012025/10/50/image_13012025_10_50_07_3011.jpg
/home/pi/Desktop/images/13012025/10/51/image_13012025_10_51_59_3577.jpg
/home/pi/Desktop/images/13012025/10/54/image_13012025_10_54_42_2792.jpg
/home/pi/Desktop/images/13012025/10/57/image_13012025_10_57_25_3699.jpg
/home/pi/Desktop/images/13012025/10/58/image_13012025_10_58_55_3595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329207347","1329207350","1329207358","1329207352","1329207355","1329207360"],"photo_ids_order":["1329207347","1329207350","1329207352","1329207355","1329207358","1329207360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e8551b576e74bb3dab6b97fdf61ff40c.jpg","text":"TemporaryFile(/tmp/multipartBody4407980330811904215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969825445,"filename":"image_13012025_10_47_37_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5bd9f78c6a7af8adc369bf6ca6292010.jpg","text":"TemporaryFile(/tmp/multipartBody1956783461626951926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969825445,"filename":"image_13012025_10_50_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b03281b4cf502e427b73a5e0557b501b.jpg","text":"TemporaryFile(/tmp/multipartBody6180863948842662158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969825445,"filename":"image_13012025_10_57_25_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6dd0ee88b60e54b8d77d65c0d7b46197.jpg","text":"TemporaryFile(/tmp/multipartBody3647654513141262543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969825445,"filename":"image_13012025_10_51_59_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0bb982866d4a0b9cd3a799c67ad19a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6850830101267343781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969825445,"filename":"image_13012025_10_54_42_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/991a122d6f1f1a1c42254c9940b13856.jpg","text":"TemporaryFile(/tmp/multipartBody6443436250593808351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969825445,"filename":"image_13012025_10_58_55_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329207352","file1":"1329207350","file0":"1329207347","file4":"1329207358","file5":"1329207360","file3":"1329207355"},"map_files_photo_id_array":[{"photo_id":"1329207360","filename":"file5"},{"photo_id":"1329207352","filename":"file2"},{"photo_id":"1329207358","filename":"file4"},{"photo_id":"1329207350","filename":"file1"},{"photo_id":"1329207347","filename":"file0"},{"photo_id":"1329207355","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329207347":["hashtag1","hashtag2"]},{"1329207350":["hashtag1","hashtag2"]},{"1329207358":["hashtag1","hashtag2"]},{"1329207352":["hashtag1","hashtag2"]},{"1329207355":["hashtag1","hashtag2"]},{"1329207360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329207347, 1329207350, 1329207358, 1329207352, 1329207355, 1329207360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02754759788513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:36:42.503281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/20/35/image_15012025_20_36_01_3591.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_03_2664.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_07_3530.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_10_2606.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_12_2712.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_16_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/20/35/image_15012025_20_36_01_3591.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_03_2664.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_07_3530.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_10_2606.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_12_2712.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_16_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329207392","1329207382","1329207373","1329207436","1329207387","1329207396"],"photo_ids_order":["1329207373","1329207382","1329207387","1329207392","1329207396","1329207436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8c0e977e472e26dda8032dcc6ad17c8.jpg","text":"TemporaryFile(/tmp/multipartBody1167900271039962047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969863146,"filename":"image_15012025_20_36_10_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4993bee7dece390c26145cb70dd23665.jpg","text":"TemporaryFile(/tmp/multipartBody2953293778244684577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969863146,"filename":"image_15012025_20_36_03_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1cd80f3aeccaeca68d605bf80c5c758e.jpg","text":"TemporaryFile(/tmp/multipartBody7034409909423673404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969863146,"filename":"image_15012025_20_36_01_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f15232a6ec0eda5a401ad5d69890a998.jpg","text":"TemporaryFile(/tmp/multipartBody5866574666067231749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969863146,"filename":"image_15012025_20_36_16_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02ca8acdb6f1e6f7626481a124b27526.jpg","text":"TemporaryFile(/tmp/multipartBody1374153750225001936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969863146,"filename":"image_15012025_20_36_07_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee8ce168a03025478eab153d82f609bb.jpg","text":"TemporaryFile(/tmp/multipartBody5028856338600260716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969863146,"filename":"image_15012025_20_36_12_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329207387","file1":"1329207382","file0":"1329207373","file4":"1329207396","file5":"1329207436","file3":"1329207392"},"map_files_photo_id_array":[{"photo_id":"1329207436","filename":"file5"},{"photo_id":"1329207387","filename":"file2"},{"photo_id":"1329207396","filename":"file4"},{"photo_id":"1329207382","filename":"file1"},{"photo_id":"1329207373","filename":"file0"},{"photo_id":"1329207392","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329207392":["hashtag1","hashtag2"]},{"1329207382":["hashtag1","hashtag2"]},{"1329207373":["hashtag1","hashtag2"]},{"1329207436":["hashtag1","hashtag2"]},{"1329207387":["hashtag1","hashtag2"]},{"1329207396":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329207392, 1329207382, 1329207373, 1329207436, 1329207387, 1329207396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6127667427063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:37:22.165703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_19_2580.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_21_2793.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_24_2698.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_28_3779.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_37_3717.jpg', '/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_40_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_19_2580.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_21_2793.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_24_2698.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_28_3779.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_37_3717.jpg
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_40_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329207890","1329208241","1329208010","1329207571","1329208137","1329207714"],"photo_ids_order":["1329207571","1329207714","1329207890","1329208010","1329208137","1329208241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f5db5b3f1747a3a285d1635ce8242c1.jpg","text":"TemporaryFile(/tmp/multipartBody3777231522829075902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969902844,"filename":"image_15012025_20_36_24_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffcd1e1fc4209d3e058c8eba84240179.jpg","text":"TemporaryFile(/tmp/multipartBody6980568675452498366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969902844,"filename":"image_15012025_20_36_40_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/702c99608af41b098c46f159f42daa1f.jpg","text":"TemporaryFile(/tmp/multipartBody6168811640567367903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969902844,"filename":"image_15012025_20_36_28_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a503fbccdcd140f2de55748697e3996.jpg","text":"TemporaryFile(/tmp/multipartBody3100496253110820709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969902844,"filename":"image_15012025_20_36_19_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/56bfe6d0ada49bd14ed42814a279f145.jpg","text":"TemporaryFile(/tmp/multipartBody3823429736961418009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969902844,"filename":"image_15012025_20_36_37_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/adc3403bdb1a6e74fd8067366ba61444.jpg","text":"TemporaryFile(/tmp/multipartBody1092321490289836050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969902844,"filename":"image_15012025_20_36_21_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329207890","file1":"1329207714","file0":"1329207571","file4":"1329208137","file5":"1329208241","file3":"1329208010"},"map_files_photo_id_array":[{"photo_id":"1329208241","filename":"file5"},{"photo_id":"1329207890","filename":"file2"},{"photo_id":"1329208137","filename":"file4"},{"photo_id":"1329207714","filename":"file1"},{"photo_id":"1329207571","filename":"file0"},{"photo_id":"1329208010","filename":"file3"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329207890":["hashtag1","hashtag2"]},{"1329208241":["hashtag1","hashtag2"]},{"1329208010":["hashtag1","hashtag2"]},{"1329207571":["hashtag1","hashtag2"]},{"1329208137":["hashtag1","hashtag2"]},{"1329207714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329207890, 1329208241, 1329208010, 1329207571, 1329208137, 1329207714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70749092102051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:38:03.180979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_19_3647.jpg', '/home/pi/Desktop/images/13012025/11/02/image_13012025_11_03_01_3680.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_04_2292.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_07_3719.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_10_2555.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_13_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/02/image_13012025_11_02_19_3647.jpg
/home/pi/Desktop/images/13012025/11/02/image_13012025_11_03_01_3680.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_04_2292.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_07_3719.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_10_2555.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_13_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329209071","1329208999","1329208879","1329208998","1329209019","1329209001"],"photo_ids_order":["1329208879","1329208998","1329208999","1329209001","1329209019","1329209071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a983000db28804bb54047a29370506b.jpg","text":"TemporaryFile(/tmp/multipartBody6093303508238737403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969945485,"filename":"image_13012025_11_03_13_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5fa130af22966681715ac615059a9355.jpg","text":"TemporaryFile(/tmp/multipartBody5193422927983654710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969945485,"filename":"image_13012025_11_03_04_2292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f90224182cef2a8dceb6c298b6af6452.jpg","text":"TemporaryFile(/tmp/multipartBody1339468622501970048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969945485,"filename":"image_13012025_11_02_19_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52b2b57b61c7495c8e61278b64e81a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5249105921341406257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969945485,"filename":"image_13012025_11_03_01_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb99076e0bc2122138da88a1f9c4caed.jpg","text":"TemporaryFile(/tmp/multipartBody174646214782908645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969945485,"filename":"image_13012025_11_03_10_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c3e4b17c7eafa2358d19fa899b50737c.jpg","text":"TemporaryFile(/tmp/multipartBody5392855106233506635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969945485,"filename":"image_13012025_11_03_07_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329208999","file1":"1329208998","file0":"1329208879","file4":"1329209019","file5":"1329209071","file3":"1329209001"},"map_files_photo_id_array":[{"photo_id":"1329209071","filename":"file5"},{"photo_id":"1329208999","filename":"file2"},{"photo_id":"1329209019","filename":"file4"},{"photo_id":"1329208998","filename":"file1"},{"photo_id":"1329208879","filename":"file0"},{"photo_id":"1329209001","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329209071":["hashtag1","hashtag2"]},{"1329208999":["hashtag1","hashtag2"]},{"1329208879":["hashtag1","hashtag2"]},{"1329208998":["hashtag1","hashtag2"]},{"1329209019":["hashtag1","hashtag2"]},{"1329209001":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329209071, 1329208999, 1329208879, 1329208998, 1329209019, 1329209001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.066006898880005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:38:42.502906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_16_3538.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_19_2810.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_22_2613.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_25_3766.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_28_2706.jpg', '/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_37_3880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_16_3538.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_19_2810.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_22_2613.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_25_3766.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_28_2706.jpg
/home/pi/Desktop/images/13012025/11/03/image_13012025_11_03_37_3880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329209234","1329209194","1329209164","1329209232","1329209235","1329209159"],"photo_ids_order":["1329209159","1329209164","1329209194","1329209232","1329209234","1329209235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/941cb2fadc234d9444a02463e22d6d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2546507180985034307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969983841,"filename":"image_13012025_11_03_28_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38eb9fbc64b66eff48d8a52eba6926e1.jpg","text":"TemporaryFile(/tmp/multipartBody7519650444486327044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969983841,"filename":"image_13012025_11_03_22_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cd92b7d80549a1d1b0251c1a0e90d0a5.jpg","text":"TemporaryFile(/tmp/multipartBody7915452227253976036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969983841,"filename":"image_13012025_11_03_19_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3049f804bd576ae44eecf96c335fab51.jpg","text":"TemporaryFile(/tmp/multipartBody697496389697888516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969983841,"filename":"image_13012025_11_03_25_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6b2dc8c36159d1ba8857da4b7bf5b392.jpg","text":"TemporaryFile(/tmp/multipartBody1586459338387207130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969983841,"filename":"image_13012025_11_03_37_3880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb90ba1f27632d8030f555add3ad2f75.jpg","text":"TemporaryFile(/tmp/multipartBody3275560894561838908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736969983841,"filename":"image_13012025_11_03_16_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329209194","file1":"1329209164","file0":"1329209159","file4":"1329209234","file5":"1329209235","file3":"1329209232"},"map_files_photo_id_array":[{"photo_id":"1329209235","filename":"file5"},{"photo_id":"1329209194","filename":"file2"},{"photo_id":"1329209234","filename":"file4"},{"photo_id":"1329209164","filename":"file1"},{"photo_id":"1329209159","filename":"file0"},{"photo_id":"1329209232","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329209234":["hashtag1","hashtag2"]},{"1329209194":["hashtag1","hashtag2"]},{"1329209164":["hashtag1","hashtag2"]},{"1329209232":["hashtag1","hashtag2"]},{"1329209235":["hashtag1","hashtag2"]},{"1329209159":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329209234, 1329209194, 1329209164, 1329209232, 1329209235, 1329209159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61294889450073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:39:22.712468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_42_2698.jpg', '/home/pi/Desktop/images/15012025/20/39/image_15012025_20_39_30_2673.jpg', '/home/pi/Desktop/images/15012025/20/39/image_15012025_20_39_34_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/20/36/image_15012025_20_36_42_2698.jpg
/home/pi/Desktop/images/15012025/20/39/image_15012025_20_39_30_2673.jpg
/home/pi/Desktop/images/15012025/20/39/image_15012025_20_39_34_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329209674","1329209290","1329209475"],"photo_ids_order":["1329209290","1329209475","1329209674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/27a474e6214c53e871d1c68c48246829.jpg","text":"TemporaryFile(/tmp/multipartBody5257867288071281192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970023313,"filename":"image_15012025_20_39_34_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/061c62a1aa22544e980e5cb44d5486df.jpg","text":"TemporaryFile(/tmp/multipartBody8194616359179020224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970023313,"filename":"image_15012025_20_36_42_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be7d51708ba75822b6b3b24ff4b51e93.jpg","text":"TemporaryFile(/tmp/multipartBody2337584587253974686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970023313,"filename":"image_15012025_20_39_30_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329209674","file1":"1329209475","file0":"1329209290"},"map_files_photo_id_array":[{"photo_id":"1329209674","filename":"file2"},{"photo_id":"1329209475","filename":"file1"},{"photo_id":"1329209290","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329209674":["hashtag1","hashtag2"]},{"1329209290":["hashtag1","hashtag2"]},{"1329209475":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329209674, 1329209290, 1329209475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.40957999229431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:40:02.990253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_11_3688.jpg', '/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_05_3658.jpg', '/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_34_2635.jpg', '/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_43_2734.jpg', '/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_52_2863.jpg', '/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_56_3810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/05/image_13012025_11_05_11_3688.jpg
/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_05_3658.jpg
/home/pi/Desktop/images/13012025/11/07/image_13012025_11_07_34_2635.jpg
/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_43_2734.jpg
/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_52_2863.jpg
/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_56_3810.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329209881","1329209884","1329209871","1329209874","1329209870","1329209855"],"photo_ids_order":["1329209855","1329209870","1329209871","1329209874","1329209881","1329209884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00b5f766a1f4f11d3c65777873bfbf5d.jpg","text":"TemporaryFile(/tmp/multipartBody2940090654236845484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970065372,"filename":"image_13012025_11_09_52_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5fae24816186656ecedc85b103be1bb6.jpg","text":"TemporaryFile(/tmp/multipartBody4677640978807184557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970065372,"filename":"image_13012025_11_09_56_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6406b8803f64e342bd53902f92b4fd29.jpg","text":"TemporaryFile(/tmp/multipartBody2673966772621599299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970065372,"filename":"image_13012025_11_07_34_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fa4882cb3b86ce09b7f4daae04df1976.jpg","text":"TemporaryFile(/tmp/multipartBody4954068500530093356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970065372,"filename":"image_13012025_11_09_43_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/286e44358ce2c434c75f43c91f09591c.jpg","text":"TemporaryFile(/tmp/multipartBody2809129330942679240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970065372,"filename":"image_13012025_11_07_05_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1496053d61b22e377c1fcdb428e46e70.jpg","text":"TemporaryFile(/tmp/multipartBody4784921190684464687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970065372,"filename":"image_13012025_11_05_11_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329209871","file1":"1329209870","file0":"1329209855","file4":"1329209881","file5":"1329209884","file3":"1329209874"},"map_files_photo_id_array":[{"photo_id":"1329209884","filename":"file5"},{"photo_id":"1329209871","filename":"file2"},{"photo_id":"1329209881","filename":"file4"},{"photo_id":"1329209870","filename":"file1"},{"photo_id":"1329209855","filename":"file0"},{"photo_id":"1329209874","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329209881":["hashtag1","hashtag2"]},{"1329209884":["hashtag1","hashtag2"]},{"1329209871":["hashtag1","hashtag2"]},{"1329209874":["hashtag1","hashtag2"]},{"1329209870":["hashtag1","hashtag2"]},{"1329209855":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329209881, 1329209884, 1329209871, 1329209874, 1329209870, 1329209855)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.22316360473633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:41:03.511724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_58_2561.jpg', '/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_01_2680.jpg', '/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_07_3010.jpg', '/home/pi/Desktop/images/13012025/11/11/image_13012025_11_11_29_3729.jpg', '/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_23_2731.jpg', '/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_44_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/09/image_13012025_11_09_58_2561.jpg
/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_01_2680.jpg
/home/pi/Desktop/images/13012025/11/10/image_13012025_11_10_07_3010.jpg
/home/pi/Desktop/images/13012025/11/11/image_13012025_11_11_29_3729.jpg
/home/pi/Desktop/images/13012025/11/13/image_13012025_11_13_23_2731.jpg
/home/pi/Desktop/images/13012025/11/14/image_13012025_11_14_44_3731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329209921","1329209918","1329209911","1329209916","1329209913","1329209924"],"photo_ids_order":["1329209911","1329209913","1329209916","1329209918","1329209921","1329209924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e765cd19914330fbf9beef19731b49ea.jpg","text":"TemporaryFile(/tmp/multipartBody3585073441168439930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970136071,"filename":"image_13012025_11_13_23_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2dae95295179f2fb6ee41095add23df5.jpg","text":"TemporaryFile(/tmp/multipartBody2482245591937619860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970136071,"filename":"image_13012025_11_11_29_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0966f4f84b04620f3bb28a65807a1f2f.jpg","text":"TemporaryFile(/tmp/multipartBody290668097156787380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970136071,"filename":"image_13012025_11_09_58_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee5de23feb250957c5697ae0092dbda1.jpg","text":"TemporaryFile(/tmp/multipartBody8907194666298433192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970136071,"filename":"image_13012025_11_10_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/447e102a02a76c0e163f35d1a920bf5c.jpg","text":"TemporaryFile(/tmp/multipartBody4532769287861320871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970136071,"filename":"image_13012025_11_10_01_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8db0e4889a9f38a594c6b0eed40b74da.jpg","text":"TemporaryFile(/tmp/multipartBody8878220733713773044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970136071,"filename":"image_13012025_11_14_44_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329209916","file1":"1329209913","file0":"1329209911","file4":"1329209921","file5":"1329209924","file3":"1329209918"},"map_files_photo_id_array":[{"photo_id":"1329209924","filename":"file5"},{"photo_id":"1329209916","filename":"file2"},{"photo_id":"1329209921","filename":"file4"},{"photo_id":"1329209913","filename":"file1"},{"photo_id":"1329209911","filename":"file0"},{"photo_id":"1329209918","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329209921":["hashtag1","hashtag2"]},{"1329209918":["hashtag1","hashtag2"]},{"1329209911":["hashtag1","hashtag2"]},{"1329209916":["hashtag1","hashtag2"]},{"1329209913":["hashtag1","hashtag2"]},{"1329209924":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329209921, 1329209918, 1329209911, 1329209916, 1329209913, 1329209924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.625258922576904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:42:03.179205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/16/image_13012025_11_16_07_3011.jpg', '/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_29_3758.jpg', '/home/pi/Desktop/images/13012025/11/21/image_13012025_11_21_10_3803.jpg', '/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_19_3737.jpg', '/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_55_3602.jpg', '/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_34_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/16/image_13012025_11_16_07_3011.jpg
/home/pi/Desktop/images/13012025/11/18/image_13012025_11_18_29_3758.jpg
/home/pi/Desktop/images/13012025/11/21/image_13012025_11_21_10_3803.jpg
/home/pi/Desktop/images/13012025/11/23/image_13012025_11_23_19_3737.jpg
/home/pi/Desktop/images/13012025/11/24/image_13012025_11_24_55_3602.jpg
/home/pi/Desktop/images/13012025/11/28/image_13012025_11_28_34_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329209971","1329209950","1329209976","1329209979","1329209970","1329209949"],"photo_ids_order":["1329209949","1329209950","1329209970","1329209971","1329209976","1329209979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36b5d4c773db68059ea56d8d4263ad2d.jpg","text":"TemporaryFile(/tmp/multipartBody3037673575481793667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970185538,"filename":"image_13012025_11_23_19_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70a874de979965351e78bea90cf62d45.jpg","text":"TemporaryFile(/tmp/multipartBody6296284348873476992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970185538,"filename":"image_13012025_11_18_29_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c53b761b460bad8384368f1c5f498fec.jpg","text":"TemporaryFile(/tmp/multipartBody4362509699787336735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970185538,"filename":"image_13012025_11_24_55_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e44847228e6930423a327ee0d5571fd9.jpg","text":"TemporaryFile(/tmp/multipartBody9190006902135342628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970185538,"filename":"image_13012025_11_28_34_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/673f829660a2e473f388999aa7a022c4.jpg","text":"TemporaryFile(/tmp/multipartBody2486138916349682983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970185538,"filename":"image_13012025_11_21_10_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6a1a1e59cd3254abec8e7d18530f281f.jpg","text":"TemporaryFile(/tmp/multipartBody5238891018231083100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970185538,"filename":"image_13012025_11_16_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329209970","file1":"1329209950","file0":"1329209949","file4":"1329209976","file5":"1329209979","file3":"1329209971"},"map_files_photo_id_array":[{"photo_id":"1329209979","filename":"file5"},{"photo_id":"1329209970","filename":"file2"},{"photo_id":"1329209976","filename":"file4"},{"photo_id":"1329209950","filename":"file1"},{"photo_id":"1329209949","filename":"file0"},{"photo_id":"1329209971","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329209971":["hashtag1","hashtag2"]},{"1329209950":["hashtag1","hashtag2"]},{"1329209976":["hashtag1","hashtag2"]},{"1329209979":["hashtag1","hashtag2"]},{"1329209970":["hashtag1","hashtag2"]},{"1329209949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329209971, 1329209950, 1329209976, 1329209979, 1329209970, 1329209949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.160462856292725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:43:03.579881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/30/image_13012025_11_30_14_2836.jpg', '/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_34_2628.jpg', '/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_52_2798.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_11_3713.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_13_2679.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_16_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/30/image_13012025_11_30_14_2836.jpg
/home/pi/Desktop/images/13012025/11/31/image_13012025_11_31_34_2628.jpg
/home/pi/Desktop/images/13012025/11/32/image_13012025_11_32_52_2798.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_11_3713.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_13_2679.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_16_2596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329210017","1329210022","1329210031","1329210025","1329210033","1329210003"],"photo_ids_order":["1329210003","1329210017","1329210022","1329210025","1329210031","1329210033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87a832c7c234ea86914d7d76002afce2.jpg","text":"TemporaryFile(/tmp/multipartBody2094041755456695067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970246038,"filename":"image_13012025_11_31_34_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/75900e26e8fa01b171204636357d7786.jpg","text":"TemporaryFile(/tmp/multipartBody7497756769789753024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970246038,"filename":"image_13012025_11_32_52_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a0fb0542dd2f8173b8dd8d8c9b39f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6847659476184826672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970246038,"filename":"image_13012025_11_33_13_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cadd154f36cce8d7991b1d14599b236b.jpg","text":"TemporaryFile(/tmp/multipartBody955595664450658886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970246038,"filename":"image_13012025_11_33_11_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c1b38ceb4dfa30befa60ff01ebee8181.jpg","text":"TemporaryFile(/tmp/multipartBody639554748718817801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970246038,"filename":"image_13012025_11_33_16_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a5dbec8e9c4529ab386ce3789630c9f.jpg","text":"TemporaryFile(/tmp/multipartBody1381926903837162786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970246038,"filename":"image_13012025_11_30_14_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329210022","file1":"1329210017","file0":"1329210003","file4":"1329210031","file5":"1329210033","file3":"1329210025"},"map_files_photo_id_array":[{"photo_id":"1329210033","filename":"file5"},{"photo_id":"1329210022","filename":"file2"},{"photo_id":"1329210031","filename":"file4"},{"photo_id":"1329210017","filename":"file1"},{"photo_id":"1329210003","filename":"file0"},{"photo_id":"1329210025","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329210017":["hashtag1","hashtag2"]},{"1329210022":["hashtag1","hashtag2"]},{"1329210031":["hashtag1","hashtag2"]},{"1329210025":["hashtag1","hashtag2"]},{"1329210033":["hashtag1","hashtag2"]},{"1329210003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329210017, 1329210022, 1329210031, 1329210025, 1329210033, 1329210003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16133451461792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:43:42.792191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_19_3600.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_22_2685.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_25_2719.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_28_3658.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_31_2625.jpg', '/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_37_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_19_3600.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_22_2685.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_25_2719.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_28_3658.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_31_2625.jpg
/home/pi/Desktop/images/13012025/11/33/image_13012025_11_33_37_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329210206","1329210209","1329210199","1329210203","1329210076","1329210201"],"photo_ids_order":["1329210076","1329210199","1329210201","1329210203","1329210206","1329210209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c99a5976a5379cdf8b172dc37d6c806.jpg","text":"TemporaryFile(/tmp/multipartBody1546725234183505313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970284265,"filename":"image_13012025_11_33_31_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84f8602eab7ef8f726166c27877bce8b.jpg","text":"TemporaryFile(/tmp/multipartBody213641689124706980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970284265,"filename":"image_13012025_11_33_37_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e81ae95ea80672ac7cefc9dc6cecdd46.jpg","text":"TemporaryFile(/tmp/multipartBody15854536242772051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970284265,"filename":"image_13012025_11_33_22_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/85d7fc3bba4e7b0377882c5c3dcd68b7.jpg","text":"TemporaryFile(/tmp/multipartBody1049593431397446078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970284265,"filename":"image_13012025_11_33_28_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a3d21a1aece735ccd98e6508cb09494a.jpg","text":"TemporaryFile(/tmp/multipartBody5532655970272119598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970284265,"filename":"image_13012025_11_33_19_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5da4ab8c439f38f05e1c444e1a0af1a4.jpg","text":"TemporaryFile(/tmp/multipartBody332072759697260930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970284265,"filename":"image_13012025_11_33_25_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329210201","file1":"1329210199","file0":"1329210076","file4":"1329210206","file5":"1329210209","file3":"1329210203"},"map_files_photo_id_array":[{"photo_id":"1329210209","filename":"file5"},{"photo_id":"1329210201","filename":"file2"},{"photo_id":"1329210206","filename":"file4"},{"photo_id":"1329210199","filename":"file1"},{"photo_id":"1329210076","filename":"file0"},{"photo_id":"1329210203","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329210206":["hashtag1","hashtag2"]},{"1329210209":["hashtag1","hashtag2"]},{"1329210199":["hashtag1","hashtag2"]},{"1329210203":["hashtag1","hashtag2"]},{"1329210076":["hashtag1","hashtag2"]},{"1329210201":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329210206, 1329210209, 1329210199, 1329210203, 1329210076, 1329210201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07648301124573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:44:21.944759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_35_3801.jpg', '/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_05_2690.jpg', '/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_29_3581.jpg', '/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_25_2854.jpg', '/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_28_2698.jpg', '/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_31_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/34/image_13012025_11_34_35_3801.jpg
/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_05_2690.jpg
/home/pi/Desktop/images/13012025/11/36/image_13012025_11_36_29_3581.jpg
/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_25_2854.jpg
/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_28_2698.jpg
/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_31_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329210245","1329210230","1329210241","1329210235","1329210226","1329210222"],"photo_ids_order":["1329210222","1329210226","1329210230","1329210235","1329210241","1329210245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7c1d8a81d1b0c084096edbd372b9d37.jpg","text":"TemporaryFile(/tmp/multipartBody1609792290059479606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970324929,"filename":"image_13012025_11_38_31_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/333933dda6d08fe22bf8df9b60029ed2.jpg","text":"TemporaryFile(/tmp/multipartBody187142250807467664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970324929,"filename":"image_13012025_11_36_29_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7132ec849d1483e7e8338f2980cdd1a8.jpg","text":"TemporaryFile(/tmp/multipartBody1014229661306672450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970324929,"filename":"image_13012025_11_38_28_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/abc1015983894dd820d462bdb04220b2.jpg","text":"TemporaryFile(/tmp/multipartBody2301220600170488739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970324929,"filename":"image_13012025_11_38_25_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e41a36c01975cd57875989876c2a285.jpg","text":"TemporaryFile(/tmp/multipartBody9140753666538662377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970324929,"filename":"image_13012025_11_36_05_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ba3a6796d0bebca2b3ac27a759c23b9.jpg","text":"TemporaryFile(/tmp/multipartBody9121559980223274828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970324929,"filename":"image_13012025_11_34_35_3801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329210230","file1":"1329210226","file0":"1329210222","file4":"1329210241","file5":"1329210245","file3":"1329210235"},"map_files_photo_id_array":[{"photo_id":"1329210245","filename":"file5"},{"photo_id":"1329210230","filename":"file2"},{"photo_id":"1329210241","filename":"file4"},{"photo_id":"1329210226","filename":"file1"},{"photo_id":"1329210222","filename":"file0"},{"photo_id":"1329210235","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329210245":["hashtag1","hashtag2"]},{"1329210230":["hashtag1","hashtag2"]},{"1329210241":["hashtag1","hashtag2"]},{"1329210235":["hashtag1","hashtag2"]},{"1329210226":["hashtag1","hashtag2"]},{"1329210222":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329210245, 1329210230, 1329210241, 1329210235, 1329210226, 1329210222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.750720500946045 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:45:22.417548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_41_3572.jpg', '/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_10_2822.jpg', '/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_13_3576.jpg', '/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_07_3011.jpg', '/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_07_2737.jpg', '/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_07_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/38/image_13012025_11_38_41_3572.jpg
/home/pi/Desktop/images/13012025/11/42/image_13012025_11_42_10_2822.jpg
/home/pi/Desktop/images/13012025/11/43/image_13012025_11_43_13_3576.jpg
/home/pi/Desktop/images/13012025/11/46/image_13012025_11_46_07_3011.jpg
/home/pi/Desktop/images/13012025/11/48/image_13012025_11_48_07_2737.jpg
/home/pi/Desktop/images/13012025/11/49/image_13012025_11_49_07_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329210373","1329210274","1329210268","1329210319","1329210279","1329210264"],"photo_ids_order":["1329210264","1329210268","1329210274","1329210279","1329210319","1329210373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf1288a1e0107438d39bb4b8de020612.jpg","text":"TemporaryFile(/tmp/multipartBody7437792613169655241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970385366,"filename":"image_13012025_11_49_07_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fef1d86a8599749aa7b15b155e0cde30.jpg","text":"TemporaryFile(/tmp/multipartBody6465798693767024149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970385366,"filename":"image_13012025_11_43_13_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d9dac0e03c081c588ac94018336715e2.jpg","text":"TemporaryFile(/tmp/multipartBody2922349291254619299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970385366,"filename":"image_13012025_11_42_10_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1832b3c889e712c6e866fc238cfea8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1552285722862970127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970385366,"filename":"image_13012025_11_48_07_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f2966896fc1e77c9be04fcb0f541125.jpg","text":"TemporaryFile(/tmp/multipartBody5722064433897201894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970385366,"filename":"image_13012025_11_46_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a2d59e01c40ac78e8b84eb02321745d.jpg","text":"TemporaryFile(/tmp/multipartBody4589199373609496156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970385366,"filename":"image_13012025_11_38_41_3572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329210274","file1":"1329210268","file0":"1329210264","file4":"1329210319","file5":"1329210373","file3":"1329210279"},"map_files_photo_id_array":[{"photo_id":"1329210373","filename":"file5"},{"photo_id":"1329210274","filename":"file2"},{"photo_id":"1329210319","filename":"file4"},{"photo_id":"1329210268","filename":"file1"},{"photo_id":"1329210264","filename":"file0"},{"photo_id":"1329210279","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329210373":["hashtag1","hashtag2"]},{"1329210274":["hashtag1","hashtag2"]},{"1329210268":["hashtag1","hashtag2"]},{"1329210319":["hashtag1","hashtag2"]},{"1329210279":["hashtag1","hashtag2"]},{"1329210264":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329210373, 1329210274, 1329210268, 1329210319, 1329210279, 1329210264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56745171546936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:46:03.126037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_38_2628.jpg', '/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_50_2757.jpg', '/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_44_3834.jpg', '/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_58_2831.jpg', '/home/pi/Desktop/images/13012025/11/57/image_13012025_11_57_34_3564.jpg', '/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_22_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_38_2628.jpg
/home/pi/Desktop/images/13012025/11/51/image_13012025_11_51_50_2757.jpg
/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_44_3834.jpg
/home/pi/Desktop/images/13012025/11/55/image_13012025_11_55_58_2831.jpg
/home/pi/Desktop/images/13012025/11/57/image_13012025_11_57_34_3564.jpg
/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_22_2804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329210542","1329210498","1329210540","1329210534","1329210459","1329210491"],"photo_ids_order":["1329210459","1329210491","1329210498","1329210534","1329210540","1329210542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/458984da651455992c288b34e8b752b3.jpg","text":"TemporaryFile(/tmp/multipartBody8672813655505465157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970425502,"filename":"image_13012025_11_58_22_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ed0de5073401a46c097128e8f6e3256.jpg","text":"TemporaryFile(/tmp/multipartBody7958819693545919327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970425502,"filename":"image_13012025_11_55_44_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0649a769e83f69e914106b44f36c9272.jpg","text":"TemporaryFile(/tmp/multipartBody9178445970258814206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970425502,"filename":"image_13012025_11_57_34_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bbd8896834ab79da1a68302871f173cb.jpg","text":"TemporaryFile(/tmp/multipartBody3818686277774274301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970425502,"filename":"image_13012025_11_55_58_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cce82a1fa13c873108d2ad0d1403bcad.jpg","text":"TemporaryFile(/tmp/multipartBody3033459953887596726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970425502,"filename":"image_13012025_11_51_38_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d17cdc1aa8a2040e7fc604d425c0b0a9.jpg","text":"TemporaryFile(/tmp/multipartBody8631482958003966098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970425502,"filename":"image_13012025_11_51_50_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329210498","file1":"1329210491","file0":"1329210459","file4":"1329210540","file5":"1329210542","file3":"1329210534"},"map_files_photo_id_array":[{"photo_id":"1329210542","filename":"file5"},{"photo_id":"1329210498","filename":"file2"},{"photo_id":"1329210540","filename":"file4"},{"photo_id":"1329210491","filename":"file1"},{"photo_id":"1329210459","filename":"file0"},{"photo_id":"1329210534","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329210542":["hashtag1","hashtag2"]},{"1329210498":["hashtag1","hashtag2"]},{"1329210540":["hashtag1","hashtag2"]},{"1329210534":["hashtag1","hashtag2"]},{"1329210459":["hashtag1","hashtag2"]},{"1329210491":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329210542, 1329210498, 1329210540, 1329210534, 1329210459, 1329210491)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.90489220619202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:47:03.091252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_55_3664.jpg', '/home/pi/Desktop/images/13012025/12/01/image_13012025_12_01_16_2652.jpg', '/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_40_2639.jpg', '/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_49_2941.jpg', '/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_04_2686.jpg', '/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_43_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/11/58/image_13012025_11_58_55_3664.jpg
/home/pi/Desktop/images/13012025/12/01/image_13012025_12_01_16_2652.jpg
/home/pi/Desktop/images/13012025/12/02/image_13012025_12_02_40_2639.jpg
/home/pi/Desktop/images/13012025/12/04/image_13012025_12_04_49_2941.jpg
/home/pi/Desktop/images/13012025/12/05/image_13012025_12_05_04_2686.jpg
/home/pi/Desktop/images/13012025/12/06/image_13012025_12_06_43_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329210863","1329210866","1329210874","1329210864","1329210843","1329210825"],"photo_ids_order":["1329210825","1329210843","1329210863","1329210864","1329210866","1329210874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7e4ba2fbd46791cfd8b56be9d4128747.jpg","text":"TemporaryFile(/tmp/multipartBody852836132923230785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970485584,"filename":"image_13012025_12_02_40_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e125d86326e61c3e17d2876385975979.jpg","text":"TemporaryFile(/tmp/multipartBody4449624375900485913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970485584,"filename":"image_13012025_12_05_04_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/966ca326f30878a0581a232afbb67a23.jpg","text":"TemporaryFile(/tmp/multipartBody1217059391848673032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970485584,"filename":"image_13012025_12_06_43_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a62fd2be5983a91800f929bfbabeb0e.jpg","text":"TemporaryFile(/tmp/multipartBody523399087992992431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970485584,"filename":"image_13012025_12_04_49_2941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/376f417ba7966d22873a6c8471656d90.jpg","text":"TemporaryFile(/tmp/multipartBody3072242831440229925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970485584,"filename":"image_13012025_12_01_16_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c9ced4a6d91537d45fe010f1f3eca8f9.jpg","text":"TemporaryFile(/tmp/multipartBody5711772492244078859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970485584,"filename":"image_13012025_11_58_55_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329210863","file1":"1329210843","file0":"1329210825","file4":"1329210866","file5":"1329210874","file3":"1329210864"},"map_files_photo_id_array":[{"photo_id":"1329210874","filename":"file5"},{"photo_id":"1329210863","filename":"file2"},{"photo_id":"1329210866","filename":"file4"},{"photo_id":"1329210843","filename":"file1"},{"photo_id":"1329210825","filename":"file0"},{"photo_id":"1329210864","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329210863":["hashtag1","hashtag2"]},{"1329210866":["hashtag1","hashtag2"]},{"1329210874":["hashtag1","hashtag2"]},{"1329210864":["hashtag1","hashtag2"]},{"1329210843":["hashtag1","hashtag2"]},{"1329210825":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329210863, 1329210866, 1329210874, 1329210864, 1329210843, 1329210825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.696860790252686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:47:42.589013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_28_2716.jpg', '/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_45_2753.jpg', '/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_46_3714.jpg', '/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_15_3656.jpg', '/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_06_2802.jpg', '/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_44_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/08/image_13012025_12_08_28_2716.jpg
/home/pi/Desktop/images/13012025/12/10/image_13012025_12_10_45_2753.jpg
/home/pi/Desktop/images/13012025/12/13/image_13012025_12_13_46_3714.jpg
/home/pi/Desktop/images/13012025/12/20/image_13012025_12_20_15_3656.jpg
/home/pi/Desktop/images/13012025/12/21/image_13012025_12_21_06_2802.jpg
/home/pi/Desktop/images/13012025/12/29/image_13012025_12_29_44_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329210947","1329210949","1329210958","1329210943","1329210951","1329210954"],"photo_ids_order":["1329210943","1329210947","1329210949","1329210951","1329210954","1329210958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf3882148d17b3ee0b4d1fc7b567b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4973157551019067589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970523815,"filename":"image_13012025_12_10_45_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4cd437594efc9e08694c3a89f4f53b0.jpg","text":"TemporaryFile(/tmp/multipartBody7187984614154306067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970523815,"filename":"image_13012025_12_13_46_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b9c43a81f9b99b750be980aaed02a2a5.jpg","text":"TemporaryFile(/tmp/multipartBody3922873926477673906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970523815,"filename":"image_13012025_12_29_44_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7213554edba802d01f172c7ac279f949.jpg","text":"TemporaryFile(/tmp/multipartBody8978847060762317239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970523815,"filename":"image_13012025_12_08_28_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7426666449b91f0fdf9994c92adb34f4.jpg","text":"TemporaryFile(/tmp/multipartBody7058031063990214731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970523815,"filename":"image_13012025_12_20_15_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c78a71be118c20968402aaf05abc8a0.jpg","text":"TemporaryFile(/tmp/multipartBody1176301347819188623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970523815,"filename":"image_13012025_12_21_06_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329210949","file1":"1329210947","file0":"1329210943","file4":"1329210954","file5":"1329210958","file3":"1329210951"},"map_files_photo_id_array":[{"photo_id":"1329210958","filename":"file5"},{"photo_id":"1329210949","filename":"file2"},{"photo_id":"1329210954","filename":"file4"},{"photo_id":"1329210947","filename":"file1"},{"photo_id":"1329210943","filename":"file0"},{"photo_id":"1329210951","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329210947":["hashtag1","hashtag2"]},{"1329210949":["hashtag1","hashtag2"]},{"1329210958":["hashtag1","hashtag2"]},{"1329210943":["hashtag1","hashtag2"]},{"1329210951":["hashtag1","hashtag2"]},{"1329210954":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329210947, 1329210949, 1329210958, 1329210943, 1329210951, 1329210954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09190487861633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:48:22.248139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_43_5875.jpg', '/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_09_1797.jpg', '/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_04_2778.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_30_2692.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_33_2815.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_37_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/30/image_13012025_12_30_43_5875.jpg
/home/pi/Desktop/images/13012025/12/33/image_13012025_12_33_09_1797.jpg
/home/pi/Desktop/images/13012025/12/40/image_13012025_12_40_04_2778.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_30_2692.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_33_2815.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_37_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211010","1329211007","1329210982","1329211000","1329211003","1329210998"],"photo_ids_order":["1329210982","1329210998","1329211000","1329211003","1329211007","1329211010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/61fcc9a6d6e40d26bcc4750b7872269d.jpg","text":"TemporaryFile(/tmp/multipartBody5319055971393631121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970565321,"filename":"image_13012025_12_43_37_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/507d3ccc874cede1f00e4a29ae952f65.jpg","text":"TemporaryFile(/tmp/multipartBody8387757675132978758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970565321,"filename":"image_13012025_12_43_33_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6154eb50b78479a845588362398d2587.jpg","text":"TemporaryFile(/tmp/multipartBody4240200034433787655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970565321,"filename":"image_13012025_12_30_43_5875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc290130aac0e5a619ff96870bb56412.jpg","text":"TemporaryFile(/tmp/multipartBody6462882254324299240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970565321,"filename":"image_13012025_12_40_04_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2acf1998fbc5756d246fd4fd0921f786.jpg","text":"TemporaryFile(/tmp/multipartBody145588269436430306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970565321,"filename":"image_13012025_12_43_30_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/81210da976099e507d2637e944bc7d14.jpg","text":"TemporaryFile(/tmp/multipartBody1151713685674311955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970565321,"filename":"image_13012025_12_33_09_1797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211000","file1":"1329210998","file0":"1329210982","file4":"1329211007","file5":"1329211010","file3":"1329211003"},"map_files_photo_id_array":[{"photo_id":"1329211010","filename":"file5"},{"photo_id":"1329211000","filename":"file2"},{"photo_id":"1329211007","filename":"file4"},{"photo_id":"1329210998","filename":"file1"},{"photo_id":"1329210982","filename":"file0"},{"photo_id":"1329211003","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211010":["hashtag1","hashtag2"]},{"1329211007":["hashtag1","hashtag2"]},{"1329210982":["hashtag1","hashtag2"]},{"1329211000":["hashtag1","hashtag2"]},{"1329211003":["hashtag1","hashtag2"]},{"1329210998":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211010, 1329211007, 1329210982, 1329211000, 1329211003, 1329210998)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.24187755584717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:49:24.024084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_39_2646.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_42_2577.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_45_3647.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_57_2783.jpg', '/home/pi/Desktop/images/13012025/12/43/image_13012025_12_44_00_2691.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_06_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_39_2646.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_42_2577.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_45_3647.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_43_57_2783.jpg
/home/pi/Desktop/images/13012025/12/43/image_13012025_12_44_00_2691.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_06_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211057","1329211059","1329211047","1329211052","1329211055","1329211049"],"photo_ids_order":["1329211047","1329211049","1329211052","1329211055","1329211057","1329211059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e2a1fc5e9e71e6d4cc25868277be5b5.jpg","text":"TemporaryFile(/tmp/multipartBody446057076389819264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970626881,"filename":"image_13012025_12_44_00_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00428f87bd09ef1fdd4de6544f8970cc.jpg","text":"TemporaryFile(/tmp/multipartBody8529263863631736346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970626881,"filename":"image_13012025_12_44_06_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cac7b37b8fcc1494f62422a0b99c4b54.jpg","text":"TemporaryFile(/tmp/multipartBody4028882083154542390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970626881,"filename":"image_13012025_12_43_39_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/138fb9ee5e14e03294c5fef38d7cced3.jpg","text":"TemporaryFile(/tmp/multipartBody2383747131321908917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970626881,"filename":"image_13012025_12_43_45_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/30ed63d9158fb589c8eda0f5c432507c.jpg","text":"TemporaryFile(/tmp/multipartBody982022275378087684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970626881,"filename":"image_13012025_12_43_57_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eedebb66fc8d64b6de44e5993db06cf2.jpg","text":"TemporaryFile(/tmp/multipartBody3557639820406685427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970626881,"filename":"image_13012025_12_43_42_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211052","file1":"1329211049","file0":"1329211047","file4":"1329211057","file5":"1329211059","file3":"1329211055"},"map_files_photo_id_array":[{"photo_id":"1329211059","filename":"file5"},{"photo_id":"1329211052","filename":"file2"},{"photo_id":"1329211057","filename":"file4"},{"photo_id":"1329211049","filename":"file1"},{"photo_id":"1329211047","filename":"file0"},{"photo_id":"1329211055","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211057":["hashtag1","hashtag2"]},{"1329211059":["hashtag1","hashtag2"]},{"1329211047":["hashtag1","hashtag2"]},{"1329211052":["hashtag1","hashtag2"]},{"1329211055":["hashtag1","hashtag2"]},{"1329211049":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211057, 1329211059, 1329211047, 1329211052, 1329211055, 1329211049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03550839424133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:50:02.730930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_09_2724.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_13_3607.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_15_2680.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_18_2615.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_21_2977.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_24_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_09_2724.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_13_3607.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_15_2680.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_18_2615.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_21_2977.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_24_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211112","1329211120","1329211125","1329211113","1329211142","1329211121"],"photo_ids_order":["1329211112","1329211113","1329211120","1329211121","1329211125","1329211142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0b92ffe8294b3b84d130b5c7388fe12e.jpg","text":"TemporaryFile(/tmp/multipartBody6805883503464898059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970664990,"filename":"image_13012025_12_44_09_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f712ef631d46f969245be8f05d2ced1.jpg","text":"TemporaryFile(/tmp/multipartBody1559334958616729138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970664990,"filename":"image_13012025_12_44_15_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ebcacdda5b38740678e40259798ff9a1.jpg","text":"TemporaryFile(/tmp/multipartBody1664888386598330732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970664990,"filename":"image_13012025_12_44_21_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/13ecc90e39104eb1baa24ae9a465be6e.jpg","text":"TemporaryFile(/tmp/multipartBody2584109990435931963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970664990,"filename":"image_13012025_12_44_13_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/49c3ce3e16b860bd9d79c382a91602e5.jpg","text":"TemporaryFile(/tmp/multipartBody5051747126032045828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970664990,"filename":"image_13012025_12_44_24_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33b83fe59ac51e800a7858c85fab1e86.jpg","text":"TemporaryFile(/tmp/multipartBody4177327321240826085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970664990,"filename":"image_13012025_12_44_18_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211120","file1":"1329211113","file0":"1329211112","file4":"1329211125","file5":"1329211142","file3":"1329211121"},"map_files_photo_id_array":[{"photo_id":"1329211142","filename":"file5"},{"photo_id":"1329211120","filename":"file2"},{"photo_id":"1329211125","filename":"file4"},{"photo_id":"1329211113","filename":"file1"},{"photo_id":"1329211112","filename":"file0"},{"photo_id":"1329211121","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211112":["hashtag1","hashtag2"]},{"1329211120":["hashtag1","hashtag2"]},{"1329211125":["hashtag1","hashtag2"]},{"1329211113":["hashtag1","hashtag2"]},{"1329211142":["hashtag1","hashtag2"]},{"1329211121":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211112, 1329211120, 1329211125, 1329211113, 1329211142, 1329211121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61479306221008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:50:42.096263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_27_2574.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_30_2755.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_33_3549.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_36_2649.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_39_2658.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_42_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_27_2574.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_30_2755.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_33_3549.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_36_2649.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_39_2658.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_42_3698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211322","1329211360","1329211351","1329211397","1329211292","1329211262"],"photo_ids_order":["1329211262","1329211292","1329211322","1329211351","1329211360","1329211397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8edc1738006548317743169df018c7a9.jpg","text":"TemporaryFile(/tmp/multipartBody7994761173437073320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970703341,"filename":"image_13012025_12_44_33_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/493a56291d8dfd08038dfdcb3f30b0a2.jpg","text":"TemporaryFile(/tmp/multipartBody2954566476651179995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970703341,"filename":"image_13012025_12_44_39_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c4d7204fc474c1e425765b8a1f73891.jpg","text":"TemporaryFile(/tmp/multipartBody2876024261920311977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970703341,"filename":"image_13012025_12_44_36_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64af769c0abb78a443475cf07eb29d2c.jpg","text":"TemporaryFile(/tmp/multipartBody61475930238872001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970703341,"filename":"image_13012025_12_44_42_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea30acb8bb2579439c90db02dc251a96.jpg","text":"TemporaryFile(/tmp/multipartBody7607586324411261935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970703341,"filename":"image_13012025_12_44_30_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22367479b1f92d59c070ea6890d6a0c5.jpg","text":"TemporaryFile(/tmp/multipartBody8964441206438435628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970703341,"filename":"image_13012025_12_44_27_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211322","file1":"1329211292","file0":"1329211262","file4":"1329211360","file5":"1329211397","file3":"1329211351"},"map_files_photo_id_array":[{"photo_id":"1329211397","filename":"file5"},{"photo_id":"1329211322","filename":"file2"},{"photo_id":"1329211360","filename":"file4"},{"photo_id":"1329211292","filename":"file1"},{"photo_id":"1329211262","filename":"file0"},{"photo_id":"1329211351","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211322":["hashtag1","hashtag2"]},{"1329211360":["hashtag1","hashtag2"]},{"1329211351":["hashtag1","hashtag2"]},{"1329211397":["hashtag1","hashtag2"]},{"1329211292":["hashtag1","hashtag2"]},{"1329211262":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211322, 1329211360, 1329211351, 1329211397, 1329211292, 1329211262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76986622810364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:51:22.450367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_45_2653.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_48_2695.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_52_3821.jpg', '/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_57_2627.jpg', '/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_12_1805.jpg', '/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_21_2933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_45_2653.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_48_2695.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_52_3821.jpg
/home/pi/Desktop/images/13012025/12/44/image_13012025_12_44_57_2627.jpg
/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_12_1805.jpg
/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_21_2933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211421","1329211409","1329211417","1329211401","1329211425","1329211412"],"photo_ids_order":["1329211401","1329211409","1329211412","1329211417","1329211421","1329211425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0630b99d076098ffcc88ea6e0bf9aa0.jpg","text":"TemporaryFile(/tmp/multipartBody7675993737723122583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970745560,"filename":"image_13012025_12_45_12_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/557c6e001df1f303d0db456c40f265e1.jpg","text":"TemporaryFile(/tmp/multipartBody5269312524528182261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970745560,"filename":"image_13012025_12_44_48_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8c4d6ed7cc324cc86ddc5a3437774c93.jpg","text":"TemporaryFile(/tmp/multipartBody3706709484814532357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970745560,"filename":"image_13012025_12_44_57_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/682cb7967cee82c8b7e128cbbc61a581.jpg","text":"TemporaryFile(/tmp/multipartBody8716209353011767875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970745560,"filename":"image_13012025_12_44_45_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a31d17ae8446b67f562d05a39d8038c9.jpg","text":"TemporaryFile(/tmp/multipartBody3167352495562276151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970745560,"filename":"image_13012025_12_45_21_2933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/39ea41bfe9384ef31e9e786ad98681d4.jpg","text":"TemporaryFile(/tmp/multipartBody5625762085067710334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970745560,"filename":"image_13012025_12_44_52_3821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211412","file1":"1329211409","file0":"1329211401","file4":"1329211421","file5":"1329211425","file3":"1329211417"},"map_files_photo_id_array":[{"photo_id":"1329211425","filename":"file5"},{"photo_id":"1329211412","filename":"file2"},{"photo_id":"1329211421","filename":"file4"},{"photo_id":"1329211409","filename":"file1"},{"photo_id":"1329211401","filename":"file0"},{"photo_id":"1329211417","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211421":["hashtag1","hashtag2"]},{"1329211409":["hashtag1","hashtag2"]},{"1329211417":["hashtag1","hashtag2"]},{"1329211401":["hashtag1","hashtag2"]},{"1329211425":["hashtag1","hashtag2"]},{"1329211412":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211421, 1329211409, 1329211417, 1329211401, 1329211425, 1329211412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82022953033447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:52:03.112428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_48_3658.jpg', '/home/pi/Desktop/images/13012025/12/46/image_13012025_12_46_15_2746.jpg', '/home/pi/Desktop/images/13012025/12/47/image_13012025_12_47_12_2808.jpg', '/home/pi/Desktop/images/13012025/12/48/image_13012025_12_48_33_2616.jpg', '/home/pi/Desktop/images/13012025/12/51/image_13012025_12_51_06_2842.jpg', '/home/pi/Desktop/images/13012025/12/53/image_13012025_12_53_59_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/45/image_13012025_12_45_48_3658.jpg
/home/pi/Desktop/images/13012025/12/46/image_13012025_12_46_15_2746.jpg
/home/pi/Desktop/images/13012025/12/47/image_13012025_12_47_12_2808.jpg
/home/pi/Desktop/images/13012025/12/48/image_13012025_12_48_33_2616.jpg
/home/pi/Desktop/images/13012025/12/51/image_13012025_12_51_06_2842.jpg
/home/pi/Desktop/images/13012025/12/53/image_13012025_12_53_59_2675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211447","1329211452","1329211446","1329211449","1329211440","1329211448"],"photo_ids_order":["1329211440","1329211446","1329211447","1329211448","1329211449","1329211452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5ddabefab7721f55efabc9dfea3d55fc.jpg","text":"TemporaryFile(/tmp/multipartBody7106808975226766312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970785464,"filename":"image_13012025_12_47_12_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b23ec9553150d4946b56e71dd8fd962a.jpg","text":"TemporaryFile(/tmp/multipartBody6083467794789668507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970785464,"filename":"image_13012025_12_53_59_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/15bb89972733b1718bda395039a6fba7.jpg","text":"TemporaryFile(/tmp/multipartBody8578911307350195230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970785464,"filename":"image_13012025_12_46_15_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59efb9dd47b904f84da3d9f150614ec4.jpg","text":"TemporaryFile(/tmp/multipartBody6949548300634628548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970785464,"filename":"image_13012025_12_51_06_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e66f121e4727e4cd7043e440004dd53e.jpg","text":"TemporaryFile(/tmp/multipartBody883083647126812599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970785464,"filename":"image_13012025_12_45_48_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/292b54e849f85507a6f303993942d170.jpg","text":"TemporaryFile(/tmp/multipartBody7970765533738366271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970785464,"filename":"image_13012025_12_48_33_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211447","file1":"1329211446","file0":"1329211440","file4":"1329211449","file5":"1329211452","file3":"1329211448"},"map_files_photo_id_array":[{"photo_id":"1329211452","filename":"file5"},{"photo_id":"1329211447","filename":"file2"},{"photo_id":"1329211449","filename":"file4"},{"photo_id":"1329211446","filename":"file1"},{"photo_id":"1329211440","filename":"file0"},{"photo_id":"1329211448","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211447":["hashtag1","hashtag2"]},{"1329211452":["hashtag1","hashtag2"]},{"1329211446":["hashtag1","hashtag2"]},{"1329211449":["hashtag1","hashtag2"]},{"1329211440":["hashtag1","hashtag2"]},{"1329211448":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211447, 1329211452, 1329211446, 1329211449, 1329211440, 1329211448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74763751029968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:52:42.596717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/54/image_13012025_12_54_23_2750.jpg', '/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_02_2576.jpg', '/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_38_2657.jpg', '/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_41_2859.jpg', '/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_44_3606.jpg', '/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_47_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/54/image_13012025_12_54_23_2750.jpg
/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_02_2576.jpg
/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_38_2657.jpg
/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_41_2859.jpg
/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_44_3606.jpg
/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_47_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211520","1329211492","1329211505","1329211507","1329211503","1329211457"],"photo_ids_order":["1329211457","1329211492","1329211503","1329211505","1329211507","1329211520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/177b089ed46a0381dada2ebb121e6716.jpg","text":"TemporaryFile(/tmp/multipartBody901491047363005078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970823883,"filename":"image_13012025_12_55_47_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb201a25981098255938c1bc0ddb83e6.jpg","text":"TemporaryFile(/tmp/multipartBody3436734589960779731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970823883,"filename":"image_13012025_12_55_02_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d6ac6aa03a93f7af8570a6277f7e12b8.jpg","text":"TemporaryFile(/tmp/multipartBody87210420821395844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970823883,"filename":"image_13012025_12_55_41_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f9a5ee8b47c2ec38468a1145f1d6cb6.jpg","text":"TemporaryFile(/tmp/multipartBody1917589164415279082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970823883,"filename":"image_13012025_12_55_44_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3b1b3dd98e5169dd16f4daa635b547db.jpg","text":"TemporaryFile(/tmp/multipartBody951794613329101176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970823883,"filename":"image_13012025_12_55_38_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c29bc301d058335fdf4d7183105ff72.jpg","text":"TemporaryFile(/tmp/multipartBody2870142354230058246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970823883,"filename":"image_13012025_12_54_23_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211503","file1":"1329211492","file0":"1329211457","file4":"1329211507","file5":"1329211520","file3":"1329211505"},"map_files_photo_id_array":[{"photo_id":"1329211520","filename":"file5"},{"photo_id":"1329211503","filename":"file2"},{"photo_id":"1329211507","filename":"file4"},{"photo_id":"1329211492","filename":"file1"},{"photo_id":"1329211457","filename":"file0"},{"photo_id":"1329211505","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211520":["hashtag1","hashtag2"]},{"1329211492":["hashtag1","hashtag2"]},{"1329211505":["hashtag1","hashtag2"]},{"1329211507":["hashtag1","hashtag2"]},{"1329211503":["hashtag1","hashtag2"]},{"1329211457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211520, 1329211492, 1329211505, 1329211507, 1329211503, 1329211457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26999759674072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:53:21.844661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_56_2624.jpg', '/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_58_2755.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_02_3614.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_05_2596.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_08_3568.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_11_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_56_2624.jpg
/home/pi/Desktop/images/13012025/12/55/image_13012025_12_55_58_2755.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_02_3614.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_05_2596.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_08_3568.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_11_2530.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211573","1329211567","1329211576","1329211561","1329211564","1329211559"],"photo_ids_order":["1329211559","1329211561","1329211564","1329211567","1329211573","1329211576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5191ae5ddc125364e9416419a10a12f.jpg","text":"TemporaryFile(/tmp/multipartBody9212152981032475645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970864768,"filename":"image_13012025_12_56_08_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb39c39ace565f5f5156b2e532238367.jpg","text":"TemporaryFile(/tmp/multipartBody6849529557185707734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970864768,"filename":"image_13012025_12_56_05_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a13694436033307a08c841e1164f28ab.jpg","text":"TemporaryFile(/tmp/multipartBody7376821348148822433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970864768,"filename":"image_13012025_12_56_11_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc8e986957e931db3031ff7ea58704a0.jpg","text":"TemporaryFile(/tmp/multipartBody4472597487426234902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970864768,"filename":"image_13012025_12_55_58_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/686180e7a5cac0830537247e5af63edc.jpg","text":"TemporaryFile(/tmp/multipartBody4177788715159603858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970864768,"filename":"image_13012025_12_56_02_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8a05fb9cb38215626e096fc36ef2cdb.jpg","text":"TemporaryFile(/tmp/multipartBody2326399511955772394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970864768,"filename":"image_13012025_12_55_56_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211564","file1":"1329211561","file0":"1329211559","file4":"1329211573","file5":"1329211576","file3":"1329211567"},"map_files_photo_id_array":[{"photo_id":"1329211576","filename":"file5"},{"photo_id":"1329211564","filename":"file2"},{"photo_id":"1329211573","filename":"file4"},{"photo_id":"1329211561","filename":"file1"},{"photo_id":"1329211559","filename":"file0"},{"photo_id":"1329211567","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211573":["hashtag1","hashtag2"]},{"1329211567":["hashtag1","hashtag2"]},{"1329211576":["hashtag1","hashtag2"]},{"1329211561":["hashtag1","hashtag2"]},{"1329211564":["hashtag1","hashtag2"]},{"1329211559":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211573, 1329211567, 1329211576, 1329211561, 1329211564, 1329211559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00565981864929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:54:02.589860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_14_2854.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_17_3609.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_23_2862.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_26_3607.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_29_2640.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_32_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_14_2854.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_17_3609.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_23_2862.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_26_3607.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_29_2640.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_32_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211591","1329211585","1329211582","1329211584","1329211587","1329211583"],"photo_ids_order":["1329211582","1329211583","1329211584","1329211585","1329211587","1329211591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e228a816bc42c8ffa9bf2e910d16fe43.jpg","text":"TemporaryFile(/tmp/multipartBody5660789992530278090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970905029,"filename":"image_13012025_12_56_32_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87a939a9283b0340792b0c8f2e061eff.jpg","text":"TemporaryFile(/tmp/multipartBody4499876773445532951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970905029,"filename":"image_13012025_12_56_26_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e248a6a3dc15d1702a66eecbd7815cdb.jpg","text":"TemporaryFile(/tmp/multipartBody5435855475713098482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970905029,"filename":"image_13012025_12_56_14_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b4e0fa4a1f2a44a4ac3ef066712c35db.jpg","text":"TemporaryFile(/tmp/multipartBody3825008013178246086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970905029,"filename":"image_13012025_12_56_23_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40914c3a11bce4438f8d120039fbc53c.jpg","text":"TemporaryFile(/tmp/multipartBody27299892639241931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970905029,"filename":"image_13012025_12_56_29_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/20e484b8231d5cd905d83c3fa490a27e.jpg","text":"TemporaryFile(/tmp/multipartBody4180440684638929718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970905029,"filename":"image_13012025_12_56_17_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211584","file1":"1329211583","file0":"1329211582","file4":"1329211587","file5":"1329211591","file3":"1329211585"},"map_files_photo_id_array":[{"photo_id":"1329211591","filename":"file5"},{"photo_id":"1329211584","filename":"file2"},{"photo_id":"1329211587","filename":"file4"},{"photo_id":"1329211583","filename":"file1"},{"photo_id":"1329211582","filename":"file0"},{"photo_id":"1329211585","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211591":["hashtag1","hashtag2"]},{"1329211585":["hashtag1","hashtag2"]},{"1329211582":["hashtag1","hashtag2"]},{"1329211584":["hashtag1","hashtag2"]},{"1329211587":["hashtag1","hashtag2"]},{"1329211583":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211591, 1329211585, 1329211582, 1329211584, 1329211587, 1329211583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83910012245178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:54:41.937414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_35_3677.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_38_2666.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_40_2573.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_44_3728.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_47_2915.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_50_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_35_3677.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_38_2666.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_40_2573.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_44_3728.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_47_2915.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_50_2587.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3224236965179443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:55:02.867233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_35_3677.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_38_2666.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_40_2573.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_44_3728.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_47_2915.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_50_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_35_3677.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_38_2666.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_40_2573.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_44_3728.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_47_2915.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_50_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211709","1329211699","1329211669","1329211618","1329211737","1329211623"],"photo_ids_order":["1329211618","1329211623","1329211669","1329211699","1329211709","1329211737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b96d2cfc091be89cdf0f577b6b7426ca.jpg","text":"TemporaryFile(/tmp/multipartBody8478404692159049129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970965258,"filename":"image_13012025_12_56_47_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5affbe0bc9ad1954ce228af0b6ff0a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4390963413712123179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970965258,"filename":"image_13012025_12_56_44_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e3b55e6518b8bd90782a633135d3b7e.jpg","text":"TemporaryFile(/tmp/multipartBody7365475682194224759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970965258,"filename":"image_13012025_12_56_40_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2dde59e9d48cb661739fc02b8be37d31.jpg","text":"TemporaryFile(/tmp/multipartBody4076457539846430139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970965258,"filename":"image_13012025_12_56_35_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28abb7a82a2056d9815541ab565b7ed3.jpg","text":"TemporaryFile(/tmp/multipartBody3056080459187595908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970965258,"filename":"image_13012025_12_56_50_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c292bb11cd3b10f09dfadfcddc45450e.jpg","text":"TemporaryFile(/tmp/multipartBody8700331818992389161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736970965258,"filename":"image_13012025_12_56_38_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211669","file1":"1329211623","file0":"1329211618","file4":"1329211709","file5":"1329211737","file3":"1329211699"},"map_files_photo_id_array":[{"photo_id":"1329211737","filename":"file5"},{"photo_id":"1329211669","filename":"file2"},{"photo_id":"1329211709","filename":"file4"},{"photo_id":"1329211623","filename":"file1"},{"photo_id":"1329211618","filename":"file0"},{"photo_id":"1329211699","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211709":["hashtag1","hashtag2"]},{"1329211699":["hashtag1","hashtag2"]},{"1329211669":["hashtag1","hashtag2"]},{"1329211618":["hashtag1","hashtag2"]},{"1329211737":["hashtag1","hashtag2"]},{"1329211623":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211709, 1329211699, 1329211669, 1329211618, 1329211737, 1329211623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26807618141174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 20:55:42.146781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_52_2757.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_56_3791.jpg', '/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_59_2888.jpg', '/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_02_2703.jpg', '/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_05_2776.jpg', '/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_08_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_52_2757.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_56_3791.jpg
/home/pi/Desktop/images/13012025/12/56/image_13012025_12_56_59_2888.jpg
/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_02_2703.jpg
/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_05_2776.jpg
/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_08_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211743","1329211746","1329211749","1329211754","1329211757","1329211751"],"photo_ids_order":["1329211743","1329211746","1329211749","1329211751","1329211754","1329211757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/025e2e5ac18c53ba763e790b03e4aff3.jpg","text":"TemporaryFile(/tmp/multipartBody3615178787273861538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971003425,"filename":"image_13012025_12_56_52_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22ad67d7446cee33727edddb2a365468.jpg","text":"TemporaryFile(/tmp/multipartBody1486222091821658183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971003425,"filename":"image_13012025_12_56_56_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f398e391275e676196011a8bafa5bd22.jpg","text":"TemporaryFile(/tmp/multipartBody7768342509142841784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971003425,"filename":"image_13012025_12_56_59_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5f507d09b4e01bc6113f3d74bfcf0e1.jpg","text":"TemporaryFile(/tmp/multipartBody2292450197633615019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971003425,"filename":"image_13012025_12_57_05_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a343badead437396a182d3d6f246694.jpg","text":"TemporaryFile(/tmp/multipartBody3534622792582722606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971003425,"filename":"image_13012025_12_57_08_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f76c715b83d328d2e8bbee96e32419ee.jpg","text":"TemporaryFile(/tmp/multipartBody3546307573673288451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971003425,"filename":"image_13012025_12_57_02_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211749","file1":"1329211746","file0":"1329211743","file4":"1329211754","file5":"1329211757","file3":"1329211751"},"map_files_photo_id_array":[{"photo_id":"1329211757","filename":"file5"},{"photo_id":"1329211749","filename":"file2"},{"photo_id":"1329211754","filename":"file4"},{"photo_id":"1329211746","filename":"file1"},{"photo_id":"1329211743","filename":"file0"},{"photo_id":"1329211751","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211743":["hashtag1","hashtag2"]},{"1329211746":["hashtag1","hashtag2"]},{"1329211749":["hashtag1","hashtag2"]},{"1329211754":["hashtag1","hashtag2"]},{"1329211757":["hashtag1","hashtag2"]},{"1329211751":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211743, 1329211746, 1329211749, 1329211754, 1329211757, 1329211751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09161448478699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 20:56:22.543940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_17_3687.jpg', '/home/pi/Desktop/images/13012025/12/58/image_13012025_12_58_20_3632.jpg', '/home/pi/Desktop/images/13012025/12/58/image_13012025_12_58_29_3612.jpg', '/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_14_3635.jpg', '/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_46_2671.jpg', '/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_34_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/12/57/image_13012025_12_57_17_3687.jpg
/home/pi/Desktop/images/13012025/12/58/image_13012025_12_58_20_3632.jpg
/home/pi/Desktop/images/13012025/12/58/image_13012025_12_58_29_3612.jpg
/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_14_3635.jpg
/home/pi/Desktop/images/13012025/12/59/image_13012025_12_59_46_2671.jpg
/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_34_2553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211786","1329211779","1329211770","1329211772","1329211775","1329211802"],"photo_ids_order":["1329211770","1329211772","1329211775","1329211779","1329211786","1329211802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a1cfa298d8b1b627ffff00653751f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1285901054361172075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971045590,"filename":"image_13012025_12_59_46_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ef464176115831eb46cd1e0535202f6.jpg","text":"TemporaryFile(/tmp/multipartBody5695587922298917564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971045590,"filename":"image_13012025_12_59_14_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fcb659783ecf9b3c281d0b7b987e89ca.jpg","text":"TemporaryFile(/tmp/multipartBody5918841346932031498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971045590,"filename":"image_13012025_12_57_17_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e59d343cadad0c675f9521d574fd4c8a.jpg","text":"TemporaryFile(/tmp/multipartBody8739288468003713434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971045590,"filename":"image_13012025_12_58_20_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/85618556b449ac396383a2d6758c396a.jpg","text":"TemporaryFile(/tmp/multipartBody4996903751497187662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971045590,"filename":"image_13012025_12_58_29_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7bf53529136ec8356344a7b356f4dae6.jpg","text":"TemporaryFile(/tmp/multipartBody5228090942873326289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971045590,"filename":"image_13012025_13_00_34_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211775","file1":"1329211772","file0":"1329211770","file4":"1329211786","file5":"1329211802","file3":"1329211779"},"map_files_photo_id_array":[{"photo_id":"1329211802","filename":"file5"},{"photo_id":"1329211775","filename":"file2"},{"photo_id":"1329211786","filename":"file4"},{"photo_id":"1329211772","filename":"file1"},{"photo_id":"1329211770","filename":"file0"},{"photo_id":"1329211779","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211786":["hashtag1","hashtag2"]},{"1329211779":["hashtag1","hashtag2"]},{"1329211770":["hashtag1","hashtag2"]},{"1329211772":["hashtag1","hashtag2"]},{"1329211775":["hashtag1","hashtag2"]},{"1329211802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211786, 1329211779, 1329211770, 1329211772, 1329211775, 1329211802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.373331785202026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:57:02.966507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_43_2530.jpg', '/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_55_2801.jpg', '/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_58_2724.jpg', '/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_3787.jpg', '/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_04_2669.jpg', '/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_07_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_43_2530.jpg
/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_55_2801.jpg
/home/pi/Desktop/images/13012025/13/00/image_13012025_13_00_58_2724.jpg
/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_02_3787.jpg
/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_04_2669.jpg
/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_07_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329211826","1329211825","1329211839","1329211830","1329211827","1329211841"],"photo_ids_order":["1329211825","1329211826","1329211827","1329211830","1329211839","1329211841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14f7c06d2fe614b334f6dbb88998835e.jpg","text":"TemporaryFile(/tmp/multipartBody5345739023729496901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971085446,"filename":"image_13012025_13_00_55_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4a8859a035af2c8ed7d31503003a795a.jpg","text":"TemporaryFile(/tmp/multipartBody1773814001462264092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971085446,"filename":"image_13012025_13_00_43_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3f3585717b2a39d5ca07c3edbaed4058.jpg","text":"TemporaryFile(/tmp/multipartBody9153554138801052599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971085446,"filename":"image_13012025_13_01_04_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4756a0f7dad1f64f9dfad3a18c0374f2.jpg","text":"TemporaryFile(/tmp/multipartBody5957587901106274002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971085446,"filename":"image_13012025_13_01_02_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0f341c02a174ab51412641afb93ad34.jpg","text":"TemporaryFile(/tmp/multipartBody3772589552773354167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971085446,"filename":"image_13012025_13_00_58_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b443aa43f0f00017949abcabfc119622.jpg","text":"TemporaryFile(/tmp/multipartBody2243213194617906212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971085446,"filename":"image_13012025_13_01_07_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329211827","file1":"1329211826","file0":"1329211825","file4":"1329211839","file5":"1329211841","file3":"1329211830"},"map_files_photo_id_array":[{"photo_id":"1329211841","filename":"file5"},{"photo_id":"1329211827","filename":"file2"},{"photo_id":"1329211839","filename":"file4"},{"photo_id":"1329211826","filename":"file1"},{"photo_id":"1329211825","filename":"file0"},{"photo_id":"1329211830","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329211826":["hashtag1","hashtag2"]},{"1329211825":["hashtag1","hashtag2"]},{"1329211839":["hashtag1","hashtag2"]},{"1329211830":["hashtag1","hashtag2"]},{"1329211827":["hashtag1","hashtag2"]},{"1329211841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329211826, 1329211825, 1329211839, 1329211830, 1329211827, 1329211841)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.51201844215393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 20:59:03.509343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_11_3696.jpg', '/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_3685.jpg', '/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_34_2749.jpg', '/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_37_3691.jpg', '/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_40_2569.jpg', '/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_46_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/01/image_13012025_13_01_11_3696.jpg
/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_02_3685.jpg
/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_34_2749.jpg
/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_37_3691.jpg
/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_40_2569.jpg
/home/pi/Desktop/images/13012025/13/02/image_13012025_13_02_46_3756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212029","1329212020","1329212023","1329212013","1329212027","1329212003"],"photo_ids_order":["1329212003","1329212013","1329212020","1329212023","1329212027","1329212029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eed67de01947d51b0ce34328b31d3df1.jpg","text":"TemporaryFile(/tmp/multipartBody7965446156078617022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971206139,"filename":"image_13012025_13_02_46_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da921b50df596e52591f0925efc2d01d.jpg","text":"TemporaryFile(/tmp/multipartBody1996536349383771402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971206139,"filename":"image_13012025_13_02_34_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/911353627f01955f96de8982dacd2ca7.jpg","text":"TemporaryFile(/tmp/multipartBody4006692415477481757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971206139,"filename":"image_13012025_13_02_37_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ef327ac678beb5fcba624fef8ebaba9c.jpg","text":"TemporaryFile(/tmp/multipartBody1922066403462070432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971206139,"filename":"image_13012025_13_02_02_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f569beabefc93d709c795b35623d093.jpg","text":"TemporaryFile(/tmp/multipartBody7055456108890368011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971206139,"filename":"image_13012025_13_02_40_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a7fad57fa12315b3c6f06043793c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1390418814472647678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971206139,"filename":"image_13012025_13_01_11_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212020","file1":"1329212013","file0":"1329212003","file4":"1329212027","file5":"1329212029","file3":"1329212023"},"map_files_photo_id_array":[{"photo_id":"1329212029","filename":"file5"},{"photo_id":"1329212020","filename":"file2"},{"photo_id":"1329212027","filename":"file4"},{"photo_id":"1329212013","filename":"file1"},{"photo_id":"1329212003","filename":"file0"},{"photo_id":"1329212023","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329212029":["hashtag1","hashtag2"]},{"1329212020":["hashtag1","hashtag2"]},{"1329212023":["hashtag1","hashtag2"]},{"1329212013":["hashtag1","hashtag2"]},{"1329212027":["hashtag1","hashtag2"]},{"1329212003":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329212029, 1329212020, 1329212023, 1329212013, 1329212027, 1329212003)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.40929055213928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:00:02.994050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_34_2666.jpg', '/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_04_2698.jpg', '/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_10_2663.jpg', '/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_13_2601.jpg', '/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_16_3670.jpg', '/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_19_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/03/image_13012025_13_03_34_2666.jpg
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_04_2698.jpg
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_10_2663.jpg
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_13_2601.jpg
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_16_3670.jpg
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_19_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212047","1329212052","1329212049","1329212043","1329212045","1329212054"],"photo_ids_order":["1329212043","1329212045","1329212047","1329212049","1329212052","1329212054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0982bbfc72a86cd24b78e0ffc76040e8.jpg","text":"TemporaryFile(/tmp/multipartBody3123191337674992008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971265344,"filename":"image_13012025_13_04_10_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84c7198a9f0055564701d64be7b3231e.jpg","text":"TemporaryFile(/tmp/multipartBody3463778231772578507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971265344,"filename":"image_13012025_13_04_16_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bcdef0fb5537c46bc0549354a3c6810a.jpg","text":"TemporaryFile(/tmp/multipartBody2165380977434488297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971265344,"filename":"image_13012025_13_04_13_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/315439ecca7bb4f12f6f4c36415a8374.jpg","text":"TemporaryFile(/tmp/multipartBody7724939370654914256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971265344,"filename":"image_13012025_13_03_34_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c68c5a82ec236154c19fe4d77bc26005.jpg","text":"TemporaryFile(/tmp/multipartBody4189089421595097392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971265344,"filename":"image_13012025_13_04_04_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/30229dc19183be077d0e014e1719a503.jpg","text":"TemporaryFile(/tmp/multipartBody8244946431134344302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971265344,"filename":"image_13012025_13_04_19_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212047","file1":"1329212045","file0":"1329212043","file4":"1329212052","file5":"1329212054","file3":"1329212049"},"map_files_photo_id_array":[{"photo_id":"1329212054","filename":"file5"},{"photo_id":"1329212047","filename":"file2"},{"photo_id":"1329212052","filename":"file4"},{"photo_id":"1329212045","filename":"file1"},{"photo_id":"1329212043","filename":"file0"},{"photo_id":"1329212049","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329212047":["hashtag1","hashtag2"]},{"1329212052":["hashtag1","hashtag2"]},{"1329212049":["hashtag1","hashtag2"]},{"1329212043":["hashtag1","hashtag2"]},{"1329212045":["hashtag1","hashtag2"]},{"1329212054":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329212047, 1329212052, 1329212049, 1329212043, 1329212045, 1329212054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74950981140137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:00:42.329604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_22_2855.jpg', '/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_25_2654.jpg', '/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_55_2753.jpg', '/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_18_2628.jpg', '/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_03_3890.jpg', '/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_06_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_22_2855.jpg
/home/pi/Desktop/images/13012025/13/04/image_13012025_13_04_25_2654.jpg
/home/pi/Desktop/images/13012025/13/06/image_13012025_13_06_55_2753.jpg
/home/pi/Desktop/images/13012025/13/07/image_13012025_13_07_18_2628.jpg
/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_03_3890.jpg
/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_06_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212079","1329212073","1329212067","1329212082","1329212076","1329212078"],"photo_ids_order":["1329212067","1329212073","1329212076","1329212078","1329212079","1329212082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59e481ac85e7ebbfc4f77e170d30c8a7.jpg","text":"TemporaryFile(/tmp/multipartBody6335562816905726859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971303594,"filename":"image_13012025_13_18_03_3890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a9bd188b26ce6f128093a806826dd142.jpg","text":"TemporaryFile(/tmp/multipartBody6464440041990669935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971303594,"filename":"image_13012025_13_04_25_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2bc47a1af39b4deec1135f6e0c0bd99a.jpg","text":"TemporaryFile(/tmp/multipartBody880956908949313309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971303594,"filename":"image_13012025_13_04_22_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/427369e445385d026f28808f701f6d9b.jpg","text":"TemporaryFile(/tmp/multipartBody8373288902622319930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971303594,"filename":"image_13012025_13_18_06_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3436b2b242f40e9f536c20951dbc8163.jpg","text":"TemporaryFile(/tmp/multipartBody5944157553379223629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971303594,"filename":"image_13012025_13_06_55_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e574c43f8e33c8cf2d0692d165902a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8869298411361492595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971303594,"filename":"image_13012025_13_07_18_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212076","file1":"1329212073","file0":"1329212067","file4":"1329212079","file5":"1329212082","file3":"1329212078"},"map_files_photo_id_array":[{"photo_id":"1329212082","filename":"file5"},{"photo_id":"1329212076","filename":"file2"},{"photo_id":"1329212079","filename":"file4"},{"photo_id":"1329212073","filename":"file1"},{"photo_id":"1329212067","filename":"file0"},{"photo_id":"1329212078","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329212079":["hashtag1","hashtag2"]},{"1329212073":["hashtag1","hashtag2"]},{"1329212067":["hashtag1","hashtag2"]},{"1329212082":["hashtag1","hashtag2"]},{"1329212076":["hashtag1","hashtag2"]},{"1329212078":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329212079, 1329212073, 1329212067, 1329212082, 1329212076, 1329212078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49760961532593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:01:22.092335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_09_2745.jpg', '/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_50_2921.jpg', '/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_11_2606.jpg', '/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_47_2536.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_05_2602.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_23_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/18/image_13012025_13_18_09_2745.jpg
/home/pi/Desktop/images/13012025/13/20/image_13012025_13_20_50_2921.jpg
/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_11_2606.jpg
/home/pi/Desktop/images/13012025/13/21/image_13012025_13_21_47_2536.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_05_2602.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_23_3642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212143","1329212110","1329212091","1329212241","1329212319","1329212392"],"photo_ids_order":["1329212091","1329212110","1329212143","1329212241","1329212319","1329212392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d41ee75e36ed08d912b34a926c90ae7e.jpg","text":"TemporaryFile(/tmp/multipartBody8555523710486408781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971344991,"filename":"image_13012025_13_21_11_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/453f614c574b36b2470deaf926c9fc50.jpg","text":"TemporaryFile(/tmp/multipartBody3048749139210914583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971344991,"filename":"image_13012025_13_20_50_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b83f20b99f92576d1372d94eacbd62f2.jpg","text":"TemporaryFile(/tmp/multipartBody2229455697308712380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971344991,"filename":"image_13012025_13_18_09_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/27a06b2b11a5e7392d95583b654ce281.jpg","text":"TemporaryFile(/tmp/multipartBody3439506551884402534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971344991,"filename":"image_13012025_13_21_47_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b0a0947e654a274feb498a56ffba4c8.jpg","text":"TemporaryFile(/tmp/multipartBody5578444283678818772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971344991,"filename":"image_13012025_13_22_05_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/90396d7bb1254f54163f957789e8ce01.jpg","text":"TemporaryFile(/tmp/multipartBody9176820971837792693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971344991,"filename":"image_13012025_13_22_23_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212143","file1":"1329212110","file0":"1329212091","file4":"1329212319","file5":"1329212392","file3":"1329212241"},"map_files_photo_id_array":[{"photo_id":"1329212392","filename":"file5"},{"photo_id":"1329212143","filename":"file2"},{"photo_id":"1329212319","filename":"file4"},{"photo_id":"1329212110","filename":"file1"},{"photo_id":"1329212091","filename":"file0"},{"photo_id":"1329212241","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329212143":["hashtag1","hashtag2"]},{"1329212110":["hashtag1","hashtag2"]},{"1329212091":["hashtag1","hashtag2"]},{"1329212241":["hashtag1","hashtag2"]},{"1329212319":["hashtag1","hashtag2"]},{"1329212392":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329212143, 1329212110, 1329212091, 1329212241, 1329212319, 1329212392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36038279533386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:02:03.078472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_26_2824.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_29_2701.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_33_3724.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_36_2885.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_53_2541.jpg', '/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_56_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_26_2824.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_29_2701.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_33_3724.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_36_2885.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_53_2541.jpg
/home/pi/Desktop/images/13012025/13/22/image_13012025_13_22_56_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212484","1329212532","1329212576","1329212465","1329212485","1329212464"],"photo_ids_order":["1329212464","1329212465","1329212484","1329212485","1329212532","1329212576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e953ec0d841f833bb1a235b7dc9b9241.jpg","text":"TemporaryFile(/tmp/multipartBody1140354639200034402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971385402,"filename":"image_13012025_13_22_33_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/26b1fa10deadeb89107b94e7ba9fffac.jpg","text":"TemporaryFile(/tmp/multipartBody2561888722365386792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971385402,"filename":"image_13012025_13_22_53_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/791c67b805789f10d90bc84e3ee438b8.jpg","text":"TemporaryFile(/tmp/multipartBody4065721395566916652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971385402,"filename":"image_13012025_13_22_56_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2509f1dc295e5915b8cc1f100a72c08b.jpg","text":"TemporaryFile(/tmp/multipartBody6487566779711236217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971385402,"filename":"image_13012025_13_22_29_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a51b0e4dec1a784a115e1b13701b1fcb.jpg","text":"TemporaryFile(/tmp/multipartBody1826198508858524987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971385402,"filename":"image_13012025_13_22_36_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d22a926f3d7f405d543d56c5c0bd2d54.jpg","text":"TemporaryFile(/tmp/multipartBody230407395658636486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971385402,"filename":"image_13012025_13_22_26_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212484","file1":"1329212465","file0":"1329212464","file4":"1329212532","file5":"1329212576","file3":"1329212485"},"map_files_photo_id_array":[{"photo_id":"1329212576","filename":"file5"},{"photo_id":"1329212484","filename":"file2"},{"photo_id":"1329212532","filename":"file4"},{"photo_id":"1329212465","filename":"file1"},{"photo_id":"1329212464","filename":"file0"},{"photo_id":"1329212485","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329212484":["hashtag1","hashtag2"]},{"1329212532":["hashtag1","hashtag2"]},{"1329212576":["hashtag1","hashtag2"]},{"1329212465":["hashtag1","hashtag2"]},{"1329212485":["hashtag1","hashtag2"]},{"1329212464":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329212484, 1329212532, 1329212576, 1329212465, 1329212485, 1329212464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74899506568909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:02:42.561706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/20/39/image_15012025_20_39_36_2640.jpg', '/home/pi/Desktop/images/15012025/21/02/image_15012025_21_02_26_2889.jpg', '/home/pi/Desktop/images/15012025/21/02/image_15012025_21_02_29_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/20/39/image_15012025_20_39_36_2640.jpg
/home/pi/Desktop/images/15012025/21/02/image_15012025_21_02_26_2889.jpg
/home/pi/Desktop/images/15012025/21/02/image_15012025_21_02_29_2821.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212595","1329212591","1329212651"],"photo_ids_order":["1329212591","1329212595","1329212651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/47a71c52b15797838814c9fa307cf2d1.jpg","text":"TemporaryFile(/tmp/multipartBody994274444059158689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971423193,"filename":"image_15012025_21_02_26_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e1ed4dd6b867e7ebfd3c5bea585825f8.jpg","text":"TemporaryFile(/tmp/multipartBody7085071695650624572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971423193,"filename":"image_15012025_20_39_36_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/407b6c8a649a7abf6f63fad079168290.jpg","text":"TemporaryFile(/tmp/multipartBody1561429825328227329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971423193,"filename":"image_15012025_21_02_29_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212651","file1":"1329212595","file0":"1329212591"},"map_files_photo_id_array":[{"photo_id":"1329212651","filename":"file2"},{"photo_id":"1329212595","filename":"file1"},{"photo_id":"1329212591","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329212595":["hashtag1","hashtag2"]},{"1329212591":["hashtag1","hashtag2"]},{"1329212651":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329212595, 1329212591, 1329212651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.30331540107727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:03:03.320914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_38_2755.jpg', '/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_50_2772.jpg', '/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_54_3700.jpg', '/home/pi/Desktop/images/13012025/13/32/image_13012025_13_32_14_3666.jpg', '/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_41_3660.jpg', '/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_20_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/27/image_13012025_13_27_38_2755.jpg
/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_50_2772.jpg
/home/pi/Desktop/images/13012025/13/30/image_13012025_13_30_54_3700.jpg
/home/pi/Desktop/images/13012025/13/32/image_13012025_13_32_14_3666.jpg
/home/pi/Desktop/images/13012025/13/34/image_13012025_13_34_41_3660.jpg
/home/pi/Desktop/images/13012025/13/37/image_13012025_13_37_20_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212719","1329212710","1329212713","1329212709","1329212711","1329212708"],"photo_ids_order":["1329212708","1329212709","1329212710","1329212711","1329212713","1329212719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2525b8660224c7818767141b182143c7.jpg","text":"TemporaryFile(/tmp/multipartBody6321505956847270022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971445703,"filename":"image_13012025_13_37_20_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4221cd633eab8c78ef2e808561fa9b21.jpg","text":"TemporaryFile(/tmp/multipartBody4644620255691831961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971445703,"filename":"image_13012025_13_30_54_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e6f3831ade1657612c03dc909432e3dd.jpg","text":"TemporaryFile(/tmp/multipartBody6393407153509602137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971445703,"filename":"image_13012025_13_34_41_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/295a4229e2640fdd6044ef05c9a51c76.jpg","text":"TemporaryFile(/tmp/multipartBody3584427949020061953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971445703,"filename":"image_13012025_13_30_50_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/849cf467ff95d00bfedc69f4446d3a58.jpg","text":"TemporaryFile(/tmp/multipartBody394242096576326942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971445703,"filename":"image_13012025_13_32_14_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc9c2b25418d08b033b5f87e4c3589d9.jpg","text":"TemporaryFile(/tmp/multipartBody1195352041205408804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971445703,"filename":"image_13012025_13_27_38_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212710","file1":"1329212709","file0":"1329212708","file4":"1329212713","file5":"1329212719","file3":"1329212711"},"map_files_photo_id_array":[{"photo_id":"1329212719","filename":"file5"},{"photo_id":"1329212710","filename":"file2"},{"photo_id":"1329212713","filename":"file4"},{"photo_id":"1329212709","filename":"file1"},{"photo_id":"1329212708","filename":"file0"},{"photo_id":"1329212711","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329212719":["hashtag1","hashtag2"]},{"1329212710":["hashtag1","hashtag2"]},{"1329212713":["hashtag1","hashtag2"]},{"1329212709":["hashtag1","hashtag2"]},{"1329212711":["hashtag1","hashtag2"]},{"1329212708":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329212719, 1329212710, 1329212713, 1329212709, 1329212711, 1329212708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.871819734573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:03:42.807775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_28_2626.jpg', '/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_55_2763.jpg', '/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_57_2773.jpg', '/home/pi/Desktop/images/13012025/13/43/image_13012025_13_44_01_3605.jpg', '/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_04_2654.jpg', '/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_07_2986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/42/image_13012025_13_42_28_2626.jpg
/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_55_2763.jpg
/home/pi/Desktop/images/13012025/13/43/image_13012025_13_43_57_2773.jpg
/home/pi/Desktop/images/13012025/13/43/image_13012025_13_44_01_3605.jpg
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_04_2654.jpg
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_07_2986.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212770","1329212772","1329212775","1329212751","1329212750","1329212768"],"photo_ids_order":["1329212750","1329212751","1329212768","1329212770","1329212772","1329212775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f315844f97d3dfe8b866cf675c776e1.jpg","text":"TemporaryFile(/tmp/multipartBody3635999717316904028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971484263,"filename":"image_13012025_13_44_01_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b44e80053d5f7b2ca7bdefc91abb304b.jpg","text":"TemporaryFile(/tmp/multipartBody8694770229673986481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971484263,"filename":"image_13012025_13_44_04_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58ea12c51e3d4f904f63ea74a4fe0bca.jpg","text":"TemporaryFile(/tmp/multipartBody4511358537926193405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971484263,"filename":"image_13012025_13_44_07_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9c0e401f841a5aaebe6f12a28c24b849.jpg","text":"TemporaryFile(/tmp/multipartBody2910891926026082218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971484263,"filename":"image_13012025_13_43_55_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4e733a497faa2458599fd32b0f6645f.jpg","text":"TemporaryFile(/tmp/multipartBody8916220355859558910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971484263,"filename":"image_13012025_13_42_28_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d22f8546288c94759c317c8800cd221.jpg","text":"TemporaryFile(/tmp/multipartBody7959451275736851773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971484263,"filename":"image_13012025_13_43_57_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212768","file1":"1329212751","file0":"1329212750","file4":"1329212772","file5":"1329212775","file3":"1329212770"},"map_files_photo_id_array":[{"photo_id":"1329212775","filename":"file5"},{"photo_id":"1329212768","filename":"file2"},{"photo_id":"1329212772","filename":"file4"},{"photo_id":"1329212751","filename":"file1"},{"photo_id":"1329212750","filename":"file0"},{"photo_id":"1329212770","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329212770":["hashtag1","hashtag2"]},{"1329212772":["hashtag1","hashtag2"]},{"1329212775":["hashtag1","hashtag2"]},{"1329212751":["hashtag1","hashtag2"]},{"1329212750":["hashtag1","hashtag2"]},{"1329212768":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329212770, 1329212772, 1329212775, 1329212751, 1329212750, 1329212768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.916029930114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:04:22.392526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_09_2726.jpg', '/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_13_3669.jpg', '/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_16_2585.jpg', '/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_19_2948.jpg', '/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_22_3592.jpg', '/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_27_2873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_09_2726.jpg
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_13_3669.jpg
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_16_2585.jpg
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_19_2948.jpg
/home/pi/Desktop/images/13012025/13/44/image_13012025_13_44_22_3592.jpg
/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_27_2873.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212796","1329212781","1329212798","1329212786","1329212801","1329212804"],"photo_ids_order":["1329212781","1329212786","1329212796","1329212798","1329212801","1329212804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ec57d82ae1bf318a7a98aabd59df156.jpg","text":"TemporaryFile(/tmp/multipartBody86512117141523245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971525370,"filename":"image_13012025_13_44_16_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ee7aa09d2aceb018c9fec03d7fcc9cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1294445279821356382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971525370,"filename":"image_13012025_13_44_09_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ce91bbf52efcb5f2120dcc4f8c47e4a.jpg","text":"TemporaryFile(/tmp/multipartBody6525395557471116946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971525370,"filename":"image_13012025_13_44_19_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40a75378b333f1b1522920367b2a079f.jpg","text":"TemporaryFile(/tmp/multipartBody5449883989427883529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971525370,"filename":"image_13012025_13_44_13_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ba99052b13dda2303c14ddb99beea3d2.jpg","text":"TemporaryFile(/tmp/multipartBody7125562788292190241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971525370,"filename":"image_13012025_13_44_22_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4b57cc29cc64fa67bd2e709b05192856.jpg","text":"TemporaryFile(/tmp/multipartBody6672305751935842791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971525370,"filename":"image_13012025_13_45_27_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212796","file1":"1329212786","file0":"1329212781","file4":"1329212801","file5":"1329212804","file3":"1329212798"},"map_files_photo_id_array":[{"photo_id":"1329212804","filename":"file5"},{"photo_id":"1329212796","filename":"file2"},{"photo_id":"1329212801","filename":"file4"},{"photo_id":"1329212786","filename":"file1"},{"photo_id":"1329212781","filename":"file0"},{"photo_id":"1329212798","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329212796":["hashtag1","hashtag2"]},{"1329212781":["hashtag1","hashtag2"]},{"1329212798":["hashtag1","hashtag2"]},{"1329212786":["hashtag1","hashtag2"]},{"1329212801":["hashtag1","hashtag2"]},{"1329212804":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329212796, 1329212781, 1329212798, 1329212786, 1329212801, 1329212804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15192890167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:05:03.232394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_52_2712.jpg', '/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_12_2679.jpg', '/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_22_2613.jpg', '/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_40_2765.jpg', '/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_42_2743.jpg', '/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_45_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/45/image_13012025_13_45_52_2712.jpg
/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_12_2679.jpg
/home/pi/Desktop/images/13012025/13/46/image_13012025_13_46_22_2613.jpg
/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_40_2765.jpg
/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_42_2743.jpg
/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_45_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212812","1329212809","1329212811","1329212822","1329212819","1329212810"],"photo_ids_order":["1329212809","1329212810","1329212811","1329212812","1329212819","1329212822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f98ab125d2ef2842b77ec2e7cca016b7.jpg","text":"TemporaryFile(/tmp/multipartBody6965152996731595680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971565699,"filename":"image_13012025_13_47_40_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/54c520c8abc4f1f6b3a1bd0f020f8fda.jpg","text":"TemporaryFile(/tmp/multipartBody7382078087120069805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971565699,"filename":"image_13012025_13_45_52_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea9a84aaad5db85f02fa596689debe46.jpg","text":"TemporaryFile(/tmp/multipartBody2000169260135472763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971565699,"filename":"image_13012025_13_46_22_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c43e5776c0936303e71e5fa1cfaa5051.jpg","text":"TemporaryFile(/tmp/multipartBody1470203133717114176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971565699,"filename":"image_13012025_13_47_45_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05134fd3cf317cc2b73d423bf545e5b3.jpg","text":"TemporaryFile(/tmp/multipartBody3758030651254810636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971565699,"filename":"image_13012025_13_47_42_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bd01a95ad0086e77353a7c8e31d399db.jpg","text":"TemporaryFile(/tmp/multipartBody4149024061946344972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971565699,"filename":"image_13012025_13_46_12_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329212811","file1":"1329212810","file0":"1329212809","file4":"1329212819","file5":"1329212822","file3":"1329212812"},"map_files_photo_id_array":[{"photo_id":"1329212822","filename":"file5"},{"photo_id":"1329212811","filename":"file2"},{"photo_id":"1329212819","filename":"file4"},{"photo_id":"1329212810","filename":"file1"},{"photo_id":"1329212809","filename":"file0"},{"photo_id":"1329212812","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329212812":["hashtag1","hashtag2"]},{"1329212809":["hashtag1","hashtag2"]},{"1329212811":["hashtag1","hashtag2"]},{"1329212822":["hashtag1","hashtag2"]},{"1329212819":["hashtag1","hashtag2"]},{"1329212810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329212812, 1329212809, 1329212811, 1329212822, 1329212819, 1329212810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23231053352356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:05:42.475319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/21/02/image_15012025_21_02_35_3029.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/21/02/image_15012025_21_02_35_3029.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329212838"],"photo_id":"1329212838","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92f0c1f4907b6f71369cf3f9dc98fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody8451128890599947176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971603015,"filename":"image_15012025_21_02_35_3029.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329212838"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329212838"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.763206720352173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:06:02.498250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_48_2826.jpg', '/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_01_6916.jpg', '/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_15_2815.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_02_2710.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_07_4893.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_09_1570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/47/image_13012025_13_47_48_2826.jpg
/home/pi/Desktop/images/13012025/13/52/image_13012025_13_52_01_6916.jpg
/home/pi/Desktop/images/13012025/13/53/image_13012025_13_53_15_2815.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_02_2710.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_07_4893.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_09_1570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329213027","1329213068","1329213050","1329213026","1329213008","1329213055"],"photo_ids_order":["1329213008","1329213026","1329213027","1329213050","1329213055","1329213068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7561881cfa2f9ed495b29171b48a2aa.jpg","text":"TemporaryFile(/tmp/multipartBody3697028143821754786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971624866,"filename":"image_13012025_13_53_15_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a795c9e0025746b2f5ba83236060d1be.jpg","text":"TemporaryFile(/tmp/multipartBody2296245941562712433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971624866,"filename":"image_13012025_13_55_09_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e763771b6700ee6fb9b18af55f0a0a00.jpg","text":"TemporaryFile(/tmp/multipartBody7946712098577858587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971624866,"filename":"image_13012025_13_55_02_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e780dd9ecb8b5f0b0043ca16f49dc8d7.jpg","text":"TemporaryFile(/tmp/multipartBody4871017733969256876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971624866,"filename":"image_13012025_13_52_01_6916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/974d1d845750ff11444deb1fec455172.jpg","text":"TemporaryFile(/tmp/multipartBody1542963285526384771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971624866,"filename":"image_13012025_13_47_48_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c5340bc82d77cf013191327846eefbde.jpg","text":"TemporaryFile(/tmp/multipartBody375907302251989322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971624866,"filename":"image_13012025_13_55_07_4893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329213027","file1":"1329213026","file0":"1329213008","file4":"1329213055","file5":"1329213068","file3":"1329213050"},"map_files_photo_id_array":[{"photo_id":"1329213068","filename":"file5"},{"photo_id":"1329213027","filename":"file2"},{"photo_id":"1329213055","filename":"file4"},{"photo_id":"1329213026","filename":"file1"},{"photo_id":"1329213008","filename":"file0"},{"photo_id":"1329213050","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329213027":["hashtag1","hashtag2"]},{"1329213068":["hashtag1","hashtag2"]},{"1329213050":["hashtag1","hashtag2"]},{"1329213026":["hashtag1","hashtag2"]},{"1329213008":["hashtag1","hashtag2"]},{"1329213055":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329213027, 1329213068, 1329213050, 1329213026, 1329213008, 1329213055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.553237199783325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:06:42.087533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/21/05/image_15012025_21_05_55_2721.jpg', '/home/pi/Desktop/images/15012025/21/06/image_15012025_21_06_01_5439.jpg', '/home/pi/Desktop/images/15012025/21/06/image_15012025_21_06_03_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/21/05/image_15012025_21_05_55_2721.jpg
/home/pi/Desktop/images/15012025/21/06/image_15012025_21_06_01_5439.jpg
/home/pi/Desktop/images/15012025/21/06/image_15012025_21_06_03_1744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329213474","1329213231","1329213115"],"photo_ids_order":["1329213115","1329213231","1329213474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c31a8075383384793aec2afdd4cc4fc7.jpg","text":"TemporaryFile(/tmp/multipartBody6609839012854728206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971662683,"filename":"image_15012025_21_06_03_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c28e21637161763ce025d88df18eb7f.jpg","text":"TemporaryFile(/tmp/multipartBody2396948186007450050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971662683,"filename":"image_15012025_21_06_01_5439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc52dd9c5682ea51b2cb5d1aa3661952.jpg","text":"TemporaryFile(/tmp/multipartBody5788033711112364131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971662683,"filename":"image_15012025_21_05_55_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329213474","file1":"1329213231","file0":"1329213115"},"map_files_photo_id_array":[{"photo_id":"1329213474","filename":"file2"},{"photo_id":"1329213231","filename":"file1"},{"photo_id":"1329213115","filename":"file0"}],"portfolio_id":19643171,"hashtag_by_photo_ids":[{"1329213474":["hashtag1","hashtag2"]},{"1329213231":["hashtag1","hashtag2"]},{"1329213115":["hashtag1","hashtag2"]}],"comms":"Portfolio 19643171 used, photo_id : ArrayBuffer(1329213474, 1329213231, 1329213115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.148195505142212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:07:22.445426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_11_2649.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_15_3557.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_18_2712.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_20_2673.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_24_3657.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_27_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_11_2649.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_15_3557.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_18_2712.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_20_2673.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_24_3657.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_27_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329213942","1329213953","1329213947","1329213962","1329213956","1329213959"],"photo_ids_order":["1329213942","1329213947","1329213953","1329213956","1329213959","1329213962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c6eb5cf1d4241da01158cc16338204f.jpg","text":"TemporaryFile(/tmp/multipartBody5975027433286793637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971705396,"filename":"image_13012025_13_55_11_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5a11863664015f91a9304057f69b01a.jpg","text":"TemporaryFile(/tmp/multipartBody3218002241524200225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971705396,"filename":"image_13012025_13_55_18_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a1c13c60c9fc421c198cd04c718c3ebb.jpg","text":"TemporaryFile(/tmp/multipartBody5444556278938654895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971705396,"filename":"image_13012025_13_55_15_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/650fea04554646858653c3ed1af144ae.jpg","text":"TemporaryFile(/tmp/multipartBody2067935489792347803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971705396,"filename":"image_13012025_13_55_27_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6ab0274cc0ef84737a5eec263c223634.jpg","text":"TemporaryFile(/tmp/multipartBody8129220788024977788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971705396,"filename":"image_13012025_13_55_20_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1516db55dadd64c0e28dcf6afc308dd.jpg","text":"TemporaryFile(/tmp/multipartBody7564017396796447794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971705396,"filename":"image_13012025_13_55_24_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329213953","file1":"1329213947","file0":"1329213942","file4":"1329213959","file5":"1329213962","file3":"1329213956"},"map_files_photo_id_array":[{"photo_id":"1329213962","filename":"file5"},{"photo_id":"1329213953","filename":"file2"},{"photo_id":"1329213959","filename":"file4"},{"photo_id":"1329213947","filename":"file1"},{"photo_id":"1329213942","filename":"file0"},{"photo_id":"1329213956","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329213942":["hashtag1","hashtag2"]},{"1329213953":["hashtag1","hashtag2"]},{"1329213947":["hashtag1","hashtag2"]},{"1329213962":["hashtag1","hashtag2"]},{"1329213956":["hashtag1","hashtag2"]},{"1329213959":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329213942, 1329213953, 1329213947, 1329213962, 1329213956, 1329213959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55193853378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:08:03.327816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_29_2758.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_32_2751.jpg', '/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_36_3706.jpg', '/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_57_3672.jpg', '/home/pi/Desktop/images/13012025/13/56/image_13012025_13_57_00_2762.jpg', '/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_18_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_29_2758.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_32_2751.jpg
/home/pi/Desktop/images/13012025/13/55/image_13012025_13_55_36_3706.jpg
/home/pi/Desktop/images/13012025/13/56/image_13012025_13_56_57_3672.jpg
/home/pi/Desktop/images/13012025/13/56/image_13012025_13_57_00_2762.jpg
/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_18_3564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329213969","1329214134","1329214241","1329214238","1329214001","1329214006"],"photo_ids_order":["1329213969","1329214001","1329214006","1329214134","1329214238","1329214241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd423552ab195d9f5bb8dbcae11dae56.jpg","text":"TemporaryFile(/tmp/multipartBody1359203182938784281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971745610,"filename":"image_13012025_13_55_29_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/46304cb346a45e290ad1f0bb2243eefc.jpg","text":"TemporaryFile(/tmp/multipartBody7340242316479216140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971745610,"filename":"image_13012025_13_56_57_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ef78bdc3140614835d9db3878bcd7955.jpg","text":"TemporaryFile(/tmp/multipartBody4721550585780915987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971745610,"filename":"image_13012025_13_59_18_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ed064a018f145c0569b853a56700c16b.jpg","text":"TemporaryFile(/tmp/multipartBody2092965044343456659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971745610,"filename":"image_13012025_13_57_00_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d929249d1ab8e774d087eb6733f724a.jpg","text":"TemporaryFile(/tmp/multipartBody2864864298327179780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971745610,"filename":"image_13012025_13_55_32_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22eb4cc579c1ed3cbe606a5224c70d68.jpg","text":"TemporaryFile(/tmp/multipartBody1378170806217766570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971745610,"filename":"image_13012025_13_55_36_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329214006","file1":"1329214001","file0":"1329213969","file4":"1329214238","file5":"1329214241","file3":"1329214134"},"map_files_photo_id_array":[{"photo_id":"1329214241","filename":"file5"},{"photo_id":"1329214006","filename":"file2"},{"photo_id":"1329214238","filename":"file4"},{"photo_id":"1329214001","filename":"file1"},{"photo_id":"1329213969","filename":"file0"},{"photo_id":"1329214134","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329213969":["hashtag1","hashtag2"]},{"1329214134":["hashtag1","hashtag2"]},{"1329214241":["hashtag1","hashtag2"]},{"1329214238":["hashtag1","hashtag2"]},{"1329214001":["hashtag1","hashtag2"]},{"1329214006":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329213969, 1329214134, 1329214241, 1329214238, 1329214001, 1329214006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93239402770996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:08:42.713645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_30_3692.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_11_3909.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_13_2534.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_16_2582.jpg', '/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_19_3629.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_28_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/13/59/image_13012025_13_59_30_3692.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_11_3909.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_13_2534.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_16_2582.jpg
/home/pi/Desktop/images/13012025/14/01/image_13012025_14_01_19_3629.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_28_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329214353","1329214311","1329214385","1329214373","1329214369","1329214321"],"photo_ids_order":["1329214311","1329214321","1329214353","1329214369","1329214373","1329214385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f32caaaefe311866aa082c8090cc5e50.jpg","text":"TemporaryFile(/tmp/multipartBody3709229806882934344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971783929,"filename":"image_13012025_14_01_13_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3ac5bbfcec8a6202a8aa38140a8f2d55.jpg","text":"TemporaryFile(/tmp/multipartBody2851018975669340402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971783929,"filename":"image_13012025_13_59_30_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5e0ca33f7a3a00fc928cc500f8f4c2b2.jpg","text":"TemporaryFile(/tmp/multipartBody5906320359857849282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971783929,"filename":"image_13012025_14_06_28_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/644d1ca789e322dd35fa508070e6c40f.jpg","text":"TemporaryFile(/tmp/multipartBody390107709094161054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971783929,"filename":"image_13012025_14_01_19_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea4a7ad320b21e2513f707999164817f.jpg","text":"TemporaryFile(/tmp/multipartBody602891641754604131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971783929,"filename":"image_13012025_14_01_16_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0171c36a1b5551603f2cebb1d8c027f.jpg","text":"TemporaryFile(/tmp/multipartBody2747112766050154652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971783929,"filename":"image_13012025_14_01_11_3909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329214353","file1":"1329214321","file0":"1329214311","file4":"1329214373","file5":"1329214385","file3":"1329214369"},"map_files_photo_id_array":[{"photo_id":"1329214385","filename":"file5"},{"photo_id":"1329214353","filename":"file2"},{"photo_id":"1329214373","filename":"file4"},{"photo_id":"1329214321","filename":"file1"},{"photo_id":"1329214311","filename":"file0"},{"photo_id":"1329214369","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329214353":["hashtag1","hashtag2"]},{"1329214311":["hashtag1","hashtag2"]},{"1329214385":["hashtag1","hashtag2"]},{"1329214373":["hashtag1","hashtag2"]},{"1329214369":["hashtag1","hashtag2"]},{"1329214321":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329214353, 1329214311, 1329214385, 1329214373, 1329214369, 1329214321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0494270324707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:09:22.700455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_39_2747.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_43_3617.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_46_2614.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_52_3800.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_55_2673.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_57_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_39_2747.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_43_3617.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_46_2614.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_52_3800.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_55_2673.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_57_2625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.9383890628814697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:09:42.712339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_39_2747.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_43_3617.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_46_2614.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_52_3800.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_55_2673.jpg', '/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_57_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_39_2747.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_43_3617.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_46_2614.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_52_3800.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_55_2673.jpg
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_06_57_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329214406","1329214409","1329214400","1329214403","1329214396","1329214411"],"photo_ids_order":["1329214396","1329214400","1329214403","1329214406","1329214409","1329214411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97eeedac45f63ed201b9f6937709d7bb.jpg","text":"TemporaryFile(/tmp/multipartBody151195743686514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971843857,"filename":"image_13012025_14_06_52_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a1396a78e1453e4c52245db705755cff.jpg","text":"TemporaryFile(/tmp/multipartBody9109154484077006404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971843857,"filename":"image_13012025_14_06_55_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c26b0197f459d1841f13af6bd7187d5d.jpg","text":"TemporaryFile(/tmp/multipartBody7761982074273243915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971843857,"filename":"image_13012025_14_06_43_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5302d27dc15aa56e9ebf34221a690131.jpg","text":"TemporaryFile(/tmp/multipartBody6952728711909066726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971843857,"filename":"image_13012025_14_06_46_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a59a0585b3659ac07950a23980c16c1.jpg","text":"TemporaryFile(/tmp/multipartBody6549684645067247701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971843857,"filename":"image_13012025_14_06_39_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1ca2e3da29a92e7c4686b198e6bc9246.jpg","text":"TemporaryFile(/tmp/multipartBody5545434829602556206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971843857,"filename":"image_13012025_14_06_57_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329214403","file1":"1329214400","file0":"1329214396","file4":"1329214409","file5":"1329214411","file3":"1329214406"},"map_files_photo_id_array":[{"photo_id":"1329214411","filename":"file5"},{"photo_id":"1329214403","filename":"file2"},{"photo_id":"1329214409","filename":"file4"},{"photo_id":"1329214400","filename":"file1"},{"photo_id":"1329214396","filename":"file0"},{"photo_id":"1329214406","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329214406":["hashtag1","hashtag2"]},{"1329214409":["hashtag1","hashtag2"]},{"1329214400":["hashtag1","hashtag2"]},{"1329214403":["hashtag1","hashtag2"]},{"1329214396":["hashtag1","hashtag2"]},{"1329214411":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329214406, 1329214409, 1329214400, 1329214403, 1329214396, 1329214411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8752920627594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:10:41.880772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/06/image_13012025_14_07_00_2771.jpg', '/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_04_3653.jpg', '/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_58_3738.jpg', '/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_06_2267.jpg', '/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_36_2789.jpg', '/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_06_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/06/image_13012025_14_07_00_2771.jpg
/home/pi/Desktop/images/13012025/14/07/image_13012025_14_07_04_3653.jpg
/home/pi/Desktop/images/13012025/14/08/image_13012025_14_08_58_3738.jpg
/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_06_2267.jpg
/home/pi/Desktop/images/13012025/14/10/image_13012025_14_10_36_2789.jpg
/home/pi/Desktop/images/13012025/14/11/image_13012025_14_11_06_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329214461","1329214445","1329214448","1329214433","1329214436","1329214458"],"photo_ids_order":["1329214433","1329214436","1329214445","1329214448","1329214458","1329214461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb283facb40fe0c2de098ae014fd7bef.jpg","text":"TemporaryFile(/tmp/multipartBody1492722317274345891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971903077,"filename":"image_13012025_14_11_06_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dddd30645b27a6ae2dda71953a6456b0.jpg","text":"TemporaryFile(/tmp/multipartBody8700123536800655738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971903077,"filename":"image_13012025_14_08_58_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd703cb5c3e04420abfc8a19a354b023.jpg","text":"TemporaryFile(/tmp/multipartBody911464407172530240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971903077,"filename":"image_13012025_14_10_06_2267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea9fa46fc345bccf7dc962bd3caabba1.jpg","text":"TemporaryFile(/tmp/multipartBody8064545699367024235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971903077,"filename":"image_13012025_14_07_00_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f503a906abe4b8c9ff8e2b55f002372e.jpg","text":"TemporaryFile(/tmp/multipartBody2624319077090043750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971903077,"filename":"image_13012025_14_07_04_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cea210c1b16ae2a4f22025ae33c22a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1639086632533941474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971903077,"filename":"image_13012025_14_10_36_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329214445","file1":"1329214436","file0":"1329214433","file4":"1329214458","file5":"1329214461","file3":"1329214448"},"map_files_photo_id_array":[{"photo_id":"1329214461","filename":"file5"},{"photo_id":"1329214445","filename":"file2"},{"photo_id":"1329214458","filename":"file4"},{"photo_id":"1329214436","filename":"file1"},{"photo_id":"1329214433","filename":"file0"},{"photo_id":"1329214448","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329214461":["hashtag1","hashtag2"]},{"1329214445":["hashtag1","hashtag2"]},{"1329214448":["hashtag1","hashtag2"]},{"1329214433":["hashtag1","hashtag2"]},{"1329214436":["hashtag1","hashtag2"]},{"1329214458":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329214461, 1329214445, 1329214448, 1329214433, 1329214436, 1329214458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50386333465576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:11:22.632177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/21/06/image_15012025_21_06_04_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/21/06/image_15012025_21_06_04_1663.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329214645"],"photo_id":"1329214645","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bea41503e2f0686a7e89194ac089da82.jpg","text":"TemporaryFile(/tmp/multipartBody3914260208241880289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971943161,"filename":"image_15012025_21_06_04_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329214645"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329214645"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.972033739089966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:11:42.541803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_36_2625.jpg', '/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_39_3631.jpg', '/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_51_2675.jpg', '/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_54_2722.jpg', '/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_57_2670.jpg', '/home/pi/Desktop/images/13012025/14/12/image_13012025_14_13_00_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_36_2625.jpg
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_39_3631.jpg
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_51_2675.jpg
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_54_2722.jpg
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_12_57_2670.jpg
/home/pi/Desktop/images/13012025/14/12/image_13012025_14_13_00_3649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329214764","1329214725","1329214766","1329214817","1329214774","1329214761"],"photo_ids_order":["1329214725","1329214761","1329214764","1329214766","1329214774","1329214817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1430faa3d76d7669e283b50f3fd2cfd7.jpg","text":"TemporaryFile(/tmp/multipartBody1008485122140762230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971963758,"filename":"image_13012025_14_12_51_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3787c86fbeeca93a56bb0f3824d16508.jpg","text":"TemporaryFile(/tmp/multipartBody8260392766671451922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971963758,"filename":"image_13012025_14_12_36_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9302e3ae057adcaa586f2216e6fabd48.jpg","text":"TemporaryFile(/tmp/multipartBody6073263846479335731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971963758,"filename":"image_13012025_14_12_54_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d7946192dedac0c4840da70590cbac7.jpg","text":"TemporaryFile(/tmp/multipartBody5751705271028102088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971963758,"filename":"image_13012025_14_13_00_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/935c151067668b6f872f726afe64e578.jpg","text":"TemporaryFile(/tmp/multipartBody6558664619293699819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971963758,"filename":"image_13012025_14_12_57_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3b033eeb3959be87452a582c8ebd1c4.jpg","text":"TemporaryFile(/tmp/multipartBody3287557005328758393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736971963758,"filename":"image_13012025_14_12_39_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329214764","file1":"1329214761","file0":"1329214725","file4":"1329214774","file5":"1329214817","file3":"1329214766"},"map_files_photo_id_array":[{"photo_id":"1329214817","filename":"file5"},{"photo_id":"1329214764","filename":"file2"},{"photo_id":"1329214774","filename":"file4"},{"photo_id":"1329214761","filename":"file1"},{"photo_id":"1329214725","filename":"file0"},{"photo_id":"1329214766","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329214764":["hashtag1","hashtag2"]},{"1329214725":["hashtag1","hashtag2"]},{"1329214766":["hashtag1","hashtag2"]},{"1329214817":["hashtag1","hashtag2"]},{"1329214774":["hashtag1","hashtag2"]},{"1329214761":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329214764, 1329214725, 1329214766, 1329214817, 1329214774, 1329214761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.025551319122314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:12:22.651329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/21/11/image_15012025_21_11_43_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/21/11/image_15012025_21_11_43_2626.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329214849"],"photo_id":"1329214849","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8fc01b5c2f2fc2b815944f827f0d20d8.jpg","text":"TemporaryFile(/tmp/multipartBody7331231472661143515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972003168,"filename":"image_15012025_21_11_43_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329214849"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329214849"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.560237407684326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:12:47.921514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_03_2764.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_06_2646.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_09_3683.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_12_2791.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_15_2661.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_18_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_03_2764.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_06_2646.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_09_3683.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_12_2791.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_15_2661.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_18_3632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329214877","1329214871","1329214880","1329214874","1329214884","1329214869"],"photo_ids_order":["1329214869","1329214871","1329214874","1329214877","1329214880","1329214884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9bd6ce091339c67ecb8f1aa30430ce6c.jpg","text":"TemporaryFile(/tmp/multipartBody3132701530245365649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972029112,"filename":"image_13012025_14_13_12_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06ba538755fb64f54ec6306074c0da28.jpg","text":"TemporaryFile(/tmp/multipartBody4508948919666124093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972029112,"filename":"image_13012025_14_13_06_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/057442c2cd88bbdbec7bea8762d8fed3.jpg","text":"TemporaryFile(/tmp/multipartBody9124729013589916743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972029112,"filename":"image_13012025_14_13_15_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f3a2a676a6d51e256d495b775cdffca5.jpg","text":"TemporaryFile(/tmp/multipartBody1708445793737266388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972029112,"filename":"image_13012025_14_13_09_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eebd14889d6ae5424c3a7fef238f4f06.jpg","text":"TemporaryFile(/tmp/multipartBody3357509279372412266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972029112,"filename":"image_13012025_14_13_18_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05f74df7774ccdb8a0e4f85d7c702ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1106770110797634296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972029112,"filename":"image_13012025_14_13_03_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329214874","file1":"1329214871","file0":"1329214869","file4":"1329214880","file5":"1329214884","file3":"1329214877"},"map_files_photo_id_array":[{"photo_id":"1329214884","filename":"file5"},{"photo_id":"1329214874","filename":"file2"},{"photo_id":"1329214880","filename":"file4"},{"photo_id":"1329214871","filename":"file1"},{"photo_id":"1329214869","filename":"file0"},{"photo_id":"1329214877","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329214877":["hashtag1","hashtag2"]},{"1329214871":["hashtag1","hashtag2"]},{"1329214880":["hashtag1","hashtag2"]},{"1329214874":["hashtag1","hashtag2"]},{"1329214884":["hashtag1","hashtag2"]},{"1329214869":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329214877, 1329214871, 1329214880, 1329214874, 1329214884, 1329214869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.25293707847595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:13:42.094303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_21_2639.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_24_2590.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_30_2658.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_32_2594.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_36_3486.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_39_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_21_2639.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_24_2590.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_30_2658.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_32_2594.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_36_3486.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_39_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329214914","1329214908","1329214925","1329214906","1329214921","1329214918"],"photo_ids_order":["1329214906","1329214908","1329214914","1329214918","1329214921","1329214925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/55077751156262bffc784bdede0f71db.jpg","text":"TemporaryFile(/tmp/multipartBody3317744751276007679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972091494,"filename":"image_13012025_14_13_30_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d97897bf82ca06abf296102fed997a0.jpg","text":"TemporaryFile(/tmp/multipartBody21552684803764395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972091494,"filename":"image_13012025_14_13_24_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d9da0f89801e3f4895c6089fb71f144.jpg","text":"TemporaryFile(/tmp/multipartBody1496196636192280539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972091494,"filename":"image_13012025_14_13_39_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dfa02fd869e5d7ece0627b15c5877848.jpg","text":"TemporaryFile(/tmp/multipartBody1868386275197623295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972091494,"filename":"image_13012025_14_13_21_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0468379321344628136b8a66c18aac7b.jpg","text":"TemporaryFile(/tmp/multipartBody568561340321924722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972091494,"filename":"image_13012025_14_13_36_3486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/001bf1c6c7ab6bc746c9fa19dc9e44c9.jpg","text":"TemporaryFile(/tmp/multipartBody5910122791362119315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972091494,"filename":"image_13012025_14_13_32_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329214914","file1":"1329214908","file0":"1329214906","file4":"1329214921","file5":"1329214925","file3":"1329214918"},"map_files_photo_id_array":[{"photo_id":"1329214925","filename":"file5"},{"photo_id":"1329214914","filename":"file2"},{"photo_id":"1329214921","filename":"file4"},{"photo_id":"1329214908","filename":"file1"},{"photo_id":"1329214906","filename":"file0"},{"photo_id":"1329214918","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329214914":["hashtag1","hashtag2"]},{"1329214908":["hashtag1","hashtag2"]},{"1329214925":["hashtag1","hashtag2"]},{"1329214906":["hashtag1","hashtag2"]},{"1329214921":["hashtag1","hashtag2"]},{"1329214918":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329214914, 1329214908, 1329214925, 1329214906, 1329214921, 1329214918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26380491256714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:14:42.305151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:15:03.322216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:15:25.268234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_42_3620.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_45_2728.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_48_2668.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_51_3563.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_54_2677.jpg', '/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_56_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_42_3620.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_45_2728.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_48_2668.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_51_3563.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_54_2677.jpg
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_13_56_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329214959","1329214967","1329214952","1329214963","1329214954","1329214971"],"photo_ids_order":["1329214952","1329214954","1329214959","1329214963","1329214967","1329214971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4172bc6baa9ac3e6b9383e2022e7aa7d.jpg","text":"TemporaryFile(/tmp/multipartBody8630731269070551929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972188152,"filename":"image_13012025_14_13_48_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bc9d579382099e06869e9d89d3e3d0f0.jpg","text":"TemporaryFile(/tmp/multipartBody513880626719569673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972188152,"filename":"image_13012025_14_13_54_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/323170b494792f539dfebdbec9893772.jpg","text":"TemporaryFile(/tmp/multipartBody4361516040842874687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972188152,"filename":"image_13012025_14_13_42_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5ffe9ef0c69d433d0f8094c7aeeaac84.jpg","text":"TemporaryFile(/tmp/multipartBody3509610004525195304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972188152,"filename":"image_13012025_14_13_51_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b64b97d858561a3799bef54155ff6092.jpg","text":"TemporaryFile(/tmp/multipartBody7494531638012869029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972188152,"filename":"image_13012025_14_13_45_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a249747654223271e92562bac7b28711.jpg","text":"TemporaryFile(/tmp/multipartBody7437201871693163923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972188152,"filename":"image_13012025_14_13_56_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329214959","file1":"1329214954","file0":"1329214952","file4":"1329214967","file5":"1329214971","file3":"1329214963"},"map_files_photo_id_array":[{"photo_id":"1329214971","filename":"file5"},{"photo_id":"1329214959","filename":"file2"},{"photo_id":"1329214967","filename":"file4"},{"photo_id":"1329214954","filename":"file1"},{"photo_id":"1329214952","filename":"file0"},{"photo_id":"1329214963","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329214959":["hashtag1","hashtag2"]},{"1329214967":["hashtag1","hashtag2"]},{"1329214952":["hashtag1","hashtag2"]},{"1329214963":["hashtag1","hashtag2"]},{"1329214954":["hashtag1","hashtag2"]},{"1329214971":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329214959, 1329214967, 1329214952, 1329214963, 1329214954, 1329214971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.64430069923401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:16:22.204381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/13/image_13012025_14_14_00_3568.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_03_2611.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_06_3646.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_09_2642.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_12_2796.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_15_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/13/image_13012025_14_14_00_3568.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_03_2611.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_06_3646.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_09_2642.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_12_2796.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_15_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329215013","1329215009","1329215006","1329214984","1329214998","1329214986"],"photo_ids_order":["1329214984","1329214986","1329214998","1329215006","1329215009","1329215013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/42fc7e861bad6f93060ea131be27ef5f.jpg","text":"TemporaryFile(/tmp/multipartBody3747776515517974434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972245078,"filename":"image_13012025_14_14_15_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2976a73c7cfb3d441882e80e8d4951f0.jpg","text":"TemporaryFile(/tmp/multipartBody1438699794062549633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972245078,"filename":"image_13012025_14_14_12_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b3bddcd172eeda1ed6522d803061e8e.jpg","text":"TemporaryFile(/tmp/multipartBody4982935084897436953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972245078,"filename":"image_13012025_14_14_09_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7800efc62300c4b37ce634526136c190.jpg","text":"TemporaryFile(/tmp/multipartBody2353617352309364019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972245078,"filename":"image_13012025_14_14_00_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/81bf9e1ab6b12c74ee131d8dd00e6312.jpg","text":"TemporaryFile(/tmp/multipartBody5854536773835083767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972245078,"filename":"image_13012025_14_14_06_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5cb01e06ed94c7e5adcecd2b74a5dc38.jpg","text":"TemporaryFile(/tmp/multipartBody3701635590804211569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972245078,"filename":"image_13012025_14_14_03_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329214998","file1":"1329214986","file0":"1329214984","file4":"1329215009","file5":"1329215013","file3":"1329215006"},"map_files_photo_id_array":[{"photo_id":"1329215013","filename":"file5"},{"photo_id":"1329214998","filename":"file2"},{"photo_id":"1329215009","filename":"file4"},{"photo_id":"1329214986","filename":"file1"},{"photo_id":"1329214984","filename":"file0"},{"photo_id":"1329215006","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329215013":["hashtag1","hashtag2"]},{"1329215009":["hashtag1","hashtag2"]},{"1329215006":["hashtag1","hashtag2"]},{"1329214984":["hashtag1","hashtag2"]},{"1329214998":["hashtag1","hashtag2"]},{"1329214986":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329215013, 1329215009, 1329215006, 1329214984, 1329214998, 1329214986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99624037742615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:17:03.069552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_18_2753.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_21_2608.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_23_2825.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_27_3810.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_30_2697.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_33_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_18_2753.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_21_2608.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_23_2825.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_27_3810.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_30_2697.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_33_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329215180","1329215099","1329215132","1329215185","1329215176","1329215172"],"photo_ids_order":["1329215099","1329215132","1329215172","1329215176","1329215180","1329215185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28f035103cffb4fc2e18403030f4408b.jpg","text":"TemporaryFile(/tmp/multipartBody4673648282974715373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972285416,"filename":"image_13012025_14_14_30_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64719185beb0d911ababd6da7028d6f4.jpg","text":"TemporaryFile(/tmp/multipartBody1613313873203854519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972285416,"filename":"image_13012025_14_14_18_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bc7aa0477d581035190bcb1526f63c47.jpg","text":"TemporaryFile(/tmp/multipartBody7081475799762705791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972285416,"filename":"image_13012025_14_14_21_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83f63de5f10a9b6c0825c384e5ca1b25.jpg","text":"TemporaryFile(/tmp/multipartBody4863553026993350162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972285416,"filename":"image_13012025_14_14_33_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe81c23b5ef2da8db3f3597a103cce5c.jpg","text":"TemporaryFile(/tmp/multipartBody8603417791103092823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972285416,"filename":"image_13012025_14_14_27_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d4fa93c3d19e64ee640c84e67dbb6f0.jpg","text":"TemporaryFile(/tmp/multipartBody3233098204765387248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972285416,"filename":"image_13012025_14_14_23_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329215172","file1":"1329215132","file0":"1329215099","file4":"1329215180","file5":"1329215185","file3":"1329215176"},"map_files_photo_id_array":[{"photo_id":"1329215185","filename":"file5"},{"photo_id":"1329215172","filename":"file2"},{"photo_id":"1329215180","filename":"file4"},{"photo_id":"1329215132","filename":"file1"},{"photo_id":"1329215099","filename":"file0"},{"photo_id":"1329215176","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329215180":["hashtag1","hashtag2"]},{"1329215099":["hashtag1","hashtag2"]},{"1329215132":["hashtag1","hashtag2"]},{"1329215185":["hashtag1","hashtag2"]},{"1329215176":["hashtag1","hashtag2"]},{"1329215172":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329215180, 1329215099, 1329215132, 1329215185, 1329215176, 1329215172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2695677280426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:17:42.222878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_35_2770.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_39_3537.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_42_2749.jpg', '/home/pi/Desktop/images/13012025/14/14/image_13012025_14_15_00_2594.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_33_3522.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_36_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_35_2770.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_39_3537.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_14_42_2749.jpg
/home/pi/Desktop/images/13012025/14/14/image_13012025_14_15_00_2594.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_33_3522.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_36_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329215216","1329215440","1329215280","1329215346","1329215232","1329215214"],"photo_ids_order":["1329215214","1329215216","1329215232","1329215280","1329215346","1329215440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/140ed93ef87c8dc6393138f4d1f37eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2852956940181555507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972323442,"filename":"image_13012025_14_14_39_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/724105f166c7e904a6e553448fe295d3.jpg","text":"TemporaryFile(/tmp/multipartBody3504142942244502053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972323442,"filename":"image_13012025_14_15_36_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e67e64cd0a8e88e93f35e7bd895b361c.jpg","text":"TemporaryFile(/tmp/multipartBody8647448536276781933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972323442,"filename":"image_13012025_14_15_00_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a582e1e6b3a2a5664de92811ae362501.jpg","text":"TemporaryFile(/tmp/multipartBody7746319975982267018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972323442,"filename":"image_13012025_14_15_33_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d07305b70ec7a6c050a06c5168eb955a.jpg","text":"TemporaryFile(/tmp/multipartBody3473689746294687311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972323442,"filename":"image_13012025_14_14_42_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/538b6293fa97d6ad3aa7c9b6f9b45cce.jpg","text":"TemporaryFile(/tmp/multipartBody443639990513084757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972323442,"filename":"image_13012025_14_14_35_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329215232","file1":"1329215216","file0":"1329215214","file4":"1329215346","file5":"1329215440","file3":"1329215280"},"map_files_photo_id_array":[{"photo_id":"1329215440","filename":"file5"},{"photo_id":"1329215232","filename":"file2"},{"photo_id":"1329215346","filename":"file4"},{"photo_id":"1329215216","filename":"file1"},{"photo_id":"1329215214","filename":"file0"},{"photo_id":"1329215280","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329215216":["hashtag1","hashtag2"]},{"1329215440":["hashtag1","hashtag2"]},{"1329215280":["hashtag1","hashtag2"]},{"1329215346":["hashtag1","hashtag2"]},{"1329215232":["hashtag1","hashtag2"]},{"1329215214":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329215216, 1329215440, 1329215280, 1329215346, 1329215232, 1329215214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24119329452515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:18:22.699711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_38_2742.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_42_3788.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_45_2648.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_48_2958.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_50_2597.jpg', '/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_54_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_38_2742.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_42_3788.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_45_2648.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_48_2958.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_50_2597.jpg
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_54_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329215695","1329215698","1329215701","1329215704","1329215694","1329215649"],"photo_ids_order":["1329215649","1329215694","1329215695","1329215698","1329215701","1329215704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0e929121c65ae2f09d176128ad39d288.jpg","text":"TemporaryFile(/tmp/multipartBody5455591824844291766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972365721,"filename":"image_13012025_14_15_45_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/211d1614d779e170790e47066a2deff3.jpg","text":"TemporaryFile(/tmp/multipartBody7619171595694414168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972365721,"filename":"image_13012025_14_15_48_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e33ba765a6ea6a6f4ffe29eb121d859f.jpg","text":"TemporaryFile(/tmp/multipartBody7592547691866579087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972365721,"filename":"image_13012025_14_15_50_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8300253371c6734cda8d0100509411f2.jpg","text":"TemporaryFile(/tmp/multipartBody6565810251636075459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972365721,"filename":"image_13012025_14_15_54_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a6232d44a82d1174f63470bd115e7277.jpg","text":"TemporaryFile(/tmp/multipartBody4643657462876305548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972365721,"filename":"image_13012025_14_15_42_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f77a376e65ca59ffa98f379f117213c9.jpg","text":"TemporaryFile(/tmp/multipartBody6629969190935442508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972365721,"filename":"image_13012025_14_15_38_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329215695","file1":"1329215694","file0":"1329215649","file4":"1329215701","file5":"1329215704","file3":"1329215698"},"map_files_photo_id_array":[{"photo_id":"1329215704","filename":"file5"},{"photo_id":"1329215695","filename":"file2"},{"photo_id":"1329215701","filename":"file4"},{"photo_id":"1329215694","filename":"file1"},{"photo_id":"1329215649","filename":"file0"},{"photo_id":"1329215698","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329215695":["hashtag1","hashtag2"]},{"1329215698":["hashtag1","hashtag2"]},{"1329215701":["hashtag1","hashtag2"]},{"1329215704":["hashtag1","hashtag2"]},{"1329215694":["hashtag1","hashtag2"]},{"1329215649":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329215695, 1329215698, 1329215701, 1329215704, 1329215694, 1329215649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24027752876282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:19:02.794643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_59_2710.jpg', '/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_2705.jpg', '/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_06_3665.jpg', '/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_20_2606.jpg', '/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_54_3738.jpg', '/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_03_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/15/image_13012025_14_15_59_2710.jpg
/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_02_2705.jpg
/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_06_3665.jpg
/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_20_2606.jpg
/home/pi/Desktop/images/13012025/14/16/image_13012025_14_16_54_3738.jpg
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_03_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329215798","1329215834","1329215830","1329215886","1329215832","1329215829"],"photo_ids_order":["1329215798","1329215829","1329215830","1329215832","1329215834","1329215886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd562dc172c57ddb52f879b435781e18.jpg","text":"TemporaryFile(/tmp/multipartBody8213468746826955415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972405312,"filename":"image_13012025_14_15_59_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9c507a14c451a3651787189c04073380.jpg","text":"TemporaryFile(/tmp/multipartBody5604133059602265274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972405312,"filename":"image_13012025_14_16_54_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe504aa004e7ca62e0deb601e08a3bcc.jpg","text":"TemporaryFile(/tmp/multipartBody2997333731364075221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972405312,"filename":"image_13012025_14_16_06_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1a6b552da03758f3c76e99eff787f67d.jpg","text":"TemporaryFile(/tmp/multipartBody3913191797435384636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972405312,"filename":"image_13012025_14_17_03_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8c6d8761598745bf22dedbee0fc5693c.jpg","text":"TemporaryFile(/tmp/multipartBody1897658749530355069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972405312,"filename":"image_13012025_14_16_20_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/75e4a6d7c19ef97ab80f1ad606d33099.jpg","text":"TemporaryFile(/tmp/multipartBody2085203521189967410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972405312,"filename":"image_13012025_14_16_02_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329215830","file1":"1329215829","file0":"1329215798","file4":"1329215834","file5":"1329215886","file3":"1329215832"},"map_files_photo_id_array":[{"photo_id":"1329215886","filename":"file5"},{"photo_id":"1329215830","filename":"file2"},{"photo_id":"1329215834","filename":"file4"},{"photo_id":"1329215829","filename":"file1"},{"photo_id":"1329215798","filename":"file0"},{"photo_id":"1329215832","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329215798":["hashtag1","hashtag2"]},{"1329215834":["hashtag1","hashtag2"]},{"1329215830":["hashtag1","hashtag2"]},{"1329215886":["hashtag1","hashtag2"]},{"1329215832":["hashtag1","hashtag2"]},{"1329215829":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329215798, 1329215834, 1329215830, 1329215886, 1329215832, 1329215829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.68661713600159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:20:03.276420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_05_2704.jpg', '/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_15_2828.jpg', '/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_17_2756.jpg', '/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_24_2664.jpg', '/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_29_2619.jpg', '/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_32_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_05_2704.jpg
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_15_2828.jpg
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_17_2756.jpg
/home/pi/Desktop/images/13012025/14/17/image_13012025_14_17_24_2664.jpg
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_29_2619.jpg
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_32_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329216146","1329215942","1329216399","1329215941","1329216027","1329216293"],"photo_ids_order":["1329215941","1329215942","1329216027","1329216146","1329216293","1329216399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0537598f3c03bedea94b17ec6880bb2a.jpg","text":"TemporaryFile(/tmp/multipartBody9208687878806070867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972465653,"filename":"image_13012025_14_17_24_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9c28a12861efbde17d09a96126796153.jpg","text":"TemporaryFile(/tmp/multipartBody1206717558498222331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972465653,"filename":"image_13012025_14_17_15_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6fa2738c16c0e771ee7f3615870db16.jpg","text":"TemporaryFile(/tmp/multipartBody5760042989249814686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972465653,"filename":"image_13012025_14_18_32_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e55b7916ab9dc89afb52a299e79aaae1.jpg","text":"TemporaryFile(/tmp/multipartBody4331334118172847423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972465653,"filename":"image_13012025_14_17_05_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3778c8f7cfc8da469501c25e497ee51e.jpg","text":"TemporaryFile(/tmp/multipartBody6513965661214852805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972465653,"filename":"image_13012025_14_17_17_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1caf7c091a777910016f2e2cd62f1e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1758887281108037683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972465653,"filename":"image_13012025_14_18_29_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329216027","file1":"1329215942","file0":"1329215941","file4":"1329216293","file5":"1329216399","file3":"1329216146"},"map_files_photo_id_array":[{"photo_id":"1329216399","filename":"file5"},{"photo_id":"1329216027","filename":"file2"},{"photo_id":"1329216293","filename":"file4"},{"photo_id":"1329215942","filename":"file1"},{"photo_id":"1329215941","filename":"file0"},{"photo_id":"1329216146","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329216146":["hashtag1","hashtag2"]},{"1329215942":["hashtag1","hashtag2"]},{"1329216399":["hashtag1","hashtag2"]},{"1329215941":["hashtag1","hashtag2"]},{"1329216027":["hashtag1","hashtag2"]},{"1329216293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329216146, 1329215942, 1329216399, 1329215941, 1329216027, 1329216293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50773000717163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:21:03.608349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_56_2753.jpg', '/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_23_2615.jpg', '/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_35_2774.jpg', '/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_2553.jpg', '/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_08_2600.jpg', '/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_20_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/18/image_13012025_14_18_56_2753.jpg
/home/pi/Desktop/images/13012025/14/19/image_13012025_14_19_23_2615.jpg
/home/pi/Desktop/images/13012025/14/20/image_13012025_14_20_35_2774.jpg
/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_02_2553.jpg
/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_08_2600.jpg
/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_20_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217139","1329217087","1329217075","1329217084","1329217085","1329217073"],"photo_ids_order":["1329217073","1329217075","1329217084","1329217085","1329217087","1329217139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b55fdc536e0e4871358ca6e6bf3c676e.jpg","text":"TemporaryFile(/tmp/multipartBody6990773621956299948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972525926,"filename":"image_13012025_14_21_20_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1607079afc69cb0fe37d715ef7c25f0d.jpg","text":"TemporaryFile(/tmp/multipartBody8629104754337468453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972525926,"filename":"image_13012025_14_21_08_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/569d41b5520495130161ca6d4e0930f8.jpg","text":"TemporaryFile(/tmp/multipartBody4304167914505170186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972525926,"filename":"image_13012025_14_19_23_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/724d6320bb6fc2d60dc8c2dab1973c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7449422378995116452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972525926,"filename":"image_13012025_14_20_35_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c89b9fc54f6d8cb375d584600ec90ccd.jpg","text":"TemporaryFile(/tmp/multipartBody219081164549773736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972525926,"filename":"image_13012025_14_21_02_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/53479b731ac839bb6ed53862ba5cf437.jpg","text":"TemporaryFile(/tmp/multipartBody431646475724259919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972525926,"filename":"image_13012025_14_18_56_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217084","file1":"1329217075","file0":"1329217073","file4":"1329217087","file5":"1329217139","file3":"1329217085"},"map_files_photo_id_array":[{"photo_id":"1329217139","filename":"file5"},{"photo_id":"1329217084","filename":"file2"},{"photo_id":"1329217087","filename":"file4"},{"photo_id":"1329217075","filename":"file1"},{"photo_id":"1329217073","filename":"file0"},{"photo_id":"1329217085","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217139":["hashtag1","hashtag2"]},{"1329217087":["hashtag1","hashtag2"]},{"1329217075":["hashtag1","hashtag2"]},{"1329217084":["hashtag1","hashtag2"]},{"1329217085":["hashtag1","hashtag2"]},{"1329217073":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217139, 1329217087, 1329217075, 1329217084, 1329217085, 1329217073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.34655451774597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:22:03.271702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_23_3699.jpg', '/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_26_2677.jpg', '/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_44_3767.jpg', '/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_53_2732.jpg', '/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_59_2552.jpg', '/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_11_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_23_3699.jpg
/home/pi/Desktop/images/13012025/14/21/image_13012025_14_21_26_2677.jpg
/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_44_3767.jpg
/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_53_2732.jpg
/home/pi/Desktop/images/13012025/14/22/image_13012025_14_22_59_2552.jpg
/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_11_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217458","1329217446","1329217509","1329217496","1329217397","1329217406"],"photo_ids_order":["1329217397","1329217406","1329217446","1329217458","1329217496","1329217509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aaf4516739e4dcde2fab45c47e0cbe94.jpg","text":"TemporaryFile(/tmp/multipartBody721578721046136779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972585520,"filename":"image_13012025_14_22_53_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a261c03bd87d8370002a2e4dbe1cf73.jpg","text":"TemporaryFile(/tmp/multipartBody3714988059993762921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972585520,"filename":"image_13012025_14_22_44_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/120431ed6725c01319a90643a1baa0e0.jpg","text":"TemporaryFile(/tmp/multipartBody3762502963855295541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972585520,"filename":"image_13012025_14_23_11_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0e6452970f8ec36a45669c4d5f8680d0.jpg","text":"TemporaryFile(/tmp/multipartBody571338522465194106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972585520,"filename":"image_13012025_14_22_59_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6ae2a4f54128b54177ef95d97d9710dc.jpg","text":"TemporaryFile(/tmp/multipartBody3079080088742524489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972585520,"filename":"image_13012025_14_21_23_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ebb6050d70bc9f8260eafa8109f2ef9a.jpg","text":"TemporaryFile(/tmp/multipartBody1816631559649635602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972585520,"filename":"image_13012025_14_21_26_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217446","file1":"1329217406","file0":"1329217397","file4":"1329217496","file5":"1329217509","file3":"1329217458"},"map_files_photo_id_array":[{"photo_id":"1329217509","filename":"file5"},{"photo_id":"1329217446","filename":"file2"},{"photo_id":"1329217496","filename":"file4"},{"photo_id":"1329217406","filename":"file1"},{"photo_id":"1329217397","filename":"file0"},{"photo_id":"1329217458","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217458":["hashtag1","hashtag2"]},{"1329217446":["hashtag1","hashtag2"]},{"1329217509":["hashtag1","hashtag2"]},{"1329217496":["hashtag1","hashtag2"]},{"1329217397":["hashtag1","hashtag2"]},{"1329217406":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217458, 1329217446, 1329217509, 1329217496, 1329217397, 1329217406)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.626463174819946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:23:08.006298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:23:22.424415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_56_2725.jpg', '/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_23_3533.jpg', '/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_26_2610.jpg', '/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_32_3519.jpg', '/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_37_2719.jpg', '/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_41_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/23/image_13012025_14_23_56_2725.jpg
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_23_3533.jpg
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_26_2610.jpg
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_32_3519.jpg
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_37_2719.jpg
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_41_3539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217552","1329217546","1329217549","1329217543","1329217537","1329217539"],"photo_ids_order":["1329217537","1329217539","1329217543","1329217546","1329217549","1329217552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c2db937150f0ce7758ed19d43a7090f.jpg","text":"TemporaryFile(/tmp/multipartBody6074669753495724099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972665308,"filename":"image_13012025_14_24_41_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/229c705fcde2d9eba527fbf5cea91343.jpg","text":"TemporaryFile(/tmp/multipartBody3186428971889107404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972665308,"filename":"image_13012025_14_24_32_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74c78d6226ab3c3a46456e518a097114.jpg","text":"TemporaryFile(/tmp/multipartBody6716544849246489281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972665308,"filename":"image_13012025_14_24_37_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/241a0f19b003f105406287336aa24c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2002369120842588353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972665308,"filename":"image_13012025_14_24_26_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec013692088a7e5bc4832572875fb57b.jpg","text":"TemporaryFile(/tmp/multipartBody6953624248078225955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972665308,"filename":"image_13012025_14_23_56_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2ea3737575487f4338add7621aee6d7.jpg","text":"TemporaryFile(/tmp/multipartBody405408374954306134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972665308,"filename":"image_13012025_14_24_23_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217543","file1":"1329217539","file0":"1329217537","file4":"1329217549","file5":"1329217552","file3":"1329217546"},"map_files_photo_id_array":[{"photo_id":"1329217552","filename":"file5"},{"photo_id":"1329217543","filename":"file2"},{"photo_id":"1329217549","filename":"file4"},{"photo_id":"1329217539","filename":"file1"},{"photo_id":"1329217537","filename":"file0"},{"photo_id":"1329217546","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217552":["hashtag1","hashtag2"]},{"1329217546":["hashtag1","hashtag2"]},{"1329217549":["hashtag1","hashtag2"]},{"1329217543":["hashtag1","hashtag2"]},{"1329217537":["hashtag1","hashtag2"]},{"1329217539":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217552, 1329217546, 1329217549, 1329217543, 1329217537, 1329217539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.650039196014404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:24:02.923415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_44_2688.jpg', '/home/pi/Desktop/images/13012025/14/27/image_13012025_14_27_05_3568.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_19_2730.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_22_2671.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_26_3726.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_31_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/24/image_13012025_14_24_44_2688.jpg
/home/pi/Desktop/images/13012025/14/27/image_13012025_14_27_05_3568.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_19_2730.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_22_2671.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_26_3726.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_31_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217597","1329217579","1329217603","1329217705","1329217606","1329217646"],"photo_ids_order":["1329217579","1329217597","1329217603","1329217606","1329217646","1329217705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c317b833004e375c1ed66d2b92b585e.jpg","text":"TemporaryFile(/tmp/multipartBody6505721678662043772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972705328,"filename":"image_13012025_14_27_05_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0c577bb98bb7dfa0b2ea43a0c03f56a4.jpg","text":"TemporaryFile(/tmp/multipartBody4206712370311293781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972705328,"filename":"image_13012025_14_24_44_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f1f1aa25df38b312a954a7db8d96303e.jpg","text":"TemporaryFile(/tmp/multipartBody7151897708931120045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972705328,"filename":"image_13012025_14_28_19_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd18fd11357879484a7574106bd6b447.jpg","text":"TemporaryFile(/tmp/multipartBody4414559974482516544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972705328,"filename":"image_13012025_14_28_31_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/544a17e46c3ec5960e6d3ee64d36bd07.jpg","text":"TemporaryFile(/tmp/multipartBody6114738115613931008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972705328,"filename":"image_13012025_14_28_22_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8b3ba57cb046d910f301217040106f4.jpg","text":"TemporaryFile(/tmp/multipartBody6679246072369461575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972705328,"filename":"image_13012025_14_28_26_3726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217603","file1":"1329217597","file0":"1329217579","file4":"1329217646","file5":"1329217705","file3":"1329217606"},"map_files_photo_id_array":[{"photo_id":"1329217705","filename":"file5"},{"photo_id":"1329217603","filename":"file2"},{"photo_id":"1329217646","filename":"file4"},{"photo_id":"1329217597","filename":"file1"},{"photo_id":"1329217579","filename":"file0"},{"photo_id":"1329217606","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217597":["hashtag1","hashtag2"]},{"1329217579":["hashtag1","hashtag2"]},{"1329217603":["hashtag1","hashtag2"]},{"1329217705":["hashtag1","hashtag2"]},{"1329217606":["hashtag1","hashtag2"]},{"1329217646":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217597, 1329217579, 1329217603, 1329217705, 1329217606, 1329217646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38442897796631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:24:42.148913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_35_3569.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_37_2866.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_43_3076.jpg', '/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_47_3642.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_08_3637.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_10_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_35_3569.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_37_2866.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_43_3076.jpg
/home/pi/Desktop/images/13012025/14/28/image_13012025_14_28_47_3642.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_08_3637.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_10_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217785","1329217782","1329217779","1329217770","1329217764","1329217775"],"photo_ids_order":["1329217764","1329217770","1329217775","1329217779","1329217782","1329217785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/35760f35c9212bca4a5d403f3fe7eaea.jpg","text":"TemporaryFile(/tmp/multipartBody531298803395782314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972743446,"filename":"image_13012025_14_29_10_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c90516432a2c67b84c24bfb89de1343a.jpg","text":"TemporaryFile(/tmp/multipartBody3059919132020447047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972743446,"filename":"image_13012025_14_29_08_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87256647f7abd5dd2588b363a7cc58a2.jpg","text":"TemporaryFile(/tmp/multipartBody4478643006960181922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972743446,"filename":"image_13012025_14_28_47_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b4b3482e4ba47f1c35f043c717d2da43.jpg","text":"TemporaryFile(/tmp/multipartBody4433524836920870693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972743446,"filename":"image_13012025_14_28_37_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a3f4c49de9ab3719b0b34b5da560c885.jpg","text":"TemporaryFile(/tmp/multipartBody3593906793077185137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972743446,"filename":"image_13012025_14_28_35_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4425d750a95b2266d312aa288165f966.jpg","text":"TemporaryFile(/tmp/multipartBody2543501742421886231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972743446,"filename":"image_13012025_14_28_43_3076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217775","file1":"1329217770","file0":"1329217764","file4":"1329217782","file5":"1329217785","file3":"1329217779"},"map_files_photo_id_array":[{"photo_id":"1329217785","filename":"file5"},{"photo_id":"1329217775","filename":"file2"},{"photo_id":"1329217782","filename":"file4"},{"photo_id":"1329217770","filename":"file1"},{"photo_id":"1329217764","filename":"file0"},{"photo_id":"1329217779","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217785":["hashtag1","hashtag2"]},{"1329217782":["hashtag1","hashtag2"]},{"1329217779":["hashtag1","hashtag2"]},{"1329217770":["hashtag1","hashtag2"]},{"1329217764":["hashtag1","hashtag2"]},{"1329217775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217785, 1329217782, 1329217779, 1329217770, 1329217764, 1329217775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3862566947937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:25:22.495194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_22_2802.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_34_2681.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_43_2701.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_50_3715.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_52_2689.jpg', '/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_58_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_22_2802.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_34_2681.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_43_2701.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_50_3715.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_52_2689.jpg
/home/pi/Desktop/images/13012025/14/29/image_13012025_14_29_58_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217798","1329217867","1329217794","1329217788","1329217869","1329217790"],"photo_ids_order":["1329217788","1329217790","1329217794","1329217798","1329217867","1329217869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2d79990a761c2f215f4cb7e87d9770a.jpg","text":"TemporaryFile(/tmp/multipartBody8714849429976446969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972785516,"filename":"image_13012025_14_29_50_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6246896eb7dbc6d92a4d0b67e46f4f61.jpg","text":"TemporaryFile(/tmp/multipartBody6840129289416873640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972785516,"filename":"image_13012025_14_29_52_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05b07ed43b86368251909a468cd07d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1447760633778090942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972785516,"filename":"image_13012025_14_29_43_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/794f3ee77e9356624814b97ffadea9c8.jpg","text":"TemporaryFile(/tmp/multipartBody9196781925739728611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972785516,"filename":"image_13012025_14_29_22_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48b69b96fbc2b5445d5ce912154456b4.jpg","text":"TemporaryFile(/tmp/multipartBody2728780516607162081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972785516,"filename":"image_13012025_14_29_58_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f7e1f6d46f1ffc3b72bf4f7ca7730d93.jpg","text":"TemporaryFile(/tmp/multipartBody2133536446594970856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972785516,"filename":"image_13012025_14_29_34_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217794","file1":"1329217790","file0":"1329217788","file4":"1329217867","file5":"1329217869","file3":"1329217798"},"map_files_photo_id_array":[{"photo_id":"1329217869","filename":"file5"},{"photo_id":"1329217794","filename":"file2"},{"photo_id":"1329217867","filename":"file4"},{"photo_id":"1329217790","filename":"file1"},{"photo_id":"1329217788","filename":"file0"},{"photo_id":"1329217798","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217798":["hashtag1","hashtag2"]},{"1329217867":["hashtag1","hashtag2"]},{"1329217794":["hashtag1","hashtag2"]},{"1329217788":["hashtag1","hashtag2"]},{"1329217869":["hashtag1","hashtag2"]},{"1329217790":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217798, 1329217867, 1329217794, 1329217788, 1329217869, 1329217790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70032286643982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:26:02.846632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_13_2577.jpg', '/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_31_2765.jpg', '/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_43_2705.jpg', '/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_56_3634.jpg', '/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_58_2657.jpg', '/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_16_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_13_2577.jpg
/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_31_2765.jpg
/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_43_2705.jpg
/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_56_3634.jpg
/home/pi/Desktop/images/13012025/14/31/image_13012025_14_31_58_2657.jpg
/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_16_2621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217888","1329217882","1329217884","1329217880","1329217883","1329217886"],"photo_ids_order":["1329217880","1329217882","1329217883","1329217884","1329217886","1329217888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a96b8b0716016458f3caf47882645fd5.jpg","text":"TemporaryFile(/tmp/multipartBody3506659692564292392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972825146,"filename":"image_13012025_14_32_16_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5f73d5d65ddc7534fe2f69cfb02d592d.jpg","text":"TemporaryFile(/tmp/multipartBody1144470673818360674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972825146,"filename":"image_13012025_14_31_31_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e4a27c876f90d32750a672444e6b1849.jpg","text":"TemporaryFile(/tmp/multipartBody6927830442837924870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972825146,"filename":"image_13012025_14_31_56_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5c67506286dfdd5de4124b56f456007e.jpg","text":"TemporaryFile(/tmp/multipartBody1421229096042035900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972825146,"filename":"image_13012025_14_31_13_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/faee99c9342da5699412f3e17663b5a8.jpg","text":"TemporaryFile(/tmp/multipartBody8345604803128213353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972825146,"filename":"image_13012025_14_31_43_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0a3ecfcb1a5fb9d0c9da18512c126057.jpg","text":"TemporaryFile(/tmp/multipartBody8709961053396272015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972825146,"filename":"image_13012025_14_31_58_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217883","file1":"1329217882","file0":"1329217880","file4":"1329217886","file5":"1329217888","file3":"1329217884"},"map_files_photo_id_array":[{"photo_id":"1329217888","filename":"file5"},{"photo_id":"1329217883","filename":"file2"},{"photo_id":"1329217886","filename":"file4"},{"photo_id":"1329217882","filename":"file1"},{"photo_id":"1329217880","filename":"file0"},{"photo_id":"1329217884","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217888":["hashtag1","hashtag2"]},{"1329217882":["hashtag1","hashtag2"]},{"1329217884":["hashtag1","hashtag2"]},{"1329217880":["hashtag1","hashtag2"]},{"1329217883":["hashtag1","hashtag2"]},{"1329217886":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217888, 1329217882, 1329217884, 1329217880, 1329217883, 1329217886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.690836906433105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:26:42.207513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_25_2620.jpg', '/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_26_3665.jpg', '/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_31_2682.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_04_3622.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_11_3584.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_13_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/32/image_13012025_14_32_25_2620.jpg
/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_26_3665.jpg
/home/pi/Desktop/images/13012025/14/33/image_13012025_14_33_31_2682.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_04_3622.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_11_3584.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_13_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217910","1329217912","1329217906","1329217902","1329217908","1329217898"],"photo_ids_order":["1329217898","1329217902","1329217906","1329217908","1329217910","1329217912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/813be7e647c56dd5ebe6aab4047a43d3.jpg","text":"TemporaryFile(/tmp/multipartBody721516341734823606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972863422,"filename":"image_13012025_14_34_11_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97d2cd78c4864a0bb2dbb6c47852ca13.jpg","text":"TemporaryFile(/tmp/multipartBody4675550500515533036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972863422,"filename":"image_13012025_14_34_13_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f2e42150148604f9db6076dc7331872.jpg","text":"TemporaryFile(/tmp/multipartBody1092447981273893071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972863422,"filename":"image_13012025_14_33_31_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a1e915060c004d55f420f05b5c6be74.jpg","text":"TemporaryFile(/tmp/multipartBody5334361735407894647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972863422,"filename":"image_13012025_14_33_26_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/adf94e4a800bbafb7bd3a0660d2c4754.jpg","text":"TemporaryFile(/tmp/multipartBody7835258046388494289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972863422,"filename":"image_13012025_14_34_04_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b872cbd2a8984d270e126c236cc9de0b.jpg","text":"TemporaryFile(/tmp/multipartBody2148114162821031408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972863422,"filename":"image_13012025_14_32_25_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217906","file1":"1329217902","file0":"1329217898","file4":"1329217910","file5":"1329217912","file3":"1329217908"},"map_files_photo_id_array":[{"photo_id":"1329217912","filename":"file5"},{"photo_id":"1329217906","filename":"file2"},{"photo_id":"1329217910","filename":"file4"},{"photo_id":"1329217902","filename":"file1"},{"photo_id":"1329217898","filename":"file0"},{"photo_id":"1329217908","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217910":["hashtag1","hashtag2"]},{"1329217912":["hashtag1","hashtag2"]},{"1329217906":["hashtag1","hashtag2"]},{"1329217902":["hashtag1","hashtag2"]},{"1329217908":["hashtag1","hashtag2"]},{"1329217898":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217910, 1329217912, 1329217906, 1329217902, 1329217908, 1329217898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15953469276428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:27:22.201228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_16_2656.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_20_3608.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_22_2746.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_25_2675.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_28_2713.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_31_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_16_2656.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_20_3608.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_22_2746.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_25_2675.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_28_2713.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_31_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217942","1329217939","1329217935","1329217926","1329217931","1329217928"],"photo_ids_order":["1329217926","1329217928","1329217931","1329217935","1329217939","1329217942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f1bcf869c589849a783768b20a5b4bf9.jpg","text":"TemporaryFile(/tmp/multipartBody1278018355585420579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972905104,"filename":"image_13012025_14_34_31_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c531ad92fe174fd8b390b930eb4c021.jpg","text":"TemporaryFile(/tmp/multipartBody3542891970387915486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972905104,"filename":"image_13012025_14_34_28_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b97391016cc13edd1e9507ec43432733.jpg","text":"TemporaryFile(/tmp/multipartBody4949357335439562014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972905104,"filename":"image_13012025_14_34_25_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/620170ebe19b1a68ffcbcab3bfe0b75b.jpg","text":"TemporaryFile(/tmp/multipartBody4306084334926420383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972905104,"filename":"image_13012025_14_34_16_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1fc4365402867226c66e3c78732547a0.jpg","text":"TemporaryFile(/tmp/multipartBody1317293498412675486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972905104,"filename":"image_13012025_14_34_22_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/effb3aa262c9642b0252f38d732a9f49.jpg","text":"TemporaryFile(/tmp/multipartBody2272168103673885987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972905104,"filename":"image_13012025_14_34_20_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217931","file1":"1329217928","file0":"1329217926","file4":"1329217939","file5":"1329217942","file3":"1329217935"},"map_files_photo_id_array":[{"photo_id":"1329217942","filename":"file5"},{"photo_id":"1329217931","filename":"file2"},{"photo_id":"1329217939","filename":"file4"},{"photo_id":"1329217928","filename":"file1"},{"photo_id":"1329217926","filename":"file0"},{"photo_id":"1329217935","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217942":["hashtag1","hashtag2"]},{"1329217939":["hashtag1","hashtag2"]},{"1329217935":["hashtag1","hashtag2"]},{"1329217926":["hashtag1","hashtag2"]},{"1329217931":["hashtag1","hashtag2"]},{"1329217928":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217942, 1329217939, 1329217935, 1329217926, 1329217931, 1329217928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5937066078186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:28:03.313185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_34_2677.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_49_2829.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_52_2616.jpg', '/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_58_3525.jpg', '/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_01_2692.jpg', '/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_04_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_34_2677.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_49_2829.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_52_2616.jpg
/home/pi/Desktop/images/13012025/14/34/image_13012025_14_34_58_3525.jpg
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_01_2692.jpg
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_04_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329217987","1329217966","1329217965","1329217959","1329217985","1329217949"],"photo_ids_order":["1329217949","1329217959","1329217965","1329217966","1329217985","1329217987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70a8da9c6d677587bbabdd2f719482e8.jpg","text":"TemporaryFile(/tmp/multipartBody2136637449693228681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972945610,"filename":"image_13012025_14_35_04_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e246c937672553565615ce700829e76.jpg","text":"TemporaryFile(/tmp/multipartBody6583449498428295874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972945610,"filename":"image_13012025_14_34_58_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d7f10d87d115282bc001ec699505a073.jpg","text":"TemporaryFile(/tmp/multipartBody4322411650262927674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972945610,"filename":"image_13012025_14_34_52_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de7bd3ce3410ba5e41daeebfed7565dd.jpg","text":"TemporaryFile(/tmp/multipartBody729010122091802946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972945610,"filename":"image_13012025_14_34_49_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/975096a49cb89fd90a27eed0e7e6f461.jpg","text":"TemporaryFile(/tmp/multipartBody248760738165161634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972945610,"filename":"image_13012025_14_35_01_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5ad312f2b7d6cc395bb66794cf1a3158.jpg","text":"TemporaryFile(/tmp/multipartBody6595561511263145152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972945610,"filename":"image_13012025_14_34_34_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329217965","file1":"1329217959","file0":"1329217949","file4":"1329217985","file5":"1329217987","file3":"1329217966"},"map_files_photo_id_array":[{"photo_id":"1329217987","filename":"file5"},{"photo_id":"1329217965","filename":"file2"},{"photo_id":"1329217985","filename":"file4"},{"photo_id":"1329217959","filename":"file1"},{"photo_id":"1329217949","filename":"file0"},{"photo_id":"1329217966","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329217987":["hashtag1","hashtag2"]},{"1329217966":["hashtag1","hashtag2"]},{"1329217965":["hashtag1","hashtag2"]},{"1329217959":["hashtag1","hashtag2"]},{"1329217985":["hashtag1","hashtag2"]},{"1329217949":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329217987, 1329217966, 1329217965, 1329217959, 1329217985, 1329217949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33894443511963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:28:42.795940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_07_3672.jpg', '/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_10_2595.jpg', '/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_16_3696.jpg', '/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_19_2639.jpg', '/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_40_2705.jpg', '/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_10_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_07_3672.jpg
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_10_2595.jpg
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_16_3696.jpg
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_19_2639.jpg
/home/pi/Desktop/images/13012025/14/35/image_13012025_14_35_40_2705.jpg
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_10_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329218017","1329218026","1329218011","1329218001","1329218033","1329218021"],"photo_ids_order":["1329218001","1329218011","1329218017","1329218021","1329218026","1329218033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0853b274e357c61241dd0d2d425df80f.jpg","text":"TemporaryFile(/tmp/multipartBody5338698714001141702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972986377,"filename":"image_13012025_14_35_16_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b895141076200f4476bb44e9578e61c9.jpg","text":"TemporaryFile(/tmp/multipartBody8957334070008139904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972986377,"filename":"image_13012025_14_35_40_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1f00206627f1765faed74c5754f28864.jpg","text":"TemporaryFile(/tmp/multipartBody3322299359615203362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972986377,"filename":"image_13012025_14_35_10_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28953d28a3ca2a45c35367be385ef0e8.jpg","text":"TemporaryFile(/tmp/multipartBody6500681955902863991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972986377,"filename":"image_13012025_14_35_07_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8622b21c032ba270e3b1f2e4e842d98d.jpg","text":"TemporaryFile(/tmp/multipartBody6078801352313106402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972986377,"filename":"image_13012025_14_37_10_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4eade57a61325d95d63d3c9558e1468c.jpg","text":"TemporaryFile(/tmp/multipartBody8365905063004630373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736972986377,"filename":"image_13012025_14_35_19_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329218017","file1":"1329218011","file0":"1329218001","file4":"1329218026","file5":"1329218033","file3":"1329218021"},"map_files_photo_id_array":[{"photo_id":"1329218033","filename":"file5"},{"photo_id":"1329218017","filename":"file2"},{"photo_id":"1329218026","filename":"file4"},{"photo_id":"1329218011","filename":"file1"},{"photo_id":"1329218001","filename":"file0"},{"photo_id":"1329218021","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329218017":["hashtag1","hashtag2"]},{"1329218026":["hashtag1","hashtag2"]},{"1329218011":["hashtag1","hashtag2"]},{"1329218001":["hashtag1","hashtag2"]},{"1329218033":["hashtag1","hashtag2"]},{"1329218021":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329218017, 1329218026, 1329218011, 1329218001, 1329218033, 1329218021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.85324263572693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:29:42.756874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_19_2674.jpg', '/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_22_2645.jpg', '/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_45_2814.jpg', '/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_52_2629.jpg', '/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_54_2693.jpg', '/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_01_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_19_2674.jpg
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_22_2645.jpg
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_45_2814.jpg
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_52_2629.jpg
/home/pi/Desktop/images/13012025/14/37/image_13012025_14_37_54_2693.jpg
/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_01_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329218317","1329218493","1329218574","1329218379","1329218261","1329218441"],"photo_ids_order":["1329218261","1329218317","1329218379","1329218441","1329218493","1329218574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/080508ed46beb36ea2227cbde644fc9a.jpg","text":"TemporaryFile(/tmp/multipartBody4450879541463449116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973043978,"filename":"image_13012025_14_37_22_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8f0d93796a1a0a93c451229ac6b5bc54.jpg","text":"TemporaryFile(/tmp/multipartBody5228372383139712961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973043978,"filename":"image_13012025_14_37_54_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/25aa4c756a5d3826c37afda1b6d6bafd.jpg","text":"TemporaryFile(/tmp/multipartBody4328931327090719119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973043978,"filename":"image_13012025_14_38_01_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb033587aa67905ab726700507f8998d.jpg","text":"TemporaryFile(/tmp/multipartBody7370037939365087919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973043978,"filename":"image_13012025_14_37_45_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3b72f8d2d79e1366918f722c88bb8f88.jpg","text":"TemporaryFile(/tmp/multipartBody1235136189880426999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973043978,"filename":"image_13012025_14_37_19_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cbd07c10b7ab5903503f1daa33127654.jpg","text":"TemporaryFile(/tmp/multipartBody7885479262637008210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973043978,"filename":"image_13012025_14_37_52_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329218379","file1":"1329218317","file0":"1329218261","file4":"1329218493","file5":"1329218574","file3":"1329218441"},"map_files_photo_id_array":[{"photo_id":"1329218574","filename":"file5"},{"photo_id":"1329218379","filename":"file2"},{"photo_id":"1329218493","filename":"file4"},{"photo_id":"1329218317","filename":"file1"},{"photo_id":"1329218261","filename":"file0"},{"photo_id":"1329218441","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329218317":["hashtag1","hashtag2"]},{"1329218493":["hashtag1","hashtag2"]},{"1329218574":["hashtag1","hashtag2"]},{"1329218379":["hashtag1","hashtag2"]},{"1329218261":["hashtag1","hashtag2"]},{"1329218441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329218317, 1329218493, 1329218574, 1329218379, 1329218261, 1329218441)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.709911823272705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:30:41.985643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_39_2780.jpg', '/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_10_3810.jpg', '/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_13_2974.jpg', '/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_16_2913.jpg', '/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_18_2606.jpg', '/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_21_2880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/38/image_13012025_14_38_39_2780.jpg
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_10_3810.jpg
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_13_2974.jpg
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_16_2913.jpg
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_18_2606.jpg
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_21_2880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219031","1329218956","1329218905","1329218838","1329218888","1329218864"],"photo_ids_order":["1329218838","1329218864","1329218888","1329218905","1329218956","1329219031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/10eaa7d93486a3d5c2128b9dcd5d7c2b.jpg","text":"TemporaryFile(/tmp/multipartBody8983929865126826541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973103358,"filename":"image_13012025_14_41_21_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/12f6cbf97978508c9fa3c058667d1e7f.jpg","text":"TemporaryFile(/tmp/multipartBody962110810501839229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973103358,"filename":"image_13012025_14_41_18_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/609dc61b67ee51c9996dd126be0f2e42.jpg","text":"TemporaryFile(/tmp/multipartBody6396722383696108112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973103358,"filename":"image_13012025_14_41_16_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5da6ae34ad20db9f4fe57b47bf83d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody6290079699433226200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973103358,"filename":"image_13012025_14_38_39_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e49f1c2be62a33f5960d4b05f8a91c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7084726494816344879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973103358,"filename":"image_13012025_14_41_13_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8750396a0befc28ae76f7ddf2970ef25.jpg","text":"TemporaryFile(/tmp/multipartBody1549481541118574675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973103358,"filename":"image_13012025_14_41_10_3810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329218888","file1":"1329218864","file0":"1329218838","file4":"1329218956","file5":"1329219031","file3":"1329218905"},"map_files_photo_id_array":[{"photo_id":"1329219031","filename":"file5"},{"photo_id":"1329218888","filename":"file2"},{"photo_id":"1329218956","filename":"file4"},{"photo_id":"1329218864","filename":"file1"},{"photo_id":"1329218838","filename":"file0"},{"photo_id":"1329218905","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219031":["hashtag1","hashtag2"]},{"1329218956":["hashtag1","hashtag2"]},{"1329218905":["hashtag1","hashtag2"]},{"1329218838":["hashtag1","hashtag2"]},{"1329218888":["hashtag1","hashtag2"]},{"1329218864":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219031, 1329218956, 1329218905, 1329218838, 1329218888, 1329218864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13487672805786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:31:22.531867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_25_3760.jpg', '/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_34_3661.jpg', '/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_48_2615.jpg', '/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_21_2622.jpg', '/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_48_2721.jpg', '/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_58_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_25_3760.jpg
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_34_3661.jpg
/home/pi/Desktop/images/13012025/14/41/image_13012025_14_41_48_2615.jpg
/home/pi/Desktop/images/13012025/14/42/image_13012025_14_42_21_2622.jpg
/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_48_2721.jpg
/home/pi/Desktop/images/13012025/14/43/image_13012025_14_43_58_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219093","1329219096","1329219084","1329219082","1329219088","1329219127"],"photo_ids_order":["1329219082","1329219084","1329219088","1329219093","1329219096","1329219127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d9abfaf155b58c8dcaab71e03319f5e2.jpg","text":"TemporaryFile(/tmp/multipartBody428604499193444406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973145372,"filename":"image_13012025_14_42_21_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe99abd56d555f015669e8cdb0bd8d10.jpg","text":"TemporaryFile(/tmp/multipartBody1880505919611077368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973145372,"filename":"image_13012025_14_43_48_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/03234a87d4c5f9f343ce25ab1b297be8.jpg","text":"TemporaryFile(/tmp/multipartBody6521116714637708270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973145372,"filename":"image_13012025_14_41_34_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b5016891e7b073d4cb64b62f4fd4871.jpg","text":"TemporaryFile(/tmp/multipartBody2629148581730763095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973145372,"filename":"image_13012025_14_41_25_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/896fbffcdc325adbe4054893dd78b8d1.jpg","text":"TemporaryFile(/tmp/multipartBody559185075975172926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973145372,"filename":"image_13012025_14_41_48_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/55e9d74b478ab06f6a040cbcd4f64891.jpg","text":"TemporaryFile(/tmp/multipartBody5227568163398532581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973145372,"filename":"image_13012025_14_43_58_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219088","file1":"1329219084","file0":"1329219082","file4":"1329219096","file5":"1329219127","file3":"1329219093"},"map_files_photo_id_array":[{"photo_id":"1329219127","filename":"file5"},{"photo_id":"1329219088","filename":"file2"},{"photo_id":"1329219096","filename":"file4"},{"photo_id":"1329219084","filename":"file1"},{"photo_id":"1329219082","filename":"file0"},{"photo_id":"1329219093","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219093":["hashtag1","hashtag2"]},{"1329219096":["hashtag1","hashtag2"]},{"1329219084":["hashtag1","hashtag2"]},{"1329219082":["hashtag1","hashtag2"]},{"1329219088":["hashtag1","hashtag2"]},{"1329219127":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219093, 1329219096, 1329219084, 1329219082, 1329219088, 1329219127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.21922731399536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:32:22.574040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_24_3620.jpg', '/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_33_3855.jpg', '/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_36_2724.jpg', '/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_39_2636.jpg', '/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_39_2731.jpg', '/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_11_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_24_3620.jpg
/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_33_3855.jpg
/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_36_2724.jpg
/home/pi/Desktop/images/13012025/14/44/image_13012025_14_44_39_2636.jpg
/home/pi/Desktop/images/13012025/14/46/image_13012025_14_46_39_2731.jpg
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_11_1618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219294","1329219300","1329219290","1329219272","1329219298","1329219271"],"photo_ids_order":["1329219271","1329219272","1329219290","1329219294","1329219298","1329219300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca018fd60c29c84cfddb7bce34660633.jpg","text":"TemporaryFile(/tmp/multipartBody7266592419366691319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973205596,"filename":"image_13012025_14_44_39_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d09550d7d6dd5634fc62a2cf7fe8d95.jpg","text":"TemporaryFile(/tmp/multipartBody6329214624308464735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973205596,"filename":"image_13012025_14_48_11_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/825ca57ea55a34b039a2c04c210019fc.jpg","text":"TemporaryFile(/tmp/multipartBody3361802260111843361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973205596,"filename":"image_13012025_14_44_36_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/763c0f893791691bc3d0625d5f526b15.jpg","text":"TemporaryFile(/tmp/multipartBody477931709674035806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973205596,"filename":"image_13012025_14_44_33_3855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a80cb3b13645c54026b1fce6a0f69b12.jpg","text":"TemporaryFile(/tmp/multipartBody2799658687162055875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973205596,"filename":"image_13012025_14_46_39_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7aa9d10d8bede12480ba239f74464062.jpg","text":"TemporaryFile(/tmp/multipartBody3461023949517713915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973205596,"filename":"image_13012025_14_44_24_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219290","file1":"1329219272","file0":"1329219271","file4":"1329219298","file5":"1329219300","file3":"1329219294"},"map_files_photo_id_array":[{"photo_id":"1329219300","filename":"file5"},{"photo_id":"1329219290","filename":"file2"},{"photo_id":"1329219298","filename":"file4"},{"photo_id":"1329219272","filename":"file1"},{"photo_id":"1329219271","filename":"file0"},{"photo_id":"1329219294","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219294":["hashtag1","hashtag2"]},{"1329219300":["hashtag1","hashtag2"]},{"1329219290":["hashtag1","hashtag2"]},{"1329219272":["hashtag1","hashtag2"]},{"1329219298":["hashtag1","hashtag2"]},{"1329219271":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219294, 1329219300, 1329219290, 1329219272, 1329219298, 1329219271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3446843624115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:33:22.530765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_26_12941.jpg', '/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_27_1553.jpg', '/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_22_2694.jpg', '/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_40_2549.jpg', '/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_34_2866.jpg', '/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_13_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_26_12941.jpg
/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_27_1553.jpg
/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_22_2694.jpg
/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_40_2549.jpg
/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_34_2866.jpg
/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_13_2648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.7822790145874023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:33:42.585639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_26_12941.jpg', '/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_27_1553.jpg', '/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_22_2694.jpg', '/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_40_2549.jpg', '/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_34_2866.jpg', '/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_13_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/48/image_13012025_14_48_26_12941.jpg
/home/pi/Desktop/images/13012025/14/49/image_13012025_14_49_27_1553.jpg
/home/pi/Desktop/images/13012025/14/51/image_13012025_14_51_22_2694.jpg
/home/pi/Desktop/images/13012025/14/52/image_13012025_14_52_40_2549.jpg
/home/pi/Desktop/images/13012025/14/55/image_13012025_14_55_34_2866.jpg
/home/pi/Desktop/images/13012025/14/57/image_13012025_14_57_13_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219648","1329219624","1329219650","1329219653","1329219646","1329219619"],"photo_ids_order":["1329219619","1329219624","1329219646","1329219648","1329219650","1329219653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aad0f00d102abea26921ccadf19fd444.jpg","text":"TemporaryFile(/tmp/multipartBody3720305191056194714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973283698,"filename":"image_13012025_14_52_40_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de79aae42c1e9987e9918cf90f232728.jpg","text":"TemporaryFile(/tmp/multipartBody4774917727338200612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973283698,"filename":"image_13012025_14_49_27_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4429b5144b73af388ece1962d156db25.jpg","text":"TemporaryFile(/tmp/multipartBody3466915278302639683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973283698,"filename":"image_13012025_14_55_34_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fa7ea90f4cccc6932f5cd0406bcfaba1.jpg","text":"TemporaryFile(/tmp/multipartBody7742209427493828918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973283698,"filename":"image_13012025_14_57_13_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff1950c8a072e90be60da59bc176662f.jpg","text":"TemporaryFile(/tmp/multipartBody3785617756956605204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973283698,"filename":"image_13012025_14_51_22_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/42ce39cae9cc09818992c938706bf287.jpg","text":"TemporaryFile(/tmp/multipartBody8752485506807091540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973283698,"filename":"image_13012025_14_48_26_12941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219646","file1":"1329219624","file0":"1329219619","file4":"1329219650","file5":"1329219653","file3":"1329219648"},"map_files_photo_id_array":[{"photo_id":"1329219653","filename":"file5"},{"photo_id":"1329219646","filename":"file2"},{"photo_id":"1329219650","filename":"file4"},{"photo_id":"1329219624","filename":"file1"},{"photo_id":"1329219619","filename":"file0"},{"photo_id":"1329219648","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219648":["hashtag1","hashtag2"]},{"1329219624":["hashtag1","hashtag2"]},{"1329219650":["hashtag1","hashtag2"]},{"1329219653":["hashtag1","hashtag2"]},{"1329219646":["hashtag1","hashtag2"]},{"1329219619":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219648, 1329219624, 1329219650, 1329219653, 1329219646, 1329219619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21469807624817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:34:22.514845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_43_2668.jpg', '/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_11_3715.jpg', '/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_10_2689.jpg', '/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_31_2635.jpg', '/home/pi/Desktop/images/13012025/15/09/image_13012025_15_09_34_2728.jpg', '/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_03_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/14/58/image_13012025_14_58_43_2668.jpg
/home/pi/Desktop/images/13012025/15/01/image_13012025_15_01_11_3715.jpg
/home/pi/Desktop/images/13012025/15/04/image_13012025_15_04_10_2689.jpg
/home/pi/Desktop/images/13012025/15/07/image_13012025_15_07_31_2635.jpg
/home/pi/Desktop/images/13012025/15/09/image_13012025_15_09_34_2728.jpg
/home/pi/Desktop/images/13012025/15/12/image_13012025_15_12_03_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219681","1329219666","1329219689","1329219677","1329219661","1329219658"],"photo_ids_order":["1329219658","1329219661","1329219666","1329219677","1329219681","1329219689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5aa6d6b3ee16555efa3183f75a9e794.jpg","text":"TemporaryFile(/tmp/multipartBody4272245297820271528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973325365,"filename":"image_13012025_15_09_34_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8c504325301a5658adb5d083b0759430.jpg","text":"TemporaryFile(/tmp/multipartBody5641034103600662704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973325365,"filename":"image_13012025_15_04_10_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9fdd911149882b4b8c64d1c8d6641622.jpg","text":"TemporaryFile(/tmp/multipartBody379827684818954106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973325365,"filename":"image_13012025_15_12_03_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3dc4ce32b851b112be8502cf9542704d.jpg","text":"TemporaryFile(/tmp/multipartBody5881062384299532665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973325365,"filename":"image_13012025_15_07_31_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77da7abbbbafb817083942676c92e197.jpg","text":"TemporaryFile(/tmp/multipartBody2820534643106592142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973325365,"filename":"image_13012025_15_01_11_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e456ecd17a96ed7eec0ae9a93f7f1c23.jpg","text":"TemporaryFile(/tmp/multipartBody4019959250313416059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973325365,"filename":"image_13012025_14_58_43_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219666","file1":"1329219661","file0":"1329219658","file4":"1329219681","file5":"1329219689","file3":"1329219677"},"map_files_photo_id_array":[{"photo_id":"1329219689","filename":"file5"},{"photo_id":"1329219666","filename":"file2"},{"photo_id":"1329219681","filename":"file4"},{"photo_id":"1329219661","filename":"file1"},{"photo_id":"1329219658","filename":"file0"},{"photo_id":"1329219677","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219681":["hashtag1","hashtag2"]},{"1329219666":["hashtag1","hashtag2"]},{"1329219689":["hashtag1","hashtag2"]},{"1329219677":["hashtag1","hashtag2"]},{"1329219661":["hashtag1","hashtag2"]},{"1329219658":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219681, 1329219666, 1329219689, 1329219677, 1329219661, 1329219658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47515296936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:35:03.088629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_24_3574.jpg', '/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_56_2640.jpg', '/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_09_3606.jpg', '/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_32_2674.jpg', '/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_42_3654.jpg', '/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_44_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/17/image_13012025_15_17_24_3574.jpg
/home/pi/Desktop/images/13012025/15/19/image_13012025_15_19_56_2640.jpg
/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_09_3606.jpg
/home/pi/Desktop/images/13012025/15/21/image_13012025_15_21_32_2674.jpg
/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_42_3654.jpg
/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_44_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219708","1329219705","1329219716","1329219721","1329219724","1329219718"],"photo_ids_order":["1329219705","1329219708","1329219716","1329219718","1329219721","1329219724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb381913b80148e794dc10b39225c438.jpg","text":"TemporaryFile(/tmp/multipartBody8897249210539149165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973365442,"filename":"image_13012025_15_19_56_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/94f6e20baeec5ef420a0a972cf3c9414.jpg","text":"TemporaryFile(/tmp/multipartBody3202208422154601844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973365442,"filename":"image_13012025_15_17_24_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1ff75ca02a9243b111889bf9b8403e49.jpg","text":"TemporaryFile(/tmp/multipartBody3975958530800636284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973365442,"filename":"image_13012025_15_21_09_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f98cc56f03191dac0b4d493dc08ca294.jpg","text":"TemporaryFile(/tmp/multipartBody3804285273696826919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973365442,"filename":"image_13012025_15_22_42_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8eeed58b933ac738133d19e72e2e456.jpg","text":"TemporaryFile(/tmp/multipartBody454362209544050900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973365442,"filename":"image_13012025_15_22_44_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/260f83399c33039ee92e86dbba46d9d6.jpg","text":"TemporaryFile(/tmp/multipartBody4698168844317449275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973365442,"filename":"image_13012025_15_21_32_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219716","file1":"1329219708","file0":"1329219705","file4":"1329219721","file5":"1329219724","file3":"1329219718"},"map_files_photo_id_array":[{"photo_id":"1329219724","filename":"file5"},{"photo_id":"1329219716","filename":"file2"},{"photo_id":"1329219721","filename":"file4"},{"photo_id":"1329219708","filename":"file1"},{"photo_id":"1329219705","filename":"file0"},{"photo_id":"1329219718","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219708":["hashtag1","hashtag2"]},{"1329219705":["hashtag1","hashtag2"]},{"1329219716":["hashtag1","hashtag2"]},{"1329219721":["hashtag1","hashtag2"]},{"1329219724":["hashtag1","hashtag2"]},{"1329219718":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219708, 1329219705, 1329219716, 1329219721, 1329219724, 1329219718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14923858642578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:35:42.328118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_53_2659.jpg', '/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_59_2792.jpg', '/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_26_2664.jpg', '/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_32_2608.jpg', '/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_41_2619.jpg', '/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_44_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_53_2659.jpg
/home/pi/Desktop/images/13012025/15/22/image_13012025_15_22_59_2792.jpg
/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_26_2664.jpg
/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_32_2608.jpg
/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_41_2619.jpg
/home/pi/Desktop/images/13012025/15/23/image_13012025_15_23_44_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219738","1329219732","1329219741","1329219735","1329219729","1329219737"],"photo_ids_order":["1329219729","1329219732","1329219735","1329219737","1329219738","1329219741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/631f923bef5b6dca4c348abdde4f516b.jpg","text":"TemporaryFile(/tmp/multipartBody6274837014507288798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973403511,"filename":"image_13012025_15_23_41_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5d3fdc057ee9747e22ad854a6250068e.jpg","text":"TemporaryFile(/tmp/multipartBody3558430986777158548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973403511,"filename":"image_13012025_15_22_59_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/454d379f97a280f26e3f744fdbe48db5.jpg","text":"TemporaryFile(/tmp/multipartBody7364415569355264903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973403511,"filename":"image_13012025_15_23_44_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a4f51d9ad1c24a533fbdda4d2dcdd15d.jpg","text":"TemporaryFile(/tmp/multipartBody4789684822100356666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973403511,"filename":"image_13012025_15_23_26_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/985313a74bb21366766247643d9bc90d.jpg","text":"TemporaryFile(/tmp/multipartBody6408845249782741651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973403511,"filename":"image_13012025_15_22_53_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6b176ae270f20dc73581cc9a0aa5189d.jpg","text":"TemporaryFile(/tmp/multipartBody6632719683423808202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973403511,"filename":"image_13012025_15_23_32_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219735","file1":"1329219732","file0":"1329219729","file4":"1329219738","file5":"1329219741","file3":"1329219737"},"map_files_photo_id_array":[{"photo_id":"1329219741","filename":"file5"},{"photo_id":"1329219735","filename":"file2"},{"photo_id":"1329219738","filename":"file4"},{"photo_id":"1329219732","filename":"file1"},{"photo_id":"1329219729","filename":"file0"},{"photo_id":"1329219737","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219738":["hashtag1","hashtag2"]},{"1329219732":["hashtag1","hashtag2"]},{"1329219741":["hashtag1","hashtag2"]},{"1329219735":["hashtag1","hashtag2"]},{"1329219729":["hashtag1","hashtag2"]},{"1329219737":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219738, 1329219732, 1329219741, 1329219735, 1329219729, 1329219737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29557156562805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:36:22.736447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_11_2525.jpg', '/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_17_2745.jpg', '/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_47_3607.jpg', '/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_50_2592.jpg', '/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_56_3629.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_02_2706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_11_2525.jpg
/home/pi/Desktop/images/13012025/15/24/image_13012025_15_24_17_2745.jpg
/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_47_3607.jpg
/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_50_2592.jpg
/home/pi/Desktop/images/13012025/15/25/image_13012025_15_25_56_3629.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_02_2706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219756","1329219759","1329219749","1329219752","1329219754","1329219748"],"photo_ids_order":["1329219748","1329219749","1329219752","1329219754","1329219756","1329219759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70cf13fc132e5b0b95269655c171f376.jpg","text":"TemporaryFile(/tmp/multipartBody3508646551571792890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973445688,"filename":"image_13012025_15_25_56_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ce375f660af0df2b264f72970afa7d63.jpg","text":"TemporaryFile(/tmp/multipartBody2743882036749790246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973445688,"filename":"image_13012025_15_26_02_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84e4a179e55d7cb994cb71f6d2c84ed4.jpg","text":"TemporaryFile(/tmp/multipartBody5567566180316148947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973445688,"filename":"image_13012025_15_24_17_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73e999167ea779f4d55b845437ebbce9.jpg","text":"TemporaryFile(/tmp/multipartBody3146690126401331649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973445688,"filename":"image_13012025_15_25_47_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/649a519fb8c5eedc89c2ff29fc3bdab6.jpg","text":"TemporaryFile(/tmp/multipartBody1406783264037084892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973445688,"filename":"image_13012025_15_25_50_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52c14b2cc475e599c1d0471a074d45e9.jpg","text":"TemporaryFile(/tmp/multipartBody2857927217236204340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973445688,"filename":"image_13012025_15_24_11_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219752","file1":"1329219749","file0":"1329219748","file4":"1329219756","file5":"1329219759","file3":"1329219754"},"map_files_photo_id_array":[{"photo_id":"1329219759","filename":"file5"},{"photo_id":"1329219752","filename":"file2"},{"photo_id":"1329219756","filename":"file4"},{"photo_id":"1329219749","filename":"file1"},{"photo_id":"1329219748","filename":"file0"},{"photo_id":"1329219754","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219756":["hashtag1","hashtag2"]},{"1329219759":["hashtag1","hashtag2"]},{"1329219749":["hashtag1","hashtag2"]},{"1329219752":["hashtag1","hashtag2"]},{"1329219754":["hashtag1","hashtag2"]},{"1329219748":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219756, 1329219759, 1329219749, 1329219752, 1329219754, 1329219748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75026321411133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:37:03.078025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_05_2791.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_08_3810.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_14_2816.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_17_3553.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_20_2653.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_26_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_05_2791.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_08_3810.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_14_2816.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_17_3553.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_20_2653.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_26_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219765","1329219773","1329219782","1329219781","1329219778","1329219775"],"photo_ids_order":["1329219765","1329219773","1329219775","1329219778","1329219781","1329219782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5989ff662a06ff7e8a0925247215d887.jpg","text":"TemporaryFile(/tmp/multipartBody2316560197499594339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973485526,"filename":"image_13012025_15_26_05_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/15ec74257caa42be186b4513ebb2601c.jpg","text":"TemporaryFile(/tmp/multipartBody464927984513381042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973485526,"filename":"image_13012025_15_26_08_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a232f257ae27936c64a49804572b187f.jpg","text":"TemporaryFile(/tmp/multipartBody7654834799206632429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973485526,"filename":"image_13012025_15_26_26_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87712c673726a56b8d7f337eac70d36c.jpg","text":"TemporaryFile(/tmp/multipartBody5029327002344427450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973485526,"filename":"image_13012025_15_26_20_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/75fb1dbc67f121df04e86835a6ab15cb.jpg","text":"TemporaryFile(/tmp/multipartBody4523072540695000950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973485526,"filename":"image_13012025_15_26_17_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/944626a9732692456730316a7d1ea58e.jpg","text":"TemporaryFile(/tmp/multipartBody721532756520144548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973485526,"filename":"image_13012025_15_26_14_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219775","file1":"1329219773","file0":"1329219765","file4":"1329219781","file5":"1329219782","file3":"1329219778"},"map_files_photo_id_array":[{"photo_id":"1329219782","filename":"file5"},{"photo_id":"1329219775","filename":"file2"},{"photo_id":"1329219781","filename":"file4"},{"photo_id":"1329219773","filename":"file1"},{"photo_id":"1329219765","filename":"file0"},{"photo_id":"1329219778","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219765":["hashtag1","hashtag2"]},{"1329219773":["hashtag1","hashtag2"]},{"1329219782":["hashtag1","hashtag2"]},{"1329219781":["hashtag1","hashtag2"]},{"1329219778":["hashtag1","hashtag2"]},{"1329219775":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219765, 1329219773, 1329219782, 1329219781, 1329219778, 1329219775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.621480226516724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:37:42.447332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_32_2730.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_35_3644.jpg', '/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_59_1628.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_05_2602.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_14_2665.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_17_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_32_2730.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_35_3644.jpg
/home/pi/Desktop/images/13012025/15/26/image_13012025_15_26_59_1628.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_05_2602.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_14_2665.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_17_3628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219805","1329219797","1329219800","1329219790","1329219787","1329219802"],"photo_ids_order":["1329219787","1329219790","1329219797","1329219800","1329219802","1329219805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f3287443639aecdb4a55a58f714ff11.jpg","text":"TemporaryFile(/tmp/multipartBody97120884932301390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973523674,"filename":"image_13012025_15_27_17_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3290de71131ce7bc803148281832da3d.jpg","text":"TemporaryFile(/tmp/multipartBody7537676324996820324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973523674,"filename":"image_13012025_15_26_59_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a9cdb65ce024b6395728152f66b6c29.jpg","text":"TemporaryFile(/tmp/multipartBody1409059223658742428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973523674,"filename":"image_13012025_15_27_05_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a8e36b4f82c88a1131d723e27d8ec328.jpg","text":"TemporaryFile(/tmp/multipartBody3331994293518482098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973523674,"filename":"image_13012025_15_26_35_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/df95863f36ec54f05ab8dcc8255266f1.jpg","text":"TemporaryFile(/tmp/multipartBody8288092470910603457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973523674,"filename":"image_13012025_15_26_32_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f0003addb72bd55fc6b1a4bb8ed13195.jpg","text":"TemporaryFile(/tmp/multipartBody4334506241366702059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973523674,"filename":"image_13012025_15_27_14_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219797","file1":"1329219790","file0":"1329219787","file4":"1329219802","file5":"1329219805","file3":"1329219800"},"map_files_photo_id_array":[{"photo_id":"1329219805","filename":"file5"},{"photo_id":"1329219797","filename":"file2"},{"photo_id":"1329219802","filename":"file4"},{"photo_id":"1329219790","filename":"file1"},{"photo_id":"1329219787","filename":"file0"},{"photo_id":"1329219800","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219805":["hashtag1","hashtag2"]},{"1329219797":["hashtag1","hashtag2"]},{"1329219800":["hashtag1","hashtag2"]},{"1329219790":["hashtag1","hashtag2"]},{"1329219787":["hashtag1","hashtag2"]},{"1329219802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219805, 1329219797, 1329219800, 1329219790, 1329219787, 1329219802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.449965715408325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:38:22.196541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_20_2629.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_26_3560.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_29_2592.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_56_2872.jpg', '/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_59_2689.jpg', '/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_20_2629.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_26_3560.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_29_2592.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_56_2872.jpg
/home/pi/Desktop/images/13012025/15/27/image_13012025_15_27_59_2689.jpg
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_02_3567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219811","1329219837","1329219825","1329219815","1329219829","1329219820"],"photo_ids_order":["1329219811","1329219815","1329219820","1329219825","1329219829","1329219837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c1a4c9d56b7e84d80273dad6e4a38a3.jpg","text":"TemporaryFile(/tmp/multipartBody6335213184413961497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973565166,"filename":"image_13012025_15_27_20_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d0f71c8f1481f8f570614ff6f74d806.jpg","text":"TemporaryFile(/tmp/multipartBody1312351200979585967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973565166,"filename":"image_13012025_15_28_02_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8bfac88c8ae72c6674c7ed830e002669.jpg","text":"TemporaryFile(/tmp/multipartBody7024344935324959271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973565166,"filename":"image_13012025_15_27_56_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/820528c9947597afe187f94a4b151f1f.jpg","text":"TemporaryFile(/tmp/multipartBody3221643007388216877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973565166,"filename":"image_13012025_15_27_26_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31bac5696b9217eb7e79cecabc57f2a4.jpg","text":"TemporaryFile(/tmp/multipartBody5925652424687719730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973565166,"filename":"image_13012025_15_27_59_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5c6e2f91b099a8f4488bb2b81a2ac8ea.jpg","text":"TemporaryFile(/tmp/multipartBody400992509415803805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973565166,"filename":"image_13012025_15_27_29_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219820","file1":"1329219815","file0":"1329219811","file4":"1329219829","file5":"1329219837","file3":"1329219825"},"map_files_photo_id_array":[{"photo_id":"1329219837","filename":"file5"},{"photo_id":"1329219820","filename":"file2"},{"photo_id":"1329219829","filename":"file4"},{"photo_id":"1329219815","filename":"file1"},{"photo_id":"1329219811","filename":"file0"},{"photo_id":"1329219825","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219811":["hashtag1","hashtag2"]},{"1329219837":["hashtag1","hashtag2"]},{"1329219825":["hashtag1","hashtag2"]},{"1329219815":["hashtag1","hashtag2"]},{"1329219829":["hashtag1","hashtag2"]},{"1329219820":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219811, 1329219837, 1329219825, 1329219815, 1329219829, 1329219820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34849143028259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:39:02.944512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_14_2535.jpg', '/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_16_2639.jpg', '/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_20_3751.jpg', '/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_34_2681.jpg', '/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_38_3684.jpg', '/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_41_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_14_2535.jpg
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_16_2639.jpg
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_20_3751.jpg
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_34_2681.jpg
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_38_3684.jpg
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_41_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219878","1329219866","1329219875","1329219869","1329219865","1329219859"],"photo_ids_order":["1329219859","1329219865","1329219866","1329219869","1329219875","1329219878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/693310b69745ef7b913bc932e31b9dd5.jpg","text":"TemporaryFile(/tmp/multipartBody7862351112282503711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973605508,"filename":"image_13012025_15_28_41_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/72f4d3f456dc49a4e533dd5c7e98e93b.jpg","text":"TemporaryFile(/tmp/multipartBody3945563019424580681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973605508,"filename":"image_13012025_15_28_20_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d124a02fcf6545c9ae81eb174b1940c7.jpg","text":"TemporaryFile(/tmp/multipartBody2731183658033185974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973605508,"filename":"image_13012025_15_28_38_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c4159d76934cf89cdb15255785982b19.jpg","text":"TemporaryFile(/tmp/multipartBody7968179181856969825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973605508,"filename":"image_13012025_15_28_34_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9aecd9b7900b6055921418f94ae41676.jpg","text":"TemporaryFile(/tmp/multipartBody4700063251937335405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973605508,"filename":"image_13012025_15_28_16_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0560f1cf09259917c8946c2ae3afd8d2.jpg","text":"TemporaryFile(/tmp/multipartBody9166381898948489233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973605508,"filename":"image_13012025_15_28_14_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219866","file1":"1329219865","file0":"1329219859","file4":"1329219875","file5":"1329219878","file3":"1329219869"},"map_files_photo_id_array":[{"photo_id":"1329219878","filename":"file5"},{"photo_id":"1329219866","filename":"file2"},{"photo_id":"1329219875","filename":"file4"},{"photo_id":"1329219865","filename":"file1"},{"photo_id":"1329219859","filename":"file0"},{"photo_id":"1329219869","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219878":["hashtag1","hashtag2"]},{"1329219866":["hashtag1","hashtag2"]},{"1329219875":["hashtag1","hashtag2"]},{"1329219869":["hashtag1","hashtag2"]},{"1329219865":["hashtag1","hashtag2"]},{"1329219859":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219878, 1329219866, 1329219875, 1329219869, 1329219865, 1329219859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36170744895935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:39:41.847233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_44_2872.jpg', '/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_04_2768.jpg', '/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_07_2824.jpg', '/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_20_3618.jpg', '/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_32_2837.jpg', '/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/28/image_13012025_15_28_44_2872.jpg
/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_04_2768.jpg
/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_07_2824.jpg
/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_20_3618.jpg
/home/pi/Desktop/images/13012025/15/29/image_13012025_15_29_32_2837.jpg
/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_07_3011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329219894","1329219897","1329219905","1329219908","1329219901","1329219891"],"photo_ids_order":["1329219891","1329219894","1329219897","1329219901","1329219905","1329219908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f255508b83f93cd6653099642ede5de7.jpg","text":"TemporaryFile(/tmp/multipartBody2068198424683151140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973643063,"filename":"image_13012025_15_29_04_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/373e3e69d5d048b46947f2a7c2e256be.jpg","text":"TemporaryFile(/tmp/multipartBody6991519969248262564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973643063,"filename":"image_13012025_15_29_07_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e990bd20a1ca504d7a60f56bdb1f03b.jpg","text":"TemporaryFile(/tmp/multipartBody5205856517179212364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973643063,"filename":"image_13012025_15_29_32_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b59ecf79d0b9d20716b3523c91c19edd.jpg","text":"TemporaryFile(/tmp/multipartBody4059851107840429521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973643063,"filename":"image_13012025_15_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/944093e60c1b58a6440c648dca88153d.jpg","text":"TemporaryFile(/tmp/multipartBody5073079749679483960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973643063,"filename":"image_13012025_15_29_20_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52d45ef44c0ceda029c32311f675f3a7.jpg","text":"TemporaryFile(/tmp/multipartBody7327284004719877470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973643063,"filename":"image_13012025_15_28_44_2872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329219897","file1":"1329219894","file0":"1329219891","file4":"1329219905","file5":"1329219908","file3":"1329219901"},"map_files_photo_id_array":[{"photo_id":"1329219908","filename":"file5"},{"photo_id":"1329219897","filename":"file2"},{"photo_id":"1329219905","filename":"file4"},{"photo_id":"1329219894","filename":"file1"},{"photo_id":"1329219891","filename":"file0"},{"photo_id":"1329219901","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329219894":["hashtag1","hashtag2"]},{"1329219897":["hashtag1","hashtag2"]},{"1329219905":["hashtag1","hashtag2"]},{"1329219908":["hashtag1","hashtag2"]},{"1329219901":["hashtag1","hashtag2"]},{"1329219891":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329219894, 1329219897, 1329219905, 1329219908, 1329219901, 1329219891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.361523389816284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:40:22.810124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_40_3715.jpg', '/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_16_2635.jpg', '/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_19_3635.jpg', '/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_22_2804.jpg', '/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_55_2792.jpg', '/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_28_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/31/image_13012025_15_31_40_3715.jpg
/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_16_2635.jpg
/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_19_3635.jpg
/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_22_2804.jpg
/home/pi/Desktop/images/13012025/15/32/image_13012025_15_32_55_2792.jpg
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_28_2532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329220111","1329219948","1329220176","1329220344","1329220256","1329220031"],"photo_ids_order":["1329219948","1329220031","1329220111","1329220176","1329220256","1329220344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/afd0b09937770f8c3b1b9aa8210a8499.jpg","text":"TemporaryFile(/tmp/multipartBody3428116390174994328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973685939,"filename":"image_13012025_15_32_19_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3f4959d84b6a04a75f73903d8ca46f0a.jpg","text":"TemporaryFile(/tmp/multipartBody5732273796269397197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973685939,"filename":"image_13012025_15_31_40_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a06beda6242373b5fcc428cf23499334.jpg","text":"TemporaryFile(/tmp/multipartBody6340213101804572210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973685939,"filename":"image_13012025_15_32_22_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d48af2b3e6b45894e0f70d2e27d3db5b.jpg","text":"TemporaryFile(/tmp/multipartBody8778267575161225061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973685939,"filename":"image_13012025_15_33_28_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e78de8bd483c2fca9d492737829f1fba.jpg","text":"TemporaryFile(/tmp/multipartBody1476136873933324066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973685939,"filename":"image_13012025_15_32_55_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dcb8331f22bd5c00aecd72bce5612c7c.jpg","text":"TemporaryFile(/tmp/multipartBody6885333574871499264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973685939,"filename":"image_13012025_15_32_16_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329220111","file1":"1329220031","file0":"1329219948","file4":"1329220256","file5":"1329220344","file3":"1329220176"},"map_files_photo_id_array":[{"photo_id":"1329220344","filename":"file5"},{"photo_id":"1329220111","filename":"file2"},{"photo_id":"1329220256","filename":"file4"},{"photo_id":"1329220031","filename":"file1"},{"photo_id":"1329219948","filename":"file0"},{"photo_id":"1329220176","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329220111":["hashtag1","hashtag2"]},{"1329219948":["hashtag1","hashtag2"]},{"1329220176":["hashtag1","hashtag2"]},{"1329220344":["hashtag1","hashtag2"]},{"1329220256":["hashtag1","hashtag2"]},{"1329220031":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329220111, 1329219948, 1329220176, 1329220344, 1329220256, 1329220031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00429153442383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:41:03.255409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_30_2802.jpg', '/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_34_3593.jpg', '/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_37_2611.jpg', '/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_39_2766.jpg', '/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_43_3684.jpg', '/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_46_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_30_2802.jpg
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_34_3593.jpg
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_37_2611.jpg
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_39_2766.jpg
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_43_3684.jpg
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_46_2843.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329220956","1329221180","1329221365","1329221452","1329220780","1329220628"],"photo_ids_order":["1329220628","1329220780","1329220956","1329221180","1329221365","1329221452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e89a670d1313d4e35f9b03c267f943e.jpg","text":"TemporaryFile(/tmp/multipartBody7546933439702373965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973725561,"filename":"image_13012025_15_33_37_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca97d9f9ca884db6557db228360002d0.jpg","text":"TemporaryFile(/tmp/multipartBody4334868130980726777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973725561,"filename":"image_13012025_15_33_39_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/415691b9e13b765213cf93fc47122092.jpg","text":"TemporaryFile(/tmp/multipartBody1251428343668431543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973725561,"filename":"image_13012025_15_33_43_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/39dfa47dd0cc892d9e11e0bff6a515e2.jpg","text":"TemporaryFile(/tmp/multipartBody3142149627517405393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973725561,"filename":"image_13012025_15_33_46_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6651fbd34dde5e8bc7a0916a5436236a.jpg","text":"TemporaryFile(/tmp/multipartBody7825381077756479145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973725561,"filename":"image_13012025_15_33_34_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0fe4f8a66fee16ea9273c7c7dc09f20f.jpg","text":"TemporaryFile(/tmp/multipartBody8480236868546144779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973725561,"filename":"image_13012025_15_33_30_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329220956","file1":"1329220780","file0":"1329220628","file4":"1329221365","file5":"1329221452","file3":"1329221180"},"map_files_photo_id_array":[{"photo_id":"1329221452","filename":"file5"},{"photo_id":"1329220956","filename":"file2"},{"photo_id":"1329221365","filename":"file4"},{"photo_id":"1329220780","filename":"file1"},{"photo_id":"1329220628","filename":"file0"},{"photo_id":"1329221180","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329220956":["hashtag1","hashtag2"]},{"1329221180":["hashtag1","hashtag2"]},{"1329221365":["hashtag1","hashtag2"]},{"1329221452":["hashtag1","hashtag2"]},{"1329220780":["hashtag1","hashtag2"]},{"1329220628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329220956, 1329221180, 1329221365, 1329221452, 1329220780, 1329220628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.548840045928955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:41:42.493181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_49_2669.jpg', '/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_13_2662.jpg', '/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_22_2557.jpg', '/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_30_2627.jpg', '/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_34_3692.jpg', '/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_37_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/33/image_13012025_15_33_49_2669.jpg
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_13_2662.jpg
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_22_2557.jpg
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_30_2627.jpg
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_34_3692.jpg
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_37_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329222171","1329222165","1329222170","1329222122","1329222247","1329222168"],"photo_ids_order":["1329222122","1329222165","1329222168","1329222170","1329222171","1329222247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4b4afa5e082e7878c24b2e0c3823fa4.jpg","text":"TemporaryFile(/tmp/multipartBody7506449260309315480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973763668,"filename":"image_13012025_15_34_34_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/69902c64104f118ede22d4169111b9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7661430921727265455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973763668,"filename":"image_13012025_15_34_13_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6a5e68e768004ffe66e59d601bfb4c1f.jpg","text":"TemporaryFile(/tmp/multipartBody4439169218525696744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973763668,"filename":"image_13012025_15_34_30_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92889fbf261268e92d0497d23a0fceee.jpg","text":"TemporaryFile(/tmp/multipartBody9109163801982482427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973763668,"filename":"image_13012025_15_33_49_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/218d941066431f77738ca9e30cb2d0e8.jpg","text":"TemporaryFile(/tmp/multipartBody3868725203363227582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973763668,"filename":"image_13012025_15_34_37_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc79566abfcd3811e64fb186ff2d9713.jpg","text":"TemporaryFile(/tmp/multipartBody1776410419632443272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973763668,"filename":"image_13012025_15_34_22_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329222168","file1":"1329222165","file0":"1329222122","file4":"1329222171","file5":"1329222247","file3":"1329222170"},"map_files_photo_id_array":[{"photo_id":"1329222247","filename":"file5"},{"photo_id":"1329222168","filename":"file2"},{"photo_id":"1329222171","filename":"file4"},{"photo_id":"1329222165","filename":"file1"},{"photo_id":"1329222122","filename":"file0"},{"photo_id":"1329222170","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329222171":["hashtag1","hashtag2"]},{"1329222165":["hashtag1","hashtag2"]},{"1329222170":["hashtag1","hashtag2"]},{"1329222122":["hashtag1","hashtag2"]},{"1329222247":["hashtag1","hashtag2"]},{"1329222168":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329222171, 1329222165, 1329222170, 1329222122, 1329222247, 1329222168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.332984924316406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:42:22.110085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_39_2562.jpg', '/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_43_3668.jpg', '/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_49_2783.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_16_2639.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_18_2640.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_21_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_39_2562.jpg
/home/pi/Desktop/images/13012025/15/34/image_13012025_15_34_43_3668.jpg
/home/pi/Desktop/images/13012025/15/35/image_13012025_15_35_49_2783.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_16_2639.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_18_2640.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_21_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329222476","1329222470","1329222554","1329222523","1329222520","1329222483"],"photo_ids_order":["1329222470","1329222476","1329222483","1329222520","1329222523","1329222554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c1842bad5cc57fecef73ae03853d41e4.jpg","text":"TemporaryFile(/tmp/multipartBody9121905222447925257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973805010,"filename":"image_13012025_15_34_43_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/187a1e8678f16680509ea12de1f5d9d8.jpg","text":"TemporaryFile(/tmp/multipartBody3235587226037898820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973805010,"filename":"image_13012025_15_34_39_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/78a94893de1daad1cd7203de77948ab6.jpg","text":"TemporaryFile(/tmp/multipartBody2099116091646131505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973805010,"filename":"image_13012025_15_36_21_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f12b327b9a1bd67aa177b7678deec4f6.jpg","text":"TemporaryFile(/tmp/multipartBody5415879904793127907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973805010,"filename":"image_13012025_15_36_18_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec8b1d16ee3d00178bb3963bbf1059f7.jpg","text":"TemporaryFile(/tmp/multipartBody787618224969331530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973805010,"filename":"image_13012025_15_36_16_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0317885dd81438296c3cd934fefd013b.jpg","text":"TemporaryFile(/tmp/multipartBody5739753100679295435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973805010,"filename":"image_13012025_15_35_49_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329222483","file1":"1329222476","file0":"1329222470","file4":"1329222523","file5":"1329222554","file3":"1329222520"},"map_files_photo_id_array":[{"photo_id":"1329222554","filename":"file5"},{"photo_id":"1329222483","filename":"file2"},{"photo_id":"1329222523","filename":"file4"},{"photo_id":"1329222476","filename":"file1"},{"photo_id":"1329222470","filename":"file0"},{"photo_id":"1329222520","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329222476":["hashtag1","hashtag2"]},{"1329222470":["hashtag1","hashtag2"]},{"1329222554":["hashtag1","hashtag2"]},{"1329222523":["hashtag1","hashtag2"]},{"1329222520":["hashtag1","hashtag2"]},{"1329222483":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329222476, 1329222470, 1329222554, 1329222523, 1329222520, 1329222483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.254034757614136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:43:03.340582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_25_3555.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_27_2618.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_31_3564.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_42_2576.jpg', '/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_57_2521.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_06_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_25_3555.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_27_2618.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_31_3564.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_42_2576.jpg
/home/pi/Desktop/images/13012025/15/36/image_13012025_15_36_57_2521.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_06_2537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329223046","1329223121","1329223081","1329223054","1329223122","1329223050"],"photo_ids_order":["1329223046","1329223050","1329223054","1329223081","1329223121","1329223122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b50f543efd5609752c96398303186dc.jpg","text":"TemporaryFile(/tmp/multipartBody2217792873583129795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973845627,"filename":"image_13012025_15_36_25_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d001dd2e20af8ea0a4ae8ea70fc69dc.jpg","text":"TemporaryFile(/tmp/multipartBody437215543548009743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973845627,"filename":"image_13012025_15_36_57_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9247ae21fc721e6faa2b7b0606c011e2.jpg","text":"TemporaryFile(/tmp/multipartBody5994610404766756676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973845627,"filename":"image_13012025_15_36_42_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3213f0c95ec85d63557170e243885cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1256509172626372402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973845627,"filename":"image_13012025_15_36_31_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cda93ca2ca739698bba3f69a9493ee35.jpg","text":"TemporaryFile(/tmp/multipartBody3022126911787580212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973845627,"filename":"image_13012025_15_38_06_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/570b329ecd4e45c22d3c640e44810a94.jpg","text":"TemporaryFile(/tmp/multipartBody4787162395917087384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973845627,"filename":"image_13012025_15_36_27_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329223054","file1":"1329223050","file0":"1329223046","file4":"1329223121","file5":"1329223122","file3":"1329223081"},"map_files_photo_id_array":[{"photo_id":"1329223122","filename":"file5"},{"photo_id":"1329223054","filename":"file2"},{"photo_id":"1329223121","filename":"file4"},{"photo_id":"1329223050","filename":"file1"},{"photo_id":"1329223046","filename":"file0"},{"photo_id":"1329223081","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329223046":["hashtag1","hashtag2"]},{"1329223121":["hashtag1","hashtag2"]},{"1329223081":["hashtag1","hashtag2"]},{"1329223054":["hashtag1","hashtag2"]},{"1329223122":["hashtag1","hashtag2"]},{"1329223050":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329223046, 1329223121, 1329223081, 1329223054, 1329223122, 1329223050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94269800186157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:43:42.641439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_18_2615.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_24_2780.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_28_3844.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_33_2701.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_37_3573.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_39_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_18_2615.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_24_2780.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_28_3844.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_33_2701.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_37_3573.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_39_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329223196","1329223199","1329223261","1329223333","1329223401","1329223193"],"photo_ids_order":["1329223193","1329223196","1329223199","1329223261","1329223333","1329223401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0c8ea31e1668eeca4191bcdd6517b4a.jpg","text":"TemporaryFile(/tmp/multipartBody2268006593346018888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973883749,"filename":"image_13012025_15_38_24_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b7ce17291dab317d3775a74e224736e.jpg","text":"TemporaryFile(/tmp/multipartBody440444486893078255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973883749,"filename":"image_13012025_15_38_28_3844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59d1c11dc4b18c6414173f1df36370b5.jpg","text":"TemporaryFile(/tmp/multipartBody322176036662049535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973883749,"filename":"image_13012025_15_38_33_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/290ad8b358187ec043ad798a57c9e6e1.jpg","text":"TemporaryFile(/tmp/multipartBody123964213815469891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973883749,"filename":"image_13012025_15_38_37_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5f1e1556d5464c76a30794ba23617f91.jpg","text":"TemporaryFile(/tmp/multipartBody7599559199872981485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973883749,"filename":"image_13012025_15_38_39_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/63f1e8d2af6e91cb876919ae0a1d264a.jpg","text":"TemporaryFile(/tmp/multipartBody7199706590446400802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973883749,"filename":"image_13012025_15_38_18_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329223199","file1":"1329223196","file0":"1329223193","file4":"1329223333","file5":"1329223401","file3":"1329223261"},"map_files_photo_id_array":[{"photo_id":"1329223401","filename":"file5"},{"photo_id":"1329223199","filename":"file2"},{"photo_id":"1329223333","filename":"file4"},{"photo_id":"1329223196","filename":"file1"},{"photo_id":"1329223193","filename":"file0"},{"photo_id":"1329223261","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329223196":["hashtag1","hashtag2"]},{"1329223199":["hashtag1","hashtag2"]},{"1329223261":["hashtag1","hashtag2"]},{"1329223333":["hashtag1","hashtag2"]},{"1329223401":["hashtag1","hashtag2"]},{"1329223193":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329223196, 1329223199, 1329223261, 1329223333, 1329223401, 1329223193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.655930519104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:44:22.162491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_48_2672.jpg', '/home/pi/Desktop/images/13012025/15/38/image_13012025_15_39_00_2775.jpg', '/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_33_2647.jpg', '/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_48_2599.jpg', '/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_21_3658.jpg', '/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_27_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_38_48_2672.jpg
/home/pi/Desktop/images/13012025/15/38/image_13012025_15_39_00_2775.jpg
/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_33_2647.jpg
/home/pi/Desktop/images/13012025/15/39/image_13012025_15_39_48_2599.jpg
/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_21_3658.jpg
/home/pi/Desktop/images/13012025/15/40/image_13012025_15_40_27_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329223487","1329223481","1329223495","1329223492","1329223489","1329223500"],"photo_ids_order":["1329223481","1329223487","1329223489","1329223492","1329223495","1329223500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e1eb323b9c859da70972f2ec0c5ee6bd.jpg","text":"TemporaryFile(/tmp/multipartBody5594364455421044531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973924992,"filename":"image_13012025_15_39_00_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/41ee681f0ef0fbcf953f901b33ded635.jpg","text":"TemporaryFile(/tmp/multipartBody3451195024170062678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973924992,"filename":"image_13012025_15_38_48_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be9be1e30a42dec5154d48421539e938.jpg","text":"TemporaryFile(/tmp/multipartBody1337931214143207085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973924992,"filename":"image_13012025_15_40_21_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e8e37894499f21604491cd661dbb307d.jpg","text":"TemporaryFile(/tmp/multipartBody7085545421587160255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973924992,"filename":"image_13012025_15_39_48_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fdfec23f20ebe742a04c51f20051d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody7735361395297184961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973924992,"filename":"image_13012025_15_39_33_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7935f8eb4e84b21cb3ce3705765a6c70.jpg","text":"TemporaryFile(/tmp/multipartBody122341790211814937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973924992,"filename":"image_13012025_15_40_27_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329223489","file1":"1329223487","file0":"1329223481","file4":"1329223495","file5":"1329223500","file3":"1329223492"},"map_files_photo_id_array":[{"photo_id":"1329223500","filename":"file5"},{"photo_id":"1329223489","filename":"file2"},{"photo_id":"1329223495","filename":"file4"},{"photo_id":"1329223487","filename":"file1"},{"photo_id":"1329223481","filename":"file0"},{"photo_id":"1329223492","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329223487":["hashtag1","hashtag2"]},{"1329223481":["hashtag1","hashtag2"]},{"1329223495":["hashtag1","hashtag2"]},{"1329223492":["hashtag1","hashtag2"]},{"1329223489":["hashtag1","hashtag2"]},{"1329223500":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329223487, 1329223481, 1329223495, 1329223492, 1329223489, 1329223500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.526458978652954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:45:21.901832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_15_3587.jpg', '/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_42_2768.jpg', '/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_39_3728.jpg', '/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_36_2672.jpg', '/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_15_3654.jpg', '/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_27_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_15_3587.jpg
/home/pi/Desktop/images/13012025/15/41/image_13012025_15_41_42_2768.jpg
/home/pi/Desktop/images/13012025/15/42/image_13012025_15_42_39_3728.jpg
/home/pi/Desktop/images/13012025/15/43/image_13012025_15_43_36_2672.jpg
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_15_3654.jpg
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_27_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329223541","1329223544","1329223549","1329223540","1329223537","1329223527"],"photo_ids_order":["1329223527","1329223537","1329223540","1329223541","1329223544","1329223549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1adcdb116bc037195f29bcc80265124.jpg","text":"TemporaryFile(/tmp/multipartBody4954176946931807861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973984730,"filename":"image_13012025_15_43_36_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6093653a92f6f49a1ebadb2c9feac87c.jpg","text":"TemporaryFile(/tmp/multipartBody8321739609647811157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973984730,"filename":"image_13012025_15_44_15_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f1e11477f0b503db266f04b848748eda.jpg","text":"TemporaryFile(/tmp/multipartBody4757034723315793698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973984730,"filename":"image_13012025_15_44_27_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a72647045c956ada224205d6a59d2052.jpg","text":"TemporaryFile(/tmp/multipartBody4827569233266300505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973984730,"filename":"image_13012025_15_42_39_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1cecdbd0d4df05eff85eb5ba06418838.jpg","text":"TemporaryFile(/tmp/multipartBody3881164337997923772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973984730,"filename":"image_13012025_15_41_42_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38162d069ca2c1823d602cc460a79510.jpg","text":"TemporaryFile(/tmp/multipartBody746120619484051741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736973984730,"filename":"image_13012025_15_41_15_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329223540","file1":"1329223537","file0":"1329223527","file4":"1329223544","file5":"1329223549","file3":"1329223541"},"map_files_photo_id_array":[{"photo_id":"1329223549","filename":"file5"},{"photo_id":"1329223540","filename":"file2"},{"photo_id":"1329223544","filename":"file4"},{"photo_id":"1329223537","filename":"file1"},{"photo_id":"1329223527","filename":"file0"},{"photo_id":"1329223541","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329223541":["hashtag1","hashtag2"]},{"1329223544":["hashtag1","hashtag2"]},{"1329223549":["hashtag1","hashtag2"]},{"1329223540":["hashtag1","hashtag2"]},{"1329223537":["hashtag1","hashtag2"]},{"1329223527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329223541, 1329223544, 1329223549, 1329223540, 1329223537, 1329223527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16606950759888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:46:02.558957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_30_2795.jpg', '/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_33_2719.jpg', '/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_35_2709.jpg', '/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_42_2698.jpg', '/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_44_2641.jpg', '/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_56_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_30_2795.jpg
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_33_2719.jpg
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_35_2709.jpg
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_42_2698.jpg
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_44_2641.jpg
/home/pi/Desktop/images/13012025/15/44/image_13012025_15_44_56_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329223859","1329223798","1329223858","1329223846","1329223740","1329223830"],"photo_ids_order":["1329223740","1329223798","1329223830","1329223846","1329223858","1329223859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e9d7b7f4f75be7345b3c726063b8739d.jpg","text":"TemporaryFile(/tmp/multipartBody4902376532903812013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974024746,"filename":"image_13012025_15_44_56_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4a450bb616f096e88880edea003a8dd3.jpg","text":"TemporaryFile(/tmp/multipartBody6549958700692598250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974024746,"filename":"image_13012025_15_44_33_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e18f1d568ddb4cddcdee585f09973a4.jpg","text":"TemporaryFile(/tmp/multipartBody7870367805619182883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974024746,"filename":"image_13012025_15_44_44_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd615b293f4d710125d4cc578dadce2c.jpg","text":"TemporaryFile(/tmp/multipartBody8722938620109706362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974024746,"filename":"image_13012025_15_44_42_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/380ea967a121e5477d50746ba9162db2.jpg","text":"TemporaryFile(/tmp/multipartBody4159836323790716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974024746,"filename":"image_13012025_15_44_30_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87af94c6904af2645ffa217cc618fbe7.jpg","text":"TemporaryFile(/tmp/multipartBody5697940454895375036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974024746,"filename":"image_13012025_15_44_35_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329223830","file1":"1329223798","file0":"1329223740","file4":"1329223858","file5":"1329223859","file3":"1329223846"},"map_files_photo_id_array":[{"photo_id":"1329223859","filename":"file5"},{"photo_id":"1329223830","filename":"file2"},{"photo_id":"1329223858","filename":"file4"},{"photo_id":"1329223798","filename":"file1"},{"photo_id":"1329223740","filename":"file0"},{"photo_id":"1329223846","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329223859":["hashtag1","hashtag2"]},{"1329223798":["hashtag1","hashtag2"]},{"1329223858":["hashtag1","hashtag2"]},{"1329223846":["hashtag1","hashtag2"]},{"1329223740":["hashtag1","hashtag2"]},{"1329223830":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329223859, 1329223798, 1329223858, 1329223846, 1329223740, 1329223830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.861122846603394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:46:41.963052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_03_2675.jpg', '/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_39_3670.jpg', '/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_41_2515.jpg', '/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_44_2628.jpg', '/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_48_3611.jpg', '/home/pi/Desktop/images/13012025/15/46/image_13012025_15_47_00_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_03_2675.jpg
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_39_3670.jpg
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_41_2515.jpg
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_44_2628.jpg
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_46_48_3611.jpg
/home/pi/Desktop/images/13012025/15/46/image_13012025_15_47_00_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329223990","1329223937","1329223930","1329223992","1329223965","1329223923"],"photo_ids_order":["1329223923","1329223930","1329223937","1329223965","1329223990","1329223992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31f81fefbf453a866320d7b5fa8edb76.jpg","text":"TemporaryFile(/tmp/multipartBody2375770953797408614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974063107,"filename":"image_13012025_15_46_48_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e42ce0324d8e2c9aae17b58befffaeaf.jpg","text":"TemporaryFile(/tmp/multipartBody2471351465237655317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974063107,"filename":"image_13012025_15_46_41_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b1faf7cdb5bc1ff592015dc5d09a0242.jpg","text":"TemporaryFile(/tmp/multipartBody7661894489829555361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974063107,"filename":"image_13012025_15_46_39_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0f7ba1115b761b630e9e0b75b51a3dd.jpg","text":"TemporaryFile(/tmp/multipartBody8520450352026786939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974063107,"filename":"image_13012025_15_47_00_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/56190953f5f3eee55bde3b6185ab9423.jpg","text":"TemporaryFile(/tmp/multipartBody4388836904424658674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974063107,"filename":"image_13012025_15_46_44_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5cbb8da7d8c16fa29b1eabac8c9b7e8.jpg","text":"TemporaryFile(/tmp/multipartBody4968131043800316268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974063107,"filename":"image_13012025_15_46_03_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329223937","file1":"1329223930","file0":"1329223923","file4":"1329223990","file5":"1329223992","file3":"1329223965"},"map_files_photo_id_array":[{"photo_id":"1329223992","filename":"file5"},{"photo_id":"1329223937","filename":"file2"},{"photo_id":"1329223990","filename":"file4"},{"photo_id":"1329223930","filename":"file1"},{"photo_id":"1329223923","filename":"file0"},{"photo_id":"1329223965","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329223990":["hashtag1","hashtag2"]},{"1329223937":["hashtag1","hashtag2"]},{"1329223930":["hashtag1","hashtag2"]},{"1329223992":["hashtag1","hashtag2"]},{"1329223965":["hashtag1","hashtag2"]},{"1329223923":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329223990, 1329223937, 1329223930, 1329223992, 1329223965, 1329223923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99550771713257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:47:21.909779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_30_2737.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_32_2506.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_36_3474.jpg', '/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_35_2811.jpg', '/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_48_3615.jpg', '/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_11_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_30_2737.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_32_2506.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_36_3474.jpg
/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_35_2811.jpg
/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_48_3615.jpg
/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_11_2681.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.721080780029297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:47:41.861349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_30_2737.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_32_2506.jpg', '/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_36_3474.jpg', '/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_35_2811.jpg', '/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_48_3615.jpg', '/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_11_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_30_2737.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_32_2506.jpg
/home/pi/Desktop/images/13012025/15/47/image_13012025_15_47_36_3474.jpg
/home/pi/Desktop/images/13012025/15/48/image_13012025_15_48_35_2811.jpg
/home/pi/Desktop/images/13012025/15/49/image_13012025_15_49_48_3615.jpg
/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_11_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329224053","1329224056","1329224059","1329224061","1329224049","1329224057"],"photo_ids_order":["1329224049","1329224053","1329224056","1329224057","1329224059","1329224061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02b71ba91143ae0d1cb5f6c119b28472.jpg","text":"TemporaryFile(/tmp/multipartBody1681800560971984120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974122982,"filename":"image_13012025_15_47_32_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22f9193de9208484cc6d534e9dbaae95.jpg","text":"TemporaryFile(/tmp/multipartBody1990617886552181494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974122982,"filename":"image_13012025_15_47_36_3474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d45fb9f34b6aadb63102f4e6ad47ed7.jpg","text":"TemporaryFile(/tmp/multipartBody1432196588516161501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974122982,"filename":"image_13012025_15_49_48_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/adf3418d2b085abc6d0eb4d828a89f94.jpg","text":"TemporaryFile(/tmp/multipartBody5432301531891873267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974122982,"filename":"image_13012025_15_50_11_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a55dda4262b34f8fa29c5d87e47808ba.jpg","text":"TemporaryFile(/tmp/multipartBody3730786401991557212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974122982,"filename":"image_13012025_15_47_30_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ae7414da96f236b3fe153167086c21db.jpg","text":"TemporaryFile(/tmp/multipartBody6361860539024701144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974122982,"filename":"image_13012025_15_48_35_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329224056","file1":"1329224053","file0":"1329224049","file4":"1329224059","file5":"1329224061","file3":"1329224057"},"map_files_photo_id_array":[{"photo_id":"1329224061","filename":"file5"},{"photo_id":"1329224056","filename":"file2"},{"photo_id":"1329224059","filename":"file4"},{"photo_id":"1329224053","filename":"file1"},{"photo_id":"1329224049","filename":"file0"},{"photo_id":"1329224057","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329224053":["hashtag1","hashtag2"]},{"1329224056":["hashtag1","hashtag2"]},{"1329224059":["hashtag1","hashtag2"]},{"1329224061":["hashtag1","hashtag2"]},{"1329224049":["hashtag1","hashtag2"]},{"1329224057":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329224053, 1329224056, 1329224059, 1329224061, 1329224049, 1329224057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.125403881073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:48:21.884758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_20_2700.jpg', '/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_20_3652.jpg', '/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_50_2780.jpg', '/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_53_2649.jpg', '/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_56_3692.jpg', '/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_59_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/50/image_13012025_15_50_20_2700.jpg
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_20_3652.jpg
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_50_2780.jpg
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_53_2649.jpg
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_56_3692.jpg
/home/pi/Desktop/images/13012025/15/52/image_13012025_15_52_59_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329224065","1329224076","1329224091","1329224070","1329224084","1329224063"],"photo_ids_order":["1329224063","1329224065","1329224070","1329224076","1329224084","1329224091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c139bf087d75ae77ec22ed126581404f.jpg","text":"TemporaryFile(/tmp/multipartBody7213372375814522894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974164849,"filename":"image_13012025_15_52_20_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36ffa59eb530b3203ba68cf7d4c0ce6e.jpg","text":"TemporaryFile(/tmp/multipartBody1819553438847256514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974164849,"filename":"image_13012025_15_52_53_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8da0eec0951cb50515051476b07207f2.jpg","text":"TemporaryFile(/tmp/multipartBody6992105093879741109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974164849,"filename":"image_13012025_15_52_59_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/96cfb390c5afc0747cd2bd053723af01.jpg","text":"TemporaryFile(/tmp/multipartBody6249230161531711604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974164849,"filename":"image_13012025_15_52_50_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5916bcd66c9911e0746113a8def9af94.jpg","text":"TemporaryFile(/tmp/multipartBody5281995652990937160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974164849,"filename":"image_13012025_15_52_56_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cdc34e06257f3e5dcbcc7e6a91776b42.jpg","text":"TemporaryFile(/tmp/multipartBody8938964107793319890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974164849,"filename":"image_13012025_15_50_20_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329224070","file1":"1329224065","file0":"1329224063","file4":"1329224084","file5":"1329224091","file3":"1329224076"},"map_files_photo_id_array":[{"photo_id":"1329224091","filename":"file5"},{"photo_id":"1329224070","filename":"file2"},{"photo_id":"1329224084","filename":"file4"},{"photo_id":"1329224065","filename":"file1"},{"photo_id":"1329224063","filename":"file0"},{"photo_id":"1329224076","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329224065":["hashtag1","hashtag2"]},{"1329224076":["hashtag1","hashtag2"]},{"1329224091":["hashtag1","hashtag2"]},{"1329224070":["hashtag1","hashtag2"]},{"1329224084":["hashtag1","hashtag2"]},{"1329224063":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329224065, 1329224076, 1329224091, 1329224070, 1329224084, 1329224063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64781880378723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:49:03.558308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_01_2568.jpg', '/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_05_3755.jpg', '/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_11_2696.jpg', '/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_19_2631.jpg', '/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_47_3596.jpg', '/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_50_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_01_2568.jpg
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_05_3755.jpg
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_11_2696.jpg
/home/pi/Desktop/images/13012025/15/53/image_13012025_15_53_19_2631.jpg
/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_47_3596.jpg
/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_50_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329224120","1329224122","1329224130","1329224127","1329224124","1329224118"],"photo_ids_order":["1329224118","1329224120","1329224122","1329224124","1329224127","1329224130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5a7caabfeda9c7a2881730cac75ea31.jpg","text":"TemporaryFile(/tmp/multipartBody7620729358906017148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974206053,"filename":"image_13012025_15_53_05_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb6b34918e58788d686046d30414121c.jpg","text":"TemporaryFile(/tmp/multipartBody1703989869958460343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974206053,"filename":"image_13012025_15_53_11_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/63aa2bb4ece68c231ba7e4af68340771.jpg","text":"TemporaryFile(/tmp/multipartBody5405243176043192431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974206053,"filename":"image_13012025_15_55_50_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf7d461dc5996f50ad279d6689501c6e.jpg","text":"TemporaryFile(/tmp/multipartBody1915633252387846391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974206053,"filename":"image_13012025_15_55_47_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/319d2c0f034ed78fec975bd3be261429.jpg","text":"TemporaryFile(/tmp/multipartBody8349526295947683400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974206053,"filename":"image_13012025_15_53_19_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/495350265dd29d60005424e770779b6b.jpg","text":"TemporaryFile(/tmp/multipartBody880745557368126352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974206053,"filename":"image_13012025_15_53_01_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329224122","file1":"1329224120","file0":"1329224118","file4":"1329224127","file5":"1329224130","file3":"1329224124"},"map_files_photo_id_array":[{"photo_id":"1329224130","filename":"file5"},{"photo_id":"1329224122","filename":"file2"},{"photo_id":"1329224127","filename":"file4"},{"photo_id":"1329224120","filename":"file1"},{"photo_id":"1329224118","filename":"file0"},{"photo_id":"1329224124","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329224120":["hashtag1","hashtag2"]},{"1329224122":["hashtag1","hashtag2"]},{"1329224130":["hashtag1","hashtag2"]},{"1329224127":["hashtag1","hashtag2"]},{"1329224124":["hashtag1","hashtag2"]},{"1329224118":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329224120, 1329224122, 1329224130, 1329224127, 1329224124, 1329224118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92974233627319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:49:42.526193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_52_2581.jpg', '/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_55_2857.jpg', '/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_38_2587.jpg', '/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_55_2588.jpg', '/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_58_2150.jpg', '/home/pi/Desktop/images/13012025/15/58/image_13012025_15_58_07_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_52_2581.jpg
/home/pi/Desktop/images/13012025/15/55/image_13012025_15_55_55_2857.jpg
/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_38_2587.jpg
/home/pi/Desktop/images/13012025/15/56/image_13012025_15_56_55_2588.jpg
/home/pi/Desktop/images/13012025/15/57/image_13012025_15_57_58_2150.jpg
/home/pi/Desktop/images/13012025/15/58/image_13012025_15_58_07_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329224197","1329224236","1329224238","1329224261","1329224255","1329224240"],"photo_ids_order":["1329224197","1329224236","1329224238","1329224240","1329224255","1329224261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0e0c31600f2d59aeb38e1ae8cfd3e91a.jpg","text":"TemporaryFile(/tmp/multipartBody4300617624255316983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974243685,"filename":"image_13012025_15_55_52_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3c6ee4781979ccc03ebd1da47424c75.jpg","text":"TemporaryFile(/tmp/multipartBody6235298348332725197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974243685,"filename":"image_13012025_15_55_55_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/082c509b50db1e1eaab7bd7d34be5ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8823698056579294675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974243685,"filename":"image_13012025_15_56_38_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/291878f694652dc12ad59cefd2c63657.jpg","text":"TemporaryFile(/tmp/multipartBody5912896727232700920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974243685,"filename":"image_13012025_15_58_07_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4fc47cfa09a57fa976fd452fc10fc07d.jpg","text":"TemporaryFile(/tmp/multipartBody5910912104406736890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974243685,"filename":"image_13012025_15_57_58_2150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6070cd49fc910b3c40d3c10d630b2008.jpg","text":"TemporaryFile(/tmp/multipartBody7086752855873925803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974243685,"filename":"image_13012025_15_56_55_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329224238","file1":"1329224236","file0":"1329224197","file4":"1329224255","file5":"1329224261","file3":"1329224240"},"map_files_photo_id_array":[{"photo_id":"1329224261","filename":"file5"},{"photo_id":"1329224238","filename":"file2"},{"photo_id":"1329224255","filename":"file4"},{"photo_id":"1329224236","filename":"file1"},{"photo_id":"1329224197","filename":"file0"},{"photo_id":"1329224240","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329224197":["hashtag1","hashtag2"]},{"1329224236":["hashtag1","hashtag2"]},{"1329224238":["hashtag1","hashtag2"]},{"1329224261":["hashtag1","hashtag2"]},{"1329224255":["hashtag1","hashtag2"]},{"1329224240":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329224197, 1329224236, 1329224238, 1329224261, 1329224255, 1329224240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85871195793152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:50:22.457503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_31_2518.jpg', '/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_52_2554.jpg', '/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_34_2599.jpg', '/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_38_3577.jpg', '/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_25_2607.jpg', '/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_38_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/15/59/image_13012025_15_59_31_2518.jpg
/home/pi/Desktop/images/13012025/16/00/image_13012025_16_00_52_2554.jpg
/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_34_2599.jpg
/home/pi/Desktop/images/13012025/16/02/image_13012025_16_02_38_3577.jpg
/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_25_2607.jpg
/home/pi/Desktop/images/13012025/16/03/image_13012025_16_03_38_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329224264","1329224455","1329224382","1329224376","1329224334","1329224432"],"photo_ids_order":["1329224264","1329224334","1329224376","1329224382","1329224432","1329224455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aecce86ee8b847703ff98e614732a1c7.jpg","text":"TemporaryFile(/tmp/multipartBody4818794141649509001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974285342,"filename":"image_13012025_15_59_31_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d7ee4f2cd86fe0e9a59fd02906c5ed55.jpg","text":"TemporaryFile(/tmp/multipartBody3265112947562006361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974285342,"filename":"image_13012025_16_03_38_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c75a28d1a2d226631aa43029b310337b.jpg","text":"TemporaryFile(/tmp/multipartBody4517699967770453670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974285342,"filename":"image_13012025_16_02_38_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8471d2a30d491dc1cbbcfee6afa61977.jpg","text":"TemporaryFile(/tmp/multipartBody6614747249639433253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974285342,"filename":"image_13012025_16_02_34_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/155da5ad4ed7af68dbebca1624c9d65f.jpg","text":"TemporaryFile(/tmp/multipartBody6460515353658810768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974285342,"filename":"image_13012025_16_00_52_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9788fc47dfd9488a043e79bd67d0944c.jpg","text":"TemporaryFile(/tmp/multipartBody3179326307977412697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974285342,"filename":"image_13012025_16_03_25_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329224376","file1":"1329224334","file0":"1329224264","file4":"1329224432","file5":"1329224455","file3":"1329224382"},"map_files_photo_id_array":[{"photo_id":"1329224455","filename":"file5"},{"photo_id":"1329224376","filename":"file2"},{"photo_id":"1329224432","filename":"file4"},{"photo_id":"1329224334","filename":"file1"},{"photo_id":"1329224264","filename":"file0"},{"photo_id":"1329224382","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329224264":["hashtag1","hashtag2"]},{"1329224455":["hashtag1","hashtag2"]},{"1329224382":["hashtag1","hashtag2"]},{"1329224376":["hashtag1","hashtag2"]},{"1329224334":["hashtag1","hashtag2"]},{"1329224432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329224264, 1329224455, 1329224382, 1329224376, 1329224334, 1329224432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07018446922302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:51:02.905997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_53_3593.jpg', '/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_01_2666.jpg', '/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_10_2692.jpg', '/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_31_2608.jpg', '/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_44_3776.jpg', '/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_24_3808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/05/image_13012025_16_05_53_3593.jpg
/home/pi/Desktop/images/13012025/16/07/image_13012025_16_07_01_2666.jpg
/home/pi/Desktop/images/13012025/16/08/image_13012025_16_08_10_2692.jpg
/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_31_2608.jpg
/home/pi/Desktop/images/13012025/16/09/image_13012025_16_09_44_3776.jpg
/home/pi/Desktop/images/13012025/16/10/image_13012025_16_10_24_3808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329224501","1329224499","1329224503","1329224481","1329224502","1329224505"],"photo_ids_order":["1329224481","1329224499","1329224501","1329224502","1329224503","1329224505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d55ee265e6fb40d88a56cbf429f08f57.jpg","text":"TemporaryFile(/tmp/multipartBody6106103362414678032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974325161,"filename":"image_13012025_16_08_10_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5dd3bfebaf4b08dc769f5bd5f2b5a2b.jpg","text":"TemporaryFile(/tmp/multipartBody4292578942013906159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974325161,"filename":"image_13012025_16_07_01_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a69de549cb20cf22109cae46a2d55c6c.jpg","text":"TemporaryFile(/tmp/multipartBody2488245171723303330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974325161,"filename":"image_13012025_16_09_44_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1fa350733d522d0d8f83ee3531e07e7e.jpg","text":"TemporaryFile(/tmp/multipartBody8254974663036489825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974325161,"filename":"image_13012025_16_05_53_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5c0332153c1fa8d5fc9e975307a1e2d.jpg","text":"TemporaryFile(/tmp/multipartBody6259063304755345300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974325161,"filename":"image_13012025_16_09_31_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8cb7d4ed871b26a3030a7f6c61dbd11c.jpg","text":"TemporaryFile(/tmp/multipartBody80515455525294343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974325161,"filename":"image_13012025_16_10_24_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329224501","file1":"1329224499","file0":"1329224481","file4":"1329224503","file5":"1329224505","file3":"1329224502"},"map_files_photo_id_array":[{"photo_id":"1329224505","filename":"file5"},{"photo_id":"1329224501","filename":"file2"},{"photo_id":"1329224503","filename":"file4"},{"photo_id":"1329224499","filename":"file1"},{"photo_id":"1329224481","filename":"file0"},{"photo_id":"1329224502","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329224501":["hashtag1","hashtag2"]},{"1329224499":["hashtag1","hashtag2"]},{"1329224503":["hashtag1","hashtag2"]},{"1329224481":["hashtag1","hashtag2"]},{"1329224502":["hashtag1","hashtag2"]},{"1329224505":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329224501, 1329224499, 1329224503, 1329224481, 1329224502, 1329224505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.073296546936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:51:42.162041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_17_2621.jpg', '/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_53_2767.jpg', '/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_02_2843.jpg', '/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_53_3644.jpg', '/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_37_2847.jpg', '/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_44_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_17_2621.jpg
/home/pi/Desktop/images/13012025/16/11/image_13012025_16_11_53_2767.jpg
/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_02_2843.jpg
/home/pi/Desktop/images/13012025/16/13/image_13012025_16_13_53_3644.jpg
/home/pi/Desktop/images/13012025/16/14/image_13012025_16_14_37_2847.jpg
/home/pi/Desktop/images/13012025/16/15/image_13012025_16_15_44_1545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329224540","1329224528","1329224537","1329224542","1329224533","1329224544"],"photo_ids_order":["1329224528","1329224533","1329224537","1329224540","1329224542","1329224544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b973a779104746216f5f34c4bfcc8bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8746376094959793234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974363283,"filename":"image_13012025_16_13_53_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d06059ab3b02f0dd52b6cd92f2c5776.jpg","text":"TemporaryFile(/tmp/multipartBody1721901335815822129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974363283,"filename":"image_13012025_16_11_17_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2d3b1046eea12ab4298c26b2d833210.jpg","text":"TemporaryFile(/tmp/multipartBody5925358186650094208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974363283,"filename":"image_13012025_16_13_02_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9846537c8637d29654ee7959627617f2.jpg","text":"TemporaryFile(/tmp/multipartBody4054845039572758758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974363283,"filename":"image_13012025_16_14_37_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/70ef0e8a3bf4144aaffa6dc9aa9cd332.jpg","text":"TemporaryFile(/tmp/multipartBody505114262049378284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974363283,"filename":"image_13012025_16_11_53_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c6546f7bc56b9b0a4a80c9d1e0afbe6.jpg","text":"TemporaryFile(/tmp/multipartBody2710411910417450371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974363283,"filename":"image_13012025_16_15_44_1545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329224537","file1":"1329224533","file0":"1329224528","file4":"1329224542","file5":"1329224544","file3":"1329224540"},"map_files_photo_id_array":[{"photo_id":"1329224544","filename":"file5"},{"photo_id":"1329224537","filename":"file2"},{"photo_id":"1329224542","filename":"file4"},{"photo_id":"1329224533","filename":"file1"},{"photo_id":"1329224528","filename":"file0"},{"photo_id":"1329224540","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329224540":["hashtag1","hashtag2"]},{"1329224528":["hashtag1","hashtag2"]},{"1329224537":["hashtag1","hashtag2"]},{"1329224542":["hashtag1","hashtag2"]},{"1329224533":["hashtag1","hashtag2"]},{"1329224544":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329224540, 1329224528, 1329224537, 1329224542, 1329224533, 1329224544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.209405183792114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:52:21.939498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_32_2841.jpg', '/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_01_1621.jpg', '/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_44_1733.jpg', '/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_40_2730.jpg', '/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_3742.jpg', '/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_19_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/16/image_13012025_16_16_32_2841.jpg
/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_01_1621.jpg
/home/pi/Desktop/images/13012025/16/17/image_13012025_16_17_44_1733.jpg
/home/pi/Desktop/images/13012025/16/18/image_13012025_16_18_40_2730.jpg
/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_02_3742.jpg
/home/pi/Desktop/images/13012025/16/19/image_13012025_16_19_19_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329224810","1329224726","1329224561","1329224642","1329224888","1329224546"],"photo_ids_order":["1329224546","1329224561","1329224642","1329224726","1329224810","1329224888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d9bc132793154bb2bdd57766197952fa.jpg","text":"TemporaryFile(/tmp/multipartBody7798075937788866895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974404920,"filename":"image_13012025_16_19_02_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a963ff0630a6e47bf02be4eb45eb0724.jpg","text":"TemporaryFile(/tmp/multipartBody7988179432998719979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974404920,"filename":"image_13012025_16_18_40_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/82570a89369464f29666289f5eb979b3.jpg","text":"TemporaryFile(/tmp/multipartBody3088179510341243053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974404920,"filename":"image_13012025_16_17_01_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/275c25a05ba67b24fb6a19ceb35fc273.jpg","text":"TemporaryFile(/tmp/multipartBody5413937206218142029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974404920,"filename":"image_13012025_16_17_44_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4abff163bebf28d7351a12d7467d20d.jpg","text":"TemporaryFile(/tmp/multipartBody752952288147782412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974404920,"filename":"image_13012025_16_19_19_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fbe64940f6fef09ea91eef36b617c369.jpg","text":"TemporaryFile(/tmp/multipartBody8008640720218000430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974404920,"filename":"image_13012025_16_16_32_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329224642","file1":"1329224561","file0":"1329224546","file4":"1329224810","file5":"1329224888","file3":"1329224726"},"map_files_photo_id_array":[{"photo_id":"1329224888","filename":"file5"},{"photo_id":"1329224642","filename":"file2"},{"photo_id":"1329224810","filename":"file4"},{"photo_id":"1329224561","filename":"file1"},{"photo_id":"1329224546","filename":"file0"},{"photo_id":"1329224726","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329224810":["hashtag1","hashtag2"]},{"1329224726":["hashtag1","hashtag2"]},{"1329224561":["hashtag1","hashtag2"]},{"1329224642":["hashtag1","hashtag2"]},{"1329224888":["hashtag1","hashtag2"]},{"1329224546":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329224810, 1329224726, 1329224561, 1329224642, 1329224888, 1329224546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00324463844299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:53:03.078997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_07_3015.jpg', '/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_50_18496.jpg', '/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_02_1605.jpg', '/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_22_2522.jpg', '/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_28_2728.jpg', '/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_46_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_07_3015.jpg
/home/pi/Desktop/images/13012025/16/21/image_13012025_16_21_50_18496.jpg
/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_02_1605.jpg
/home/pi/Desktop/images/13012025/16/22/image_13012025_16_22_22_2522.jpg
/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_28_2728.jpg
/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_46_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329225628","1329225250","1329225451","1329225360","1329225722","1329225527"],"photo_ids_order":["1329225250","1329225360","1329225451","1329225527","1329225628","1329225722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a298cb9e2fb4c01603ffcca4c409d18.jpg","text":"TemporaryFile(/tmp/multipartBody4573083584938222262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974445368,"filename":"image_13012025_16_23_28_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cdca32bacfe6b53c089fe549603f1b51.jpg","text":"TemporaryFile(/tmp/multipartBody3146833988776404177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974445368,"filename":"image_13012025_16_21_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f02857638dfde8cb895fa8213547b92d.jpg","text":"TemporaryFile(/tmp/multipartBody4399057046536900316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974445368,"filename":"image_13012025_16_22_02_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8915dae9714bbeba274fb5711bbed295.jpg","text":"TemporaryFile(/tmp/multipartBody2757969115303153576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974445368,"filename":"image_13012025_16_21_50_18496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92cb0a1b2b7dea836970c8a2990696db.jpg","text":"TemporaryFile(/tmp/multipartBody7581680017532954533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974445368,"filename":"image_13012025_16_23_46_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bfff5a2977ce961af0a363c4805d8632.jpg","text":"TemporaryFile(/tmp/multipartBody4516740577027399131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974445368,"filename":"image_13012025_16_22_22_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329225451","file1":"1329225360","file0":"1329225250","file4":"1329225628","file5":"1329225722","file3":"1329225527"},"map_files_photo_id_array":[{"photo_id":"1329225722","filename":"file5"},{"photo_id":"1329225451","filename":"file2"},{"photo_id":"1329225628","filename":"file4"},{"photo_id":"1329225360","filename":"file1"},{"photo_id":"1329225250","filename":"file0"},{"photo_id":"1329225527","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329225628":["hashtag1","hashtag2"]},{"1329225250":["hashtag1","hashtag2"]},{"1329225451":["hashtag1","hashtag2"]},{"1329225360":["hashtag1","hashtag2"]},{"1329225722":["hashtag1","hashtag2"]},{"1329225527":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329225628, 1329225250, 1329225451, 1329225360, 1329225722, 1329225527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91344928741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:53:42.511929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_55_3594.jpg', '/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_07_3011.jpg', '/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_35_3577.jpg', '/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_08_3012.jpg', '/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_35_2674.jpg', '/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_08_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/23/image_13012025_16_23_55_3594.jpg
/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_07_3011.jpg
/home/pi/Desktop/images/13012025/16/26/image_13012025_16_26_35_3577.jpg
/home/pi/Desktop/images/13012025/16/30/image_13012025_16_30_08_3012.jpg
/home/pi/Desktop/images/13012025/16/31/image_13012025_16_31_35_2674.jpg
/home/pi/Desktop/images/13012025/16/33/image_13012025_16_33_08_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329225877","1329225868","1329225887","1329225863","1329225880","1329225874"],"photo_ids_order":["1329225863","1329225868","1329225874","1329225877","1329225880","1329225887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8bcc8a78360fc0bfa098332b4f01b932.jpg","text":"TemporaryFile(/tmp/multipartBody5763437121755825521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974483618,"filename":"image_13012025_16_30_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d82f47a4eca9c9e572459d1c01c8f57.jpg","text":"TemporaryFile(/tmp/multipartBody1228993946333096905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974483618,"filename":"image_13012025_16_26_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec6dfd06394e148ef14d65e2439a7481.jpg","text":"TemporaryFile(/tmp/multipartBody4723437380595235105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974483618,"filename":"image_13012025_16_33_08_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d10e39d9e880e4963093fc9daa0669bb.jpg","text":"TemporaryFile(/tmp/multipartBody6560745639622705938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974483618,"filename":"image_13012025_16_23_55_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/466ee1b3967fba653ff16f46caeb2dfd.jpg","text":"TemporaryFile(/tmp/multipartBody49481582917315177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974483618,"filename":"image_13012025_16_31_35_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9201dd6c487246136e096ea3930e97fc.jpg","text":"TemporaryFile(/tmp/multipartBody6701905728406062963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974483618,"filename":"image_13012025_16_26_35_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329225874","file1":"1329225868","file0":"1329225863","file4":"1329225880","file5":"1329225887","file3":"1329225877"},"map_files_photo_id_array":[{"photo_id":"1329225887","filename":"file5"},{"photo_id":"1329225874","filename":"file2"},{"photo_id":"1329225880","filename":"file4"},{"photo_id":"1329225868","filename":"file1"},{"photo_id":"1329225863","filename":"file0"},{"photo_id":"1329225877","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329225877":["hashtag1","hashtag2"]},{"1329225868":["hashtag1","hashtag2"]},{"1329225887":["hashtag1","hashtag2"]},{"1329225863":["hashtag1","hashtag2"]},{"1329225880":["hashtag1","hashtag2"]},{"1329225874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329225877, 1329225868, 1329225887, 1329225863, 1329225880, 1329225874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26635432243347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:54:21.904806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_59_3597.jpg', '/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_19_3685.jpg', '/home/pi/Desktop/images/13012025/16/37/image_13012025_16_37_55_1662.jpg', '/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_37_1598.jpg', '/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_07_3011.jpg', '/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_19_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/34/image_13012025_16_34_59_3597.jpg
/home/pi/Desktop/images/13012025/16/36/image_13012025_16_36_19_3685.jpg
/home/pi/Desktop/images/13012025/16/37/image_13012025_16_37_55_1662.jpg
/home/pi/Desktop/images/13012025/16/39/image_13012025_16_39_37_1598.jpg
/home/pi/Desktop/images/13012025/16/41/image_13012025_16_41_07_3011.jpg
/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_19_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329225958","1329226015","1329225925","1329225930","1329225927","1329225926"],"photo_ids_order":["1329225925","1329225926","1329225927","1329225930","1329225958","1329226015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/75133c9a6b7cea0e54c1fe3f0d452c01.jpg","text":"TemporaryFile(/tmp/multipartBody8115764755541185235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974524712,"filename":"image_13012025_16_41_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d7dcc672cc6d8af3956f95694688537b.jpg","text":"TemporaryFile(/tmp/multipartBody1140588703190957438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974524712,"filename":"image_13012025_16_42_19_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c561c8039a6fc3bf4755a3ebfd80aa07.jpg","text":"TemporaryFile(/tmp/multipartBody7574857224733960491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974524712,"filename":"image_13012025_16_34_59_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a69715e22419e87aa06b74bab29b715f.jpg","text":"TemporaryFile(/tmp/multipartBody5073364512868200443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974524712,"filename":"image_13012025_16_39_37_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8679bf05cddb52ca9d1dd3772f853f9e.jpg","text":"TemporaryFile(/tmp/multipartBody1774646065989580879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974524712,"filename":"image_13012025_16_37_55_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3b2dd0b728510046000b7e50118a3db2.jpg","text":"TemporaryFile(/tmp/multipartBody2457107643579400718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974524712,"filename":"image_13012025_16_36_19_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329225927","file1":"1329225926","file0":"1329225925","file4":"1329225958","file5":"1329226015","file3":"1329225930"},"map_files_photo_id_array":[{"photo_id":"1329226015","filename":"file5"},{"photo_id":"1329225927","filename":"file2"},{"photo_id":"1329225958","filename":"file4"},{"photo_id":"1329225926","filename":"file1"},{"photo_id":"1329225925","filename":"file0"},{"photo_id":"1329225930","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329225958":["hashtag1","hashtag2"]},{"1329226015":["hashtag1","hashtag2"]},{"1329225925":["hashtag1","hashtag2"]},{"1329225930":["hashtag1","hashtag2"]},{"1329225927":["hashtag1","hashtag2"]},{"1329225926":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329225958, 1329226015, 1329225925, 1329225930, 1329225927, 1329225926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.551567792892456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:55:03.478837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_58_2708.jpg', '/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_01_2754.jpg', '/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_04_3730.jpg', '/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_07_2740.jpg', '/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_10_2563.jpg', '/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_16_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/42/image_13012025_16_42_58_2708.jpg
/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_01_2754.jpg
/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_04_3730.jpg
/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_07_2740.jpg
/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_10_2563.jpg
/home/pi/Desktop/images/13012025/16/43/image_13012025_16_43_16_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329226306","1329226191","1329226193","1329226212","1329226136","1329226270"],"photo_ids_order":["1329226136","1329226191","1329226193","1329226212","1329226270","1329226306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/85b8ac1b80ea0f8cd4113fd7e2d09bc7.jpg","text":"TemporaryFile(/tmp/multipartBody1750654230920086656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974565794,"filename":"image_13012025_16_43_16_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e41ab2039b7570fdefb745f88dbe01d.jpg","text":"TemporaryFile(/tmp/multipartBody4799853671165644481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974565794,"filename":"image_13012025_16_43_01_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2dffd5a2bff3fa7b5cc1b3b59d1a6415.jpg","text":"TemporaryFile(/tmp/multipartBody5889005517256303429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974565794,"filename":"image_13012025_16_43_04_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76a67dd8816f898a93dabfaa6f3f662a.jpg","text":"TemporaryFile(/tmp/multipartBody1160032333729440314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974565794,"filename":"image_13012025_16_43_07_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4caefc643e2fca9096217405c824a1a9.jpg","text":"TemporaryFile(/tmp/multipartBody6492062471038664780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974565794,"filename":"image_13012025_16_42_58_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e17db25298378fac75a2b5fe4bdd7f6.jpg","text":"TemporaryFile(/tmp/multipartBody3504058799774878419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974565794,"filename":"image_13012025_16_43_10_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329226193","file1":"1329226191","file0":"1329226136","file4":"1329226270","file5":"1329226306","file3":"1329226212"},"map_files_photo_id_array":[{"photo_id":"1329226306","filename":"file5"},{"photo_id":"1329226193","filename":"file2"},{"photo_id":"1329226270","filename":"file4"},{"photo_id":"1329226191","filename":"file1"},{"photo_id":"1329226136","filename":"file0"},{"photo_id":"1329226212","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329226306":["hashtag1","hashtag2"]},{"1329226191":["hashtag1","hashtag2"]},{"1329226193":["hashtag1","hashtag2"]},{"1329226212":["hashtag1","hashtag2"]},{"1329226136":["hashtag1","hashtag2"]},{"1329226270":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329226306, 1329226191, 1329226193, 1329226212, 1329226136, 1329226270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.607396841049194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:56:02.882436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/44/image_13012025_16_44_28_2613.jpg', '/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_06_3011.jpg', '/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_01_2827.jpg', '/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_03_2686.jpg', '/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_07_3760.jpg', '/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_10_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/44/image_13012025_16_44_28_2613.jpg
/home/pi/Desktop/images/13012025/16/46/image_13012025_16_46_06_3011.jpg
/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_01_2827.jpg
/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_03_2686.jpg
/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_07_3760.jpg
/home/pi/Desktop/images/13012025/16/47/image_13012025_16_47_10_2860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329226365","1329226632","1329226512","1329226370","1329226445","1329226375"],"photo_ids_order":["1329226365","1329226370","1329226375","1329226445","1329226512","1329226632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44a0fd020b8a089e769f8c5b2b449c06.jpg","text":"TemporaryFile(/tmp/multipartBody8908888928875147314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974625054,"filename":"image_13012025_16_44_28_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cd2a0a711cb9ce14f1ddf29506239d21.jpg","text":"TemporaryFile(/tmp/multipartBody7554640836912716451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974625054,"filename":"image_13012025_16_47_10_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d6aaaa926f63beaa3751654fafd79b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3053819628371236734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974625054,"filename":"image_13012025_16_47_07_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bdbfd1b98e00e942aca9905400e03012.jpg","text":"TemporaryFile(/tmp/multipartBody7724794954168948357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974625054,"filename":"image_13012025_16_46_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/63904e78ec04545da416ecc892ecf584.jpg","text":"TemporaryFile(/tmp/multipartBody2813262090127661135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974625054,"filename":"image_13012025_16_47_03_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/82a76399bb904095f5cfd1439f63ec65.jpg","text":"TemporaryFile(/tmp/multipartBody138044628541233970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974625054,"filename":"image_13012025_16_47_01_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329226375","file1":"1329226370","file0":"1329226365","file4":"1329226512","file5":"1329226632","file3":"1329226445"},"map_files_photo_id_array":[{"photo_id":"1329226632","filename":"file5"},{"photo_id":"1329226375","filename":"file2"},{"photo_id":"1329226512","filename":"file4"},{"photo_id":"1329226370","filename":"file1"},{"photo_id":"1329226365","filename":"file0"},{"photo_id":"1329226445","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329226365":["hashtag1","hashtag2"]},{"1329226632":["hashtag1","hashtag2"]},{"1329226512":["hashtag1","hashtag2"]},{"1329226370":["hashtag1","hashtag2"]},{"1329226445":["hashtag1","hashtag2"]},{"1329226375":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329226365, 1329226632, 1329226512, 1329226370, 1329226445, 1329226375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.503291606903076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:56:42.328254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_45_2676.jpg', '/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_26_3569.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_16_2654.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_19_2692.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_38_3772.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_40_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/48/image_13012025_16_48_45_2676.jpg
/home/pi/Desktop/images/13012025/16/50/image_13012025_16_50_26_3569.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_16_2654.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_19_2692.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_38_3772.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_40_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329226801","1329226781","1329226799","1329226769","1329226774","1329226765"],"photo_ids_order":["1329226765","1329226769","1329226774","1329226781","1329226799","1329226801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ef4584307b9fdcfa3631c47a7c4bd62b.jpg","text":"TemporaryFile(/tmp/multipartBody1432085662833411120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974663458,"filename":"image_13012025_16_51_40_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/41dc8128aff1093acb4c33416ed15b76.jpg","text":"TemporaryFile(/tmp/multipartBody81257418268625834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974663458,"filename":"image_13012025_16_51_19_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c6eb2d2a5bad870873e04b15d9b87174.jpg","text":"TemporaryFile(/tmp/multipartBody2687915476590489002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974663458,"filename":"image_13012025_16_51_38_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2088b293a43188cefdfd58d4ed0def1f.jpg","text":"TemporaryFile(/tmp/multipartBody7528018003668750984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974663458,"filename":"image_13012025_16_50_26_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73c3c60c4adf36aa1963d88aa55cccbd.jpg","text":"TemporaryFile(/tmp/multipartBody4300411652061649922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974663458,"filename":"image_13012025_16_51_16_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/def47e962c54ff58e65f7a8882171d1f.jpg","text":"TemporaryFile(/tmp/multipartBody2153458763375605193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974663458,"filename":"image_13012025_16_48_45_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329226774","file1":"1329226769","file0":"1329226765","file4":"1329226799","file5":"1329226801","file3":"1329226781"},"map_files_photo_id_array":[{"photo_id":"1329226801","filename":"file5"},{"photo_id":"1329226774","filename":"file2"},{"photo_id":"1329226799","filename":"file4"},{"photo_id":"1329226769","filename":"file1"},{"photo_id":"1329226765","filename":"file0"},{"photo_id":"1329226781","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329226801":["hashtag1","hashtag2"]},{"1329226781":["hashtag1","hashtag2"]},{"1329226799":["hashtag1","hashtag2"]},{"1329226769":["hashtag1","hashtag2"]},{"1329226774":["hashtag1","hashtag2"]},{"1329226765":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329226801, 1329226781, 1329226799, 1329226769, 1329226774, 1329226765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.466020345687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 21:57:22.486820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_47_3642.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_50_2863.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_52_2712.jpg', '/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_55_2642.jpg', '/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_01_2651.jpg', '/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_49_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_47_3642.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_50_2863.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_52_2712.jpg
/home/pi/Desktop/images/13012025/16/51/image_13012025_16_51_55_2642.jpg
/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_01_2651.jpg
/home/pi/Desktop/images/13012025/16/52/image_13012025_16_52_49_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329227388","1329227280","1329227217","1329227450","1329227054","1329227128"],"photo_ids_order":["1329227054","1329227128","1329227217","1329227280","1329227388","1329227450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d1050f4e011bb58c4f1c41954c29a69.jpg","text":"TemporaryFile(/tmp/multipartBody7527982379981139535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974705305,"filename":"image_13012025_16_52_01_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5bde8fe5197cf6ca2fb2bab4e2f11b42.jpg","text":"TemporaryFile(/tmp/multipartBody4771978726378739423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974705305,"filename":"image_13012025_16_51_55_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/47c28a91420c20754ce926e420c98cae.jpg","text":"TemporaryFile(/tmp/multipartBody4047781632309422097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974705305,"filename":"image_13012025_16_51_52_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a97aa1374c52a7096bafca1f7d745e44.jpg","text":"TemporaryFile(/tmp/multipartBody6392292386455262536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974705305,"filename":"image_13012025_16_52_49_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cbe1e1dac8a303a397715be50eb6ad95.jpg","text":"TemporaryFile(/tmp/multipartBody9177911587799525196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974705305,"filename":"image_13012025_16_51_47_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be0372d83d6d505fccc656392c2b76bb.jpg","text":"TemporaryFile(/tmp/multipartBody317980580530647094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974705305,"filename":"image_13012025_16_51_50_2863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329227217","file1":"1329227128","file0":"1329227054","file4":"1329227388","file5":"1329227450","file3":"1329227280"},"map_files_photo_id_array":[{"photo_id":"1329227450","filename":"file5"},{"photo_id":"1329227217","filename":"file2"},{"photo_id":"1329227388","filename":"file4"},{"photo_id":"1329227128","filename":"file1"},{"photo_id":"1329227054","filename":"file0"},{"photo_id":"1329227280","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329227388":["hashtag1","hashtag2"]},{"1329227280":["hashtag1","hashtag2"]},{"1329227217":["hashtag1","hashtag2"]},{"1329227450":["hashtag1","hashtag2"]},{"1329227054":["hashtag1","hashtag2"]},{"1329227128":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329227388, 1329227280, 1329227217, 1329227450, 1329227054, 1329227128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50128626823425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 21:59:03.456441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_55_2646.jpg', '/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_10_3685.jpg', '/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_07_3015.jpg', '/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_11_3662.jpg', '/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_14_2696.jpg', '/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_29_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/53/image_13012025_16_53_55_2646.jpg
/home/pi/Desktop/images/13012025/16/54/image_13012025_16_54_10_3685.jpg
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_07_3015.jpg
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_11_3662.jpg
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_14_2696.jpg
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_29_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329227784","1329227763","1329227768","1329227771","1329227776","1329227781"],"photo_ids_order":["1329227763","1329227768","1329227771","1329227776","1329227781","1329227784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ade9bb1dfc479006bb70e9ff0f1ada6b.jpg","text":"TemporaryFile(/tmp/multipartBody7675306254842154238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974805801,"filename":"image_13012025_16_56_29_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa568879f50d86b5f018d84d790b0800.jpg","text":"TemporaryFile(/tmp/multipartBody8132469920276889079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974805801,"filename":"image_13012025_16_53_55_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d9f78233d6b9d05483282893c4b64fec.jpg","text":"TemporaryFile(/tmp/multipartBody4616025481811090108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974805801,"filename":"image_13012025_16_54_10_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aeab3f71e5ea52ed7fa2bea98e030f68.jpg","text":"TemporaryFile(/tmp/multipartBody8444231069367875959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974805801,"filename":"image_13012025_16_56_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3cc2edea51bf8d2159f6a64324b83a62.jpg","text":"TemporaryFile(/tmp/multipartBody2459401925510619812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974805801,"filename":"image_13012025_16_56_11_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e3e7e6ce620461ef1e161bb04837a39.jpg","text":"TemporaryFile(/tmp/multipartBody4997412329367369174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974805801,"filename":"image_13012025_16_56_14_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329227771","file1":"1329227768","file0":"1329227763","file4":"1329227781","file5":"1329227784","file3":"1329227776"},"map_files_photo_id_array":[{"photo_id":"1329227784","filename":"file5"},{"photo_id":"1329227771","filename":"file2"},{"photo_id":"1329227781","filename":"file4"},{"photo_id":"1329227768","filename":"file1"},{"photo_id":"1329227763","filename":"file0"},{"photo_id":"1329227776","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329227784":["hashtag1","hashtag2"]},{"1329227763":["hashtag1","hashtag2"]},{"1329227768":["hashtag1","hashtag2"]},{"1329227771":["hashtag1","hashtag2"]},{"1329227776":["hashtag1","hashtag2"]},{"1329227781":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329227784, 1329227763, 1329227768, 1329227771, 1329227776, 1329227781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.000003814697266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 21:59:42.515407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_44_2837.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_08_2736.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_14_3663.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_17_2622.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_23_3664.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_35_2894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/56/image_13012025_16_56_44_2837.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_08_2736.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_14_3663.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_17_2622.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_23_3664.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_35_2894.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329227800","1329227789","1329227797","1329227791","1329227794","1329227788"],"photo_ids_order":["1329227788","1329227789","1329227791","1329227794","1329227797","1329227800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5612c3a74eb0828f27aeb950832b5000.jpg","text":"TemporaryFile(/tmp/multipartBody2321865249908647218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974843655,"filename":"image_13012025_16_57_35_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eaef8e13552d9fb946df053ec3789ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6451583155020064691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974843655,"filename":"image_13012025_16_57_08_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b589216384a9826c04a359013fe2ac03.jpg","text":"TemporaryFile(/tmp/multipartBody5488257661970139142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974843655,"filename":"image_13012025_16_57_23_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ef2cc61464153f881cbe6e62a054f5a7.jpg","text":"TemporaryFile(/tmp/multipartBody913790012516713402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974843655,"filename":"image_13012025_16_57_14_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/accce082fbfe862da6ecf6a1c0fbfec5.jpg","text":"TemporaryFile(/tmp/multipartBody4037286812825185934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974843655,"filename":"image_13012025_16_57_17_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6cbe8872d8f73d039c7ead7e3e9f1470.jpg","text":"TemporaryFile(/tmp/multipartBody3322926767057788574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974843655,"filename":"image_13012025_16_56_44_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329227791","file1":"1329227789","file0":"1329227788","file4":"1329227797","file5":"1329227800","file3":"1329227794"},"map_files_photo_id_array":[{"photo_id":"1329227800","filename":"file5"},{"photo_id":"1329227791","filename":"file2"},{"photo_id":"1329227797","filename":"file4"},{"photo_id":"1329227789","filename":"file1"},{"photo_id":"1329227788","filename":"file0"},{"photo_id":"1329227794","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329227800":["hashtag1","hashtag2"]},{"1329227789":["hashtag1","hashtag2"]},{"1329227797":["hashtag1","hashtag2"]},{"1329227791":["hashtag1","hashtag2"]},{"1329227794":["hashtag1","hashtag2"]},{"1329227788":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329227800, 1329227789, 1329227797, 1329227791, 1329227794, 1329227788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57059192657471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:00:22.563976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_40_2752.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_49_2640.jpg', '/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_53_3760.jpg', '/home/pi/Desktop/images/13012025/16/58/image_13012025_16_58_01_2608.jpg', '/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_13_2560.jpg', '/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_35_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_40_2752.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_49_2640.jpg
/home/pi/Desktop/images/13012025/16/57/image_13012025_16_57_53_3760.jpg
/home/pi/Desktop/images/13012025/16/58/image_13012025_16_58_01_2608.jpg
/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_13_2560.jpg
/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_35_3534.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329227811","1329227808","1329227805","1329227819","1329227813","1329227815"],"photo_ids_order":["1329227805","1329227808","1329227811","1329227813","1329227815","1329227819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28b1e61fe923b3e12faf585b6332f7ce.jpg","text":"TemporaryFile(/tmp/multipartBody510101706474160417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974885438,"filename":"image_13012025_16_57_53_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7354b2d6c0a530a91578fc3408f085e0.jpg","text":"TemporaryFile(/tmp/multipartBody7254435386264925311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974885438,"filename":"image_13012025_16_57_49_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/75ae3cafde65bf18b4a4109c3b800f59.jpg","text":"TemporaryFile(/tmp/multipartBody5607041179552492112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974885438,"filename":"image_13012025_16_57_40_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/81bbbad192d6bf4d943f6996f3e57671.jpg","text":"TemporaryFile(/tmp/multipartBody1157106478304786326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974885438,"filename":"image_13012025_17_10_35_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be9a83a3e16e87c82cb7f0caa302cbc2.jpg","text":"TemporaryFile(/tmp/multipartBody8656035869872799392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974885438,"filename":"image_13012025_16_58_01_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/387fa1881992dc0b137fd5d74f56c944.jpg","text":"TemporaryFile(/tmp/multipartBody7631331060790376870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974885438,"filename":"image_13012025_17_10_13_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329227811","file1":"1329227808","file0":"1329227805","file4":"1329227815","file5":"1329227819","file3":"1329227813"},"map_files_photo_id_array":[{"photo_id":"1329227819","filename":"file5"},{"photo_id":"1329227811","filename":"file2"},{"photo_id":"1329227815","filename":"file4"},{"photo_id":"1329227808","filename":"file1"},{"photo_id":"1329227805","filename":"file0"},{"photo_id":"1329227813","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329227811":["hashtag1","hashtag2"]},{"1329227808":["hashtag1","hashtag2"]},{"1329227805":["hashtag1","hashtag2"]},{"1329227819":["hashtag1","hashtag2"]},{"1329227813":["hashtag1","hashtag2"]},{"1329227815":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329227811, 1329227808, 1329227805, 1329227819, 1329227813, 1329227815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11678671836853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:01:02.656843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_37_2582.jpg', '/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_22_2680.jpg', '/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_37_3654.jpg', '/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_58_2588.jpg', '/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_22_2848.jpg', '/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_44_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/10/image_13012025_17_10_37_2582.jpg
/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_22_2680.jpg
/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_37_3654.jpg
/home/pi/Desktop/images/13012025/17/11/image_13012025_17_11_58_2588.jpg
/home/pi/Desktop/images/13012025/17/14/image_13012025_17_14_22_2848.jpg
/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_44_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329227838","1329227841","1329227834","1329227848","1329227836","1329227839"],"photo_ids_order":["1329227834","1329227836","1329227838","1329227839","1329227841","1329227848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/202945fd5a76b1e2643e41b6b3fd1b10.jpg","text":"TemporaryFile(/tmp/multipartBody837080071264014757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974925051,"filename":"image_13012025_17_11_37_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8ff87972b1d1a8c19d4231c53202c18f.jpg","text":"TemporaryFile(/tmp/multipartBody4889765789564552803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974925051,"filename":"image_13012025_17_14_22_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5392e6036ba39bb2bef1f4842e276131.jpg","text":"TemporaryFile(/tmp/multipartBody476042953342059608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974925051,"filename":"image_13012025_17_10_37_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea69992832581ac313229e384c0603e1.jpg","text":"TemporaryFile(/tmp/multipartBody7780468164460831591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974925051,"filename":"image_13012025_17_15_44_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5c3fdd41c728335ec5db923c50a6772c.jpg","text":"TemporaryFile(/tmp/multipartBody1218873097505433827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974925051,"filename":"image_13012025_17_11_22_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e7f1629c3adfc6a6ede1121ed071298.jpg","text":"TemporaryFile(/tmp/multipartBody5237925413587920921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974925051,"filename":"image_13012025_17_11_58_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329227838","file1":"1329227836","file0":"1329227834","file4":"1329227841","file5":"1329227848","file3":"1329227839"},"map_files_photo_id_array":[{"photo_id":"1329227848","filename":"file5"},{"photo_id":"1329227838","filename":"file2"},{"photo_id":"1329227841","filename":"file4"},{"photo_id":"1329227836","filename":"file1"},{"photo_id":"1329227834","filename":"file0"},{"photo_id":"1329227839","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329227838":["hashtag1","hashtag2"]},{"1329227841":["hashtag1","hashtag2"]},{"1329227834":["hashtag1","hashtag2"]},{"1329227848":["hashtag1","hashtag2"]},{"1329227836":["hashtag1","hashtag2"]},{"1329227839":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329227838, 1329227841, 1329227834, 1329227848, 1329227836, 1329227839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21029615402222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:01:41.907037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_53_3604.jpg', '/home/pi/Desktop/images/13012025/17/16/image_13012025_17_16_01_2838.jpg', '/home/pi/Desktop/images/13012025/17/19/image_13012025_17_19_58_1755.jpg', '/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_19_2664.jpg', '/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_22_2645.jpg', '/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_37_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/15/image_13012025_17_15_53_3604.jpg
/home/pi/Desktop/images/13012025/17/16/image_13012025_17_16_01_2838.jpg
/home/pi/Desktop/images/13012025/17/19/image_13012025_17_19_58_1755.jpg
/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_19_2664.jpg
/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_22_2645.jpg
/home/pi/Desktop/images/13012025/17/21/image_13012025_17_21_37_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329227886","1329227882","1329227878","1329227866","1329227892","1329227874"],"photo_ids_order":["1329227866","1329227874","1329227878","1329227882","1329227886","1329227892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a43f12b14fc7434447388cad80f64673.jpg","text":"TemporaryFile(/tmp/multipartBody7671965735551067848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974963043,"filename":"image_13012025_17_21_22_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a25d439ac4b3a4c05c9cceb34e492dc0.jpg","text":"TemporaryFile(/tmp/multipartBody6316431173479899791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974963043,"filename":"image_13012025_17_21_19_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4100952157695e5b2d6ba495c09b74c5.jpg","text":"TemporaryFile(/tmp/multipartBody6071951888401787741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974963043,"filename":"image_13012025_17_19_58_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf2dc97dbb898665a9ef5638106daf2d.jpg","text":"TemporaryFile(/tmp/multipartBody6132111083935310809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974963043,"filename":"image_13012025_17_15_53_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/18115a713c91ff3cdcd036e03dad348c.jpg","text":"TemporaryFile(/tmp/multipartBody7898797117953734494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974963043,"filename":"image_13012025_17_21_37_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/72af73e292f58da32f2c61acc57ab33c.jpg","text":"TemporaryFile(/tmp/multipartBody924120078689605136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736974963043,"filename":"image_13012025_17_16_01_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329227878","file1":"1329227874","file0":"1329227866","file4":"1329227886","file5":"1329227892","file3":"1329227882"},"map_files_photo_id_array":[{"photo_id":"1329227892","filename":"file5"},{"photo_id":"1329227878","filename":"file2"},{"photo_id":"1329227886","filename":"file4"},{"photo_id":"1329227874","filename":"file1"},{"photo_id":"1329227866","filename":"file0"},{"photo_id":"1329227882","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329227886":["hashtag1","hashtag2"]},{"1329227882":["hashtag1","hashtag2"]},{"1329227878":["hashtag1","hashtag2"]},{"1329227866":["hashtag1","hashtag2"]},{"1329227892":["hashtag1","hashtag2"]},{"1329227874":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329227886, 1329227882, 1329227878, 1329227866, 1329227892, 1329227874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52621245384216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:02:22.361188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_04_2644.jpg', '/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_46_2725.jpg', '/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_58_3584.jpg', '/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_26_3571.jpg', '/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_55_3658.jpg', '/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_58_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_04_2644.jpg
/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_46_2725.jpg
/home/pi/Desktop/images/13012025/17/22/image_13012025_17_22_58_3584.jpg
/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_26_3571.jpg
/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_55_3658.jpg
/home/pi/Desktop/images/13012025/17/25/image_13012025_17_25_58_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329227897","1329227915","1329227906","1329227914","1329227902","1329227895"],"photo_ids_order":["1329227895","1329227897","1329227902","1329227906","1329227914","1329227915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a41b3a0d7478a1d60adf8de4f7c2c3e1.jpg","text":"TemporaryFile(/tmp/multipartBody3766339055304832420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975005211,"filename":"image_13012025_17_22_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4b6017ea50d3f076b7e17d8685bdc4a5.jpg","text":"TemporaryFile(/tmp/multipartBody3972085172130912070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975005211,"filename":"image_13012025_17_25_58_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8227dce0b9d9af56cfd120478e79c5dc.jpg","text":"TemporaryFile(/tmp/multipartBody3948506923386357565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975005211,"filename":"image_13012025_17_25_26_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad9e258c33aff9a4e7d8d3269895d358.jpg","text":"TemporaryFile(/tmp/multipartBody4283183588703356151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975005211,"filename":"image_13012025_17_25_55_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bb1cbd5df0fc7c5232588deff0206af2.jpg","text":"TemporaryFile(/tmp/multipartBody1967780190796744860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975005211,"filename":"image_13012025_17_22_58_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5686ecb669204f03116342a8652613d4.jpg","text":"TemporaryFile(/tmp/multipartBody5888115034523850856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975005211,"filename":"image_13012025_17_22_04_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329227902","file1":"1329227897","file0":"1329227895","file4":"1329227914","file5":"1329227915","file3":"1329227906"},"map_files_photo_id_array":[{"photo_id":"1329227915","filename":"file5"},{"photo_id":"1329227902","filename":"file2"},{"photo_id":"1329227914","filename":"file4"},{"photo_id":"1329227897","filename":"file1"},{"photo_id":"1329227895","filename":"file0"},{"photo_id":"1329227906","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329227897":["hashtag1","hashtag2"]},{"1329227915":["hashtag1","hashtag2"]},{"1329227906":["hashtag1","hashtag2"]},{"1329227914":["hashtag1","hashtag2"]},{"1329227902":["hashtag1","hashtag2"]},{"1329227895":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329227897, 1329227915, 1329227906, 1329227914, 1329227902, 1329227895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96804451942444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:03:02.692959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_37_2565.jpg', '/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_43_2333.jpg', '/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_22_3834.jpg', '/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_25_2625.jpg', '/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_49_2616.jpg', '/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_30_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_37_2565.jpg
/home/pi/Desktop/images/13012025/17/26/image_13012025_17_26_43_2333.jpg
/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_22_3834.jpg
/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_25_2625.jpg
/home/pi/Desktop/images/13012025/17/27/image_13012025_17_27_49_2616.jpg
/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_30_2816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329227958","1329227960","1329227963","1329227945","1329227927","1329227968"],"photo_ids_order":["1329227927","1329227945","1329227958","1329227960","1329227963","1329227968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36d901676df77f46ce35ffefdd82b254.jpg","text":"TemporaryFile(/tmp/multipartBody4677106034476052559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975044949,"filename":"image_13012025_17_27_22_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16bfc97667fffdeb7191a9ca733e6901.jpg","text":"TemporaryFile(/tmp/multipartBody3064069142114049248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975044949,"filename":"image_13012025_17_27_25_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3d07f0247df4f36ab181e2b12fe65c87.jpg","text":"TemporaryFile(/tmp/multipartBody8560777335438949539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975044949,"filename":"image_13012025_17_27_49_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9af1aa733847c3b04667fc828957201a.jpg","text":"TemporaryFile(/tmp/multipartBody4756958066620051085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975044949,"filename":"image_13012025_17_26_43_2333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0a85c91b58a22d9f51f0c1ead714dd24.jpg","text":"TemporaryFile(/tmp/multipartBody105575450739700873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975044949,"filename":"image_13012025_17_26_37_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0dfb7c0db4a4e0d95d17af25ad23720e.jpg","text":"TemporaryFile(/tmp/multipartBody9186326011836126622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975044949,"filename":"image_13012025_17_28_30_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329227958","file1":"1329227945","file0":"1329227927","file4":"1329227963","file5":"1329227968","file3":"1329227960"},"map_files_photo_id_array":[{"photo_id":"1329227968","filename":"file5"},{"photo_id":"1329227958","filename":"file2"},{"photo_id":"1329227963","filename":"file4"},{"photo_id":"1329227945","filename":"file1"},{"photo_id":"1329227927","filename":"file0"},{"photo_id":"1329227960","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329227958":["hashtag1","hashtag2"]},{"1329227960":["hashtag1","hashtag2"]},{"1329227963":["hashtag1","hashtag2"]},{"1329227945":["hashtag1","hashtag2"]},{"1329227927":["hashtag1","hashtag2"]},{"1329227968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329227958, 1329227960, 1329227963, 1329227945, 1329227927, 1329227968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.858299016952515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:03:42.063874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_34_3823.jpg', '/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_37_2783.jpg', '/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_40_2614.jpg', '/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_09_2582.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_07_3011.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_13_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_34_3823.jpg
/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_37_2783.jpg
/home/pi/Desktop/images/13012025/17/28/image_13012025_17_28_40_2614.jpg
/home/pi/Desktop/images/13012025/17/29/image_13012025_17_29_09_2582.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_07_3011.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_13_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329228452","1329228632","1329228361","1329228184","1329228271","1329228558"],"photo_ids_order":["1329228184","1329228271","1329228361","1329228452","1329228558","1329228632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/800de4031b0b83470684f2369e59ee59.jpg","text":"TemporaryFile(/tmp/multipartBody7904261569267611934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975083166,"filename":"image_13012025_17_29_09_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cf74390b857717c549754bf0b93afaae.jpg","text":"TemporaryFile(/tmp/multipartBody612921424006491157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975083166,"filename":"image_13012025_17_31_13_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/63a6d0221b3d9818b205ff4d936b8e61.jpg","text":"TemporaryFile(/tmp/multipartBody501132449276459703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975083166,"filename":"image_13012025_17_28_40_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3451e7c0a0936f5219417a938434c6f.jpg","text":"TemporaryFile(/tmp/multipartBody3038768077935484148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975083166,"filename":"image_13012025_17_28_34_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d6aee4ddb372413a76f4a6da89c7c3a.jpg","text":"TemporaryFile(/tmp/multipartBody2666891114696294666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975083166,"filename":"image_13012025_17_28_37_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/75e6e5d203da570326a173a3b40f41aa.jpg","text":"TemporaryFile(/tmp/multipartBody1870555581727949175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975083166,"filename":"image_13012025_17_31_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329228361","file1":"1329228271","file0":"1329228184","file4":"1329228558","file5":"1329228632","file3":"1329228452"},"map_files_photo_id_array":[{"photo_id":"1329228632","filename":"file5"},{"photo_id":"1329228361","filename":"file2"},{"photo_id":"1329228558","filename":"file4"},{"photo_id":"1329228271","filename":"file1"},{"photo_id":"1329228184","filename":"file0"},{"photo_id":"1329228452","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329228452":["hashtag1","hashtag2"]},{"1329228632":["hashtag1","hashtag2"]},{"1329228361":["hashtag1","hashtag2"]},{"1329228184":["hashtag1","hashtag2"]},{"1329228271":["hashtag1","hashtag2"]},{"1329228558":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329228452, 1329228632, 1329228361, 1329228184, 1329228271, 1329228558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51414489746094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:04:22.513022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_17_3659.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_22_2759.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_31_2629.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_34_2839.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_38_3615.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_43_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_17_3659.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_22_2759.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_31_2629.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_34_2839.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_38_3615.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_43_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329228665","1329228647","1329228737","1329228650","1329228644","1329228645"],"photo_ids_order":["1329228644","1329228645","1329228647","1329228650","1329228665","1329228737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/76594137062dcd35ea4f0a5edf6f1cd9.jpg","text":"TemporaryFile(/tmp/multipartBody5760495778422024533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975125378,"filename":"image_13012025_17_31_38_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a02f67bd9be663eef0cd20edff2a75af.jpg","text":"TemporaryFile(/tmp/multipartBody5265505206109278166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975125378,"filename":"image_13012025_17_31_31_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0a232fb68e8310e989475ebed9f4eb5a.jpg","text":"TemporaryFile(/tmp/multipartBody4854671896647224693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975125378,"filename":"image_13012025_17_31_43_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5dac051616ff34de15f7a6f322de09d9.jpg","text":"TemporaryFile(/tmp/multipartBody1101729937068859082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975125378,"filename":"image_13012025_17_31_34_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/284192a30ac1a13c5f235d579b118296.jpg","text":"TemporaryFile(/tmp/multipartBody7574020089355287999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975125378,"filename":"image_13012025_17_31_17_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc53aa10b56ed9be9f8bb031d6b7d097.jpg","text":"TemporaryFile(/tmp/multipartBody1623957562967580084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975125378,"filename":"image_13012025_17_31_22_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329228647","file1":"1329228645","file0":"1329228644","file4":"1329228665","file5":"1329228737","file3":"1329228650"},"map_files_photo_id_array":[{"photo_id":"1329228737","filename":"file5"},{"photo_id":"1329228647","filename":"file2"},{"photo_id":"1329228665","filename":"file4"},{"photo_id":"1329228645","filename":"file1"},{"photo_id":"1329228644","filename":"file0"},{"photo_id":"1329228650","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329228665":["hashtag1","hashtag2"]},{"1329228647":["hashtag1","hashtag2"]},{"1329228737":["hashtag1","hashtag2"]},{"1329228650":["hashtag1","hashtag2"]},{"1329228644":["hashtag1","hashtag2"]},{"1329228645":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329228665, 1329228647, 1329228737, 1329228650, 1329228644, 1329228645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65531253814697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:05:02.898740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_46_2729.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_50_3604.jpg', '/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_59_3830.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_07_2952.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_11_3720.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_14_2875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_46_2729.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_50_3604.jpg
/home/pi/Desktop/images/13012025/17/31/image_13012025_17_31_59_3830.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_07_2952.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_11_3720.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_14_2875.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329229466","1329229469","1329229460","1329229457","1329229502","1329229429"],"photo_ids_order":["1329229429","1329229457","1329229460","1329229466","1329229469","1329229502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e08981047559b051c0b46944b9414ac3.jpg","text":"TemporaryFile(/tmp/multipartBody8944645826385754197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975165149,"filename":"image_13012025_17_32_07_2952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21ce525071873d49f7c0706ed373e7a5.jpg","text":"TemporaryFile(/tmp/multipartBody2389154602131222518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975165149,"filename":"image_13012025_17_32_11_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4185181d9890a16a76c4f53d7a4df069.jpg","text":"TemporaryFile(/tmp/multipartBody8082150965891865766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975165149,"filename":"image_13012025_17_31_59_3830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/292a2ef49f0795f9f7a3963ea4486fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8873633918613449482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975165149,"filename":"image_13012025_17_31_50_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/167b33a63f5ebd17637f58a87d39284f.jpg","text":"TemporaryFile(/tmp/multipartBody6302141873792009827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975165149,"filename":"image_13012025_17_32_14_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77176935614c21b6f3bcfb7c5639e20d.jpg","text":"TemporaryFile(/tmp/multipartBody6676038954221531143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975165149,"filename":"image_13012025_17_31_46_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329229460","file1":"1329229457","file0":"1329229429","file4":"1329229469","file5":"1329229502","file3":"1329229466"},"map_files_photo_id_array":[{"photo_id":"1329229502","filename":"file5"},{"photo_id":"1329229460","filename":"file2"},{"photo_id":"1329229469","filename":"file4"},{"photo_id":"1329229457","filename":"file1"},{"photo_id":"1329229429","filename":"file0"},{"photo_id":"1329229466","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329229466":["hashtag1","hashtag2"]},{"1329229469":["hashtag1","hashtag2"]},{"1329229460":["hashtag1","hashtag2"]},{"1329229457":["hashtag1","hashtag2"]},{"1329229502":["hashtag1","hashtag2"]},{"1329229429":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329229466, 1329229469, 1329229460, 1329229457, 1329229502, 1329229429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.896003007888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:05:42.175702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_16_2580.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_20_3623.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_22_2568.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_25_2601.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_29_3680.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_31_2531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_16_2580.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_20_3623.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_22_2568.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_25_2601.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_29_3680.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_31_2531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329229949","1329229745","1329229835","1329229974","1329229994","1329229707"],"photo_ids_order":["1329229707","1329229745","1329229835","1329229949","1329229974","1329229994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/57ff167cfe291cecdb84bc16cee58cb9.jpg","text":"TemporaryFile(/tmp/multipartBody8141147522043340950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975203280,"filename":"image_13012025_17_32_25_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6768fe6d72a1d618e48a1a412ca4e51c.jpg","text":"TemporaryFile(/tmp/multipartBody6205466746803835847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975203280,"filename":"image_13012025_17_32_20_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d9f522625f2618202db7d6d7b9cdfe2f.jpg","text":"TemporaryFile(/tmp/multipartBody6408264254828211400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975203280,"filename":"image_13012025_17_32_22_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5490c6080728d202301471494fb40928.jpg","text":"TemporaryFile(/tmp/multipartBody5364850812620613546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975203280,"filename":"image_13012025_17_32_29_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/481d28ce39b3bc38d80db0fadd1e2f2e.jpg","text":"TemporaryFile(/tmp/multipartBody2598098409272741402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975203280,"filename":"image_13012025_17_32_31_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e8fb990e89f475590b1294d37d9baee4.jpg","text":"TemporaryFile(/tmp/multipartBody4192460637612314140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975203280,"filename":"image_13012025_17_32_16_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329229835","file1":"1329229745","file0":"1329229707","file4":"1329229974","file5":"1329229994","file3":"1329229949"},"map_files_photo_id_array":[{"photo_id":"1329229994","filename":"file5"},{"photo_id":"1329229835","filename":"file2"},{"photo_id":"1329229974","filename":"file4"},{"photo_id":"1329229745","filename":"file1"},{"photo_id":"1329229707","filename":"file0"},{"photo_id":"1329229949","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329229949":["hashtag1","hashtag2"]},{"1329229745":["hashtag1","hashtag2"]},{"1329229835":["hashtag1","hashtag2"]},{"1329229974":["hashtag1","hashtag2"]},{"1329229994":["hashtag1","hashtag2"]},{"1329229707":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329229949, 1329229745, 1329229835, 1329229974, 1329229994, 1329229707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.010221004486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:06:22.465387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_34_2757.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_38_3559.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_40_2818.jpg', '/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_52_2580.jpg', '/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_37_2655.jpg', '/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_44_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_34_2757.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_38_3559.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_40_2818.jpg
/home/pi/Desktop/images/13012025/17/32/image_13012025_17_32_52_2580.jpg
/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_37_2655.jpg
/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_44_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230279","1329230243","1329230257","1329230269","1329230254","1329230274"],"photo_ids_order":["1329230243","1329230254","1329230257","1329230269","1329230274","1329230279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a132cd4f0b5e692ab83a759c0c0ba64.jpg","text":"TemporaryFile(/tmp/multipartBody6827830669703815754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975245418,"filename":"image_13012025_17_33_44_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/530014ffc5f604ef99f7a434a7089148.jpg","text":"TemporaryFile(/tmp/multipartBody8829527108406357617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975245418,"filename":"image_13012025_17_32_34_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/72332723fb560269b39600510d09f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7222331027704460029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975245418,"filename":"image_13012025_17_32_40_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b2b481b51f245d4ce492c7f3a47869a.jpg","text":"TemporaryFile(/tmp/multipartBody3122432558929285471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975245418,"filename":"image_13012025_17_32_52_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec67b739d344935c88828cfbae3378b0.jpg","text":"TemporaryFile(/tmp/multipartBody1750920137231438841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975245418,"filename":"image_13012025_17_32_38_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1643227510fb525bc87ef48d61fb4173.jpg","text":"TemporaryFile(/tmp/multipartBody930086633758064246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975245418,"filename":"image_13012025_17_33_37_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230257","file1":"1329230254","file0":"1329230243","file4":"1329230274","file5":"1329230279","file3":"1329230269"},"map_files_photo_id_array":[{"photo_id":"1329230279","filename":"file5"},{"photo_id":"1329230257","filename":"file2"},{"photo_id":"1329230274","filename":"file4"},{"photo_id":"1329230254","filename":"file1"},{"photo_id":"1329230243","filename":"file0"},{"photo_id":"1329230269","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230279":["hashtag1","hashtag2"]},{"1329230243":["hashtag1","hashtag2"]},{"1329230257":["hashtag1","hashtag2"]},{"1329230269":["hashtag1","hashtag2"]},{"1329230254":["hashtag1","hashtag2"]},{"1329230274":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230279, 1329230243, 1329230257, 1329230269, 1329230254, 1329230274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71612596511841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:07:02.591943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_49_2822.jpg', '/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_10_2584.jpg', '/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_42_3043.jpg', '/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_28_3762.jpg', '/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_40_2739.jpg', '/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_43_3122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/33/image_13012025_17_33_49_2822.jpg
/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_10_2584.jpg
/home/pi/Desktop/images/13012025/17/34/image_13012025_17_34_42_3043.jpg
/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_28_3762.jpg
/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_40_2739.jpg
/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_43_3122.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230345","1329230339","1329230344","1329230347","1329230340","1329230298"],"photo_ids_order":["1329230298","1329230339","1329230340","1329230344","1329230345","1329230347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de7c00b881b845439d6e62754bd7a010.jpg","text":"TemporaryFile(/tmp/multipartBody6857678838045497430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975284885,"filename":"image_13012025_17_35_40_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bb9f858d0ab8d291461fb4a8d8612d4e.jpg","text":"TemporaryFile(/tmp/multipartBody5126017771383626588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975284885,"filename":"image_13012025_17_34_10_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0532ac9d0b617f92cf962b4f0612c0f7.jpg","text":"TemporaryFile(/tmp/multipartBody9193360679672280064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975284885,"filename":"image_13012025_17_35_28_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e284840426864aadf43c105c5546c669.jpg","text":"TemporaryFile(/tmp/multipartBody7249424698715128833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975284885,"filename":"image_13012025_17_35_43_3122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bff7811ad93aa4578cbebd8ed5503bdd.jpg","text":"TemporaryFile(/tmp/multipartBody468194445726011578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975284885,"filename":"image_13012025_17_34_42_3043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4755a4e363b65c98c1a99735cd393641.jpg","text":"TemporaryFile(/tmp/multipartBody2455365744861062423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975284885,"filename":"image_13012025_17_33_49_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230340","file1":"1329230339","file0":"1329230298","file4":"1329230345","file5":"1329230347","file3":"1329230344"},"map_files_photo_id_array":[{"photo_id":"1329230347","filename":"file5"},{"photo_id":"1329230340","filename":"file2"},{"photo_id":"1329230345","filename":"file4"},{"photo_id":"1329230339","filename":"file1"},{"photo_id":"1329230298","filename":"file0"},{"photo_id":"1329230344","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230345":["hashtag1","hashtag2"]},{"1329230339":["hashtag1","hashtag2"]},{"1329230344":["hashtag1","hashtag2"]},{"1329230347":["hashtag1","hashtag2"]},{"1329230340":["hashtag1","hashtag2"]},{"1329230298":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230345, 1329230339, 1329230344, 1329230347, 1329230340, 1329230298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08111214637756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:07:41.955576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_46_2940.jpg', '/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_45_2665.jpg', '/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_51_2621.jpg', '/home/pi/Desktop/images/13012025/17/38/image_13012025_17_38_24_2769.jpg', '/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_54_2764.jpg', '/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_23_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/35/image_13012025_17_35_46_2940.jpg
/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_45_2665.jpg
/home/pi/Desktop/images/13012025/17/37/image_13012025_17_37_51_2621.jpg
/home/pi/Desktop/images/13012025/17/38/image_13012025_17_38_24_2769.jpg
/home/pi/Desktop/images/13012025/17/39/image_13012025_17_39_54_2764.jpg
/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_23_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230390","1329230392","1329230395","1329230373","1329230397","1329230382"],"photo_ids_order":["1329230373","1329230382","1329230390","1329230392","1329230395","1329230397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a3e44bd4b5e4e465f448efecc09985a.jpg","text":"TemporaryFile(/tmp/multipartBody5116330033049949556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975323097,"filename":"image_13012025_17_37_51_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99338f92d77c553de3e5620f177e818f.jpg","text":"TemporaryFile(/tmp/multipartBody405261484668409187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975323097,"filename":"image_13012025_17_38_24_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33e2428eba1c86fc8d85592cc674e92f.jpg","text":"TemporaryFile(/tmp/multipartBody8914083522916235101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975323097,"filename":"image_13012025_17_39_54_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f9a0216bcf0da43340bfa89ae71a88c1.jpg","text":"TemporaryFile(/tmp/multipartBody3583763399275696801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975323097,"filename":"image_13012025_17_35_46_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a3ab6594c73020abd7e5a8147ea11db7.jpg","text":"TemporaryFile(/tmp/multipartBody3629455386811501824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975323097,"filename":"image_13012025_17_40_23_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7bb7393574db9d62b73e9856f1edcc22.jpg","text":"TemporaryFile(/tmp/multipartBody7294948021725483497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975323097,"filename":"image_13012025_17_37_45_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230390","file1":"1329230382","file0":"1329230373","file4":"1329230395","file5":"1329230397","file3":"1329230392"},"map_files_photo_id_array":[{"photo_id":"1329230397","filename":"file5"},{"photo_id":"1329230390","filename":"file2"},{"photo_id":"1329230395","filename":"file4"},{"photo_id":"1329230382","filename":"file1"},{"photo_id":"1329230373","filename":"file0"},{"photo_id":"1329230392","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230390":["hashtag1","hashtag2"]},{"1329230392":["hashtag1","hashtag2"]},{"1329230395":["hashtag1","hashtag2"]},{"1329230373":["hashtag1","hashtag2"]},{"1329230397":["hashtag1","hashtag2"]},{"1329230382":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230390, 1329230392, 1329230395, 1329230373, 1329230397, 1329230382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97735810279846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:08:22.642255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_28_2688.jpg', '/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_34_2740.jpg', '/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_55_2597.jpg', '/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_25_2591.jpg', '/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_31_2671.jpg', '/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_34_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_28_2688.jpg
/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_34_2740.jpg
/home/pi/Desktop/images/13012025/17/40/image_13012025_17_40_55_2597.jpg
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_25_2591.jpg
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_31_2671.jpg
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_34_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230424","1329230415","1329230417","1329230446","1329230419","1329230449"],"photo_ids_order":["1329230415","1329230417","1329230419","1329230424","1329230446","1329230449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b19922d5654f954cb00d14dee8def8a0.jpg","text":"TemporaryFile(/tmp/multipartBody4297311847091061361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975365526,"filename":"image_13012025_17_43_25_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6b0a2846db060bb6ea4eb2da77fe717a.jpg","text":"TemporaryFile(/tmp/multipartBody7963150017483746373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975365526,"filename":"image_13012025_17_40_28_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44b89311a5cae15e78b31e8d3dcad824.jpg","text":"TemporaryFile(/tmp/multipartBody3937790400882509784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975365526,"filename":"image_13012025_17_40_34_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cbaafea171ea835be3843a959c074b71.jpg","text":"TemporaryFile(/tmp/multipartBody6196749777146962279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975365526,"filename":"image_13012025_17_43_31_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97d7049ed93ad104887884c5b370c6b4.jpg","text":"TemporaryFile(/tmp/multipartBody2058457121225981688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975365526,"filename":"image_13012025_17_40_55_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/695b0ddf20bee5efca6d2c50fbb963e3.jpg","text":"TemporaryFile(/tmp/multipartBody8789011540187082754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975365526,"filename":"image_13012025_17_43_34_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230419","file1":"1329230417","file0":"1329230415","file4":"1329230446","file5":"1329230449","file3":"1329230424"},"map_files_photo_id_array":[{"photo_id":"1329230449","filename":"file5"},{"photo_id":"1329230419","filename":"file2"},{"photo_id":"1329230446","filename":"file4"},{"photo_id":"1329230417","filename":"file1"},{"photo_id":"1329230415","filename":"file0"},{"photo_id":"1329230424","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230424":["hashtag1","hashtag2"]},{"1329230415":["hashtag1","hashtag2"]},{"1329230417":["hashtag1","hashtag2"]},{"1329230446":["hashtag1","hashtag2"]},{"1329230419":["hashtag1","hashtag2"]},{"1329230449":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230424, 1329230415, 1329230417, 1329230446, 1329230419, 1329230449)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.281474590301514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:09:22.282913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_38_3702.jpg', '/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_40_2666.jpg', '/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_43_2575.jpg', '/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_55_2654.jpg', '/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_16_2623.jpg', '/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_22_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_38_3702.jpg
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_40_2666.jpg
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_43_2575.jpg
/home/pi/Desktop/images/13012025/17/43/image_13012025_17_43_55_2654.jpg
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_16_2623.jpg
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_22_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230489","1329230483","1329230474","1329230485","1329230479","1329230481"],"photo_ids_order":["1329230474","1329230479","1329230481","1329230483","1329230485","1329230489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f6427b018bb92090ed345f650a90a36.jpg","text":"TemporaryFile(/tmp/multipartBody3903426177418413017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975425067,"filename":"image_13012025_17_44_22_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2f4458b24765f76a93f89f29f8c3e28.jpg","text":"TemporaryFile(/tmp/multipartBody2324223569005180979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975425067,"filename":"image_13012025_17_43_55_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e5fb11390d74b2b759a2c6162432233c.jpg","text":"TemporaryFile(/tmp/multipartBody1771651935057716845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975425067,"filename":"image_13012025_17_43_38_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f9a2f67adb6cda9cefac02c7908a7dfb.jpg","text":"TemporaryFile(/tmp/multipartBody5574151532790516445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975425067,"filename":"image_13012025_17_44_16_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7f2124e2e3bd59f1a7a479152f2da9e7.jpg","text":"TemporaryFile(/tmp/multipartBody676541281279201937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975425067,"filename":"image_13012025_17_43_40_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/943f244ed21a85d2b0b3105a3b057849.jpg","text":"TemporaryFile(/tmp/multipartBody2406413308161100590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975425067,"filename":"image_13012025_17_43_43_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230481","file1":"1329230479","file0":"1329230474","file4":"1329230485","file5":"1329230489","file3":"1329230483"},"map_files_photo_id_array":[{"photo_id":"1329230489","filename":"file5"},{"photo_id":"1329230481","filename":"file2"},{"photo_id":"1329230485","filename":"file4"},{"photo_id":"1329230479","filename":"file1"},{"photo_id":"1329230474","filename":"file0"},{"photo_id":"1329230483","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230489":["hashtag1","hashtag2"]},{"1329230483":["hashtag1","hashtag2"]},{"1329230474":["hashtag1","hashtag2"]},{"1329230485":["hashtag1","hashtag2"]},{"1329230479":["hashtag1","hashtag2"]},{"1329230481":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230489, 1329230483, 1329230474, 1329230485, 1329230479, 1329230481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.698036193847656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:10:03.205904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_25_2664.jpg', '/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_28_2621.jpg', '/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_34_2732.jpg', '/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_58_2776.jpg', '/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_07_3011.jpg', '/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_16_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_25_2664.jpg
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_28_2621.jpg
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_34_2732.jpg
/home/pi/Desktop/images/13012025/17/44/image_13012025_17_44_58_2776.jpg
/home/pi/Desktop/images/13012025/17/45/image_13012025_17_45_07_3011.jpg
/home/pi/Desktop/images/13012025/17/52/image_13012025_17_52_16_2825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230538","1329230505","1329230537","1329230516","1329230524","1329230518"],"photo_ids_order":["1329230505","1329230516","1329230518","1329230524","1329230537","1329230538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/558ca730eb8d7d0ee7c3530115461e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6145202205565107280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975465324,"filename":"image_13012025_17_52_16_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c1c2cca91b839d7973425d7b030e76e.jpg","text":"TemporaryFile(/tmp/multipartBody8225971222874670158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975465324,"filename":"image_13012025_17_44_25_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1a3b00a5bb860885d79a64abf9f5a347.jpg","text":"TemporaryFile(/tmp/multipartBody5291983698302004019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975465324,"filename":"image_13012025_17_45_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd21546b44228c8b1edb41c3e8eb6e9e.jpg","text":"TemporaryFile(/tmp/multipartBody4389054431683033359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975465324,"filename":"image_13012025_17_44_28_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fcc34fbf2f13bf084d3c5eee455688f6.jpg","text":"TemporaryFile(/tmp/multipartBody4095498586642745334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975465324,"filename":"image_13012025_17_44_58_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64a56c00c4d43631242ccbbdd693c82c.jpg","text":"TemporaryFile(/tmp/multipartBody5113356738451140820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975465324,"filename":"image_13012025_17_44_34_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230518","file1":"1329230516","file0":"1329230505","file4":"1329230537","file5":"1329230538","file3":"1329230524"},"map_files_photo_id_array":[{"photo_id":"1329230538","filename":"file5"},{"photo_id":"1329230518","filename":"file2"},{"photo_id":"1329230537","filename":"file4"},{"photo_id":"1329230516","filename":"file1"},{"photo_id":"1329230505","filename":"file0"},{"photo_id":"1329230524","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230538":["hashtag1","hashtag2"]},{"1329230505":["hashtag1","hashtag2"]},{"1329230537":["hashtag1","hashtag2"]},{"1329230516":["hashtag1","hashtag2"]},{"1329230524":["hashtag1","hashtag2"]},{"1329230518":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230538, 1329230505, 1329230537, 1329230516, 1329230524, 1329230518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04293632507324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:11:03.154767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_07_3011.jpg', '/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_42_2612.jpg', '/home/pi/Desktop/images/13012025/18/01/image_13012025_18_02_01_3656.jpg', '/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_25_3606.jpg', '/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_48_3704.jpg', '/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_17_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/17/56/image_13012025_17_56_07_3011.jpg
/home/pi/Desktop/images/13012025/17/59/image_13012025_17_59_42_2612.jpg
/home/pi/Desktop/images/13012025/18/01/image_13012025_18_02_01_3656.jpg
/home/pi/Desktop/images/13012025/18/06/image_13012025_18_06_25_3606.jpg
/home/pi/Desktop/images/13012025/18/11/image_13012025_18_11_48_3704.jpg
/home/pi/Desktop/images/13012025/18/20/image_13012025_18_20_17_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230736","1329230762","1329230735","1329230772","1329230766","1329230769"],"photo_ids_order":["1329230735","1329230736","1329230762","1329230766","1329230769","1329230772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a219e355275b9dd3b53e7bfb6f67ceb8.jpg","text":"TemporaryFile(/tmp/multipartBody9062488666295183841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975525411,"filename":"image_13012025_17_59_42_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b4fba021b34f16f846a68fc74896714a.jpg","text":"TemporaryFile(/tmp/multipartBody7187990587574552461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975525411,"filename":"image_13012025_18_02_01_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f6072b57b3f0cf61e632de79c912a031.jpg","text":"TemporaryFile(/tmp/multipartBody1148948187727649608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975525411,"filename":"image_13012025_17_56_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c59558ceb46337f6e29f089c96ad4fa5.jpg","text":"TemporaryFile(/tmp/multipartBody2623266255663503273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975525411,"filename":"image_13012025_18_20_17_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f4fb375cba2ce11783c2dc3aacf157d5.jpg","text":"TemporaryFile(/tmp/multipartBody4031598494629642642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975525411,"filename":"image_13012025_18_06_25_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48b170ca61d61c5fa3677bcf08429303.jpg","text":"TemporaryFile(/tmp/multipartBody8520760417001467045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975525411,"filename":"image_13012025_18_11_48_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230762","file1":"1329230736","file0":"1329230735","file4":"1329230769","file5":"1329230772","file3":"1329230766"},"map_files_photo_id_array":[{"photo_id":"1329230772","filename":"file5"},{"photo_id":"1329230762","filename":"file2"},{"photo_id":"1329230769","filename":"file4"},{"photo_id":"1329230736","filename":"file1"},{"photo_id":"1329230735","filename":"file0"},{"photo_id":"1329230766","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230736":["hashtag1","hashtag2"]},{"1329230762":["hashtag1","hashtag2"]},{"1329230735":["hashtag1","hashtag2"]},{"1329230772":["hashtag1","hashtag2"]},{"1329230766":["hashtag1","hashtag2"]},{"1329230769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230736, 1329230762, 1329230735, 1329230772, 1329230766, 1329230769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0194365978241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:12:03.377483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_40_2581.jpg', '/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_55_2691.jpg', '/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_58_2751.jpg', '/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_01_2578.jpg', '/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_32_4460.jpg', '/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_49_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_40_2581.jpg
/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_55_2691.jpg
/home/pi/Desktop/images/13012025/18/30/image_13012025_18_30_58_2751.jpg
/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_01_2578.jpg
/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_32_4460.jpg
/home/pi/Desktop/images/13012025/18/31/image_13012025_18_31_49_2526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230802","1329230805","1329230798","1329230807","1329230796","1329230800"],"photo_ids_order":["1329230796","1329230798","1329230800","1329230802","1329230805","1329230807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a8a7e97899225224526e99e94789e5bb.jpg","text":"TemporaryFile(/tmp/multipartBody535755600378638032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975585534,"filename":"image_13012025_18_31_01_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f3269bb290e99c99c1dcf24a489d722.jpg","text":"TemporaryFile(/tmp/multipartBody323482502867500125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975585534,"filename":"image_13012025_18_31_32_4460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d177a7143c389fe6afa2852b65c447d4.jpg","text":"TemporaryFile(/tmp/multipartBody7090828763996360304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975585534,"filename":"image_13012025_18_30_55_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff7c5e420c906cbb76f20f826c567906.jpg","text":"TemporaryFile(/tmp/multipartBody3063119137331434120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975585534,"filename":"image_13012025_18_31_49_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/18e3bbca29d685308b12ce84cd4b293e.jpg","text":"TemporaryFile(/tmp/multipartBody7822702544045784760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975585534,"filename":"image_13012025_18_30_40_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a8615b389c5fc0837807da5d3f137944.jpg","text":"TemporaryFile(/tmp/multipartBody8118875112946684798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975585534,"filename":"image_13012025_18_30_58_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230800","file1":"1329230798","file0":"1329230796","file4":"1329230805","file5":"1329230807","file3":"1329230802"},"map_files_photo_id_array":[{"photo_id":"1329230807","filename":"file5"},{"photo_id":"1329230800","filename":"file2"},{"photo_id":"1329230805","filename":"file4"},{"photo_id":"1329230798","filename":"file1"},{"photo_id":"1329230796","filename":"file0"},{"photo_id":"1329230802","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230802":["hashtag1","hashtag2"]},{"1329230805":["hashtag1","hashtag2"]},{"1329230798":["hashtag1","hashtag2"]},{"1329230807":["hashtag1","hashtag2"]},{"1329230796":["hashtag1","hashtag2"]},{"1329230800":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230802, 1329230805, 1329230798, 1329230807, 1329230796, 1329230800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.282100677490234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:12:42.725735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_22_2540.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_36_2595.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_39_2748.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_43_3567.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_55_2611.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_57_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_22_2540.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_36_2595.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_39_2748.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_43_3567.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_55_2611.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_57_2707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.028393030166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:13:02.712435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_22_2540.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_36_2595.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_39_2748.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_43_3567.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_55_2611.jpg', '/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_57_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/18/37/image_13012025_18_37_22_2540.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_36_2595.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_39_2748.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_43_3567.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_55_2611.jpg
/home/pi/Desktop/images/13012025/18/38/image_13012025_18_38_57_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230829","1329230862","1329230859","1329230844","1329230838","1329230853"],"photo_ids_order":["1329230829","1329230838","1329230844","1329230853","1329230859","1329230862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/66b12abc8fc36113d67655fe25d37602.jpg","text":"TemporaryFile(/tmp/multipartBody7733937662801096689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975644993,"filename":"image_13012025_18_37_22_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5f1aaa41f17e36cd31616b75c5bede37.jpg","text":"TemporaryFile(/tmp/multipartBody4814179912703706185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975644993,"filename":"image_13012025_18_38_57_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a616b3d58cafeee5e8f02f5dac75c56d.jpg","text":"TemporaryFile(/tmp/multipartBody120524379631857956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975644993,"filename":"image_13012025_18_38_55_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38c72a780207dcd5285f6ca18b7f52a1.jpg","text":"TemporaryFile(/tmp/multipartBody3034417506849804023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975644993,"filename":"image_13012025_18_38_39_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5b31c04cf9d04f27fbbf09226110244.jpg","text":"TemporaryFile(/tmp/multipartBody3710658866358724245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975644993,"filename":"image_13012025_18_38_36_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/01c4c4c60bbf64cf1f8139ec04a62919.jpg","text":"TemporaryFile(/tmp/multipartBody2524535649249900437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975644993,"filename":"image_13012025_18_38_43_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230844","file1":"1329230838","file0":"1329230829","file4":"1329230859","file5":"1329230862","file3":"1329230853"},"map_files_photo_id_array":[{"photo_id":"1329230862","filename":"file5"},{"photo_id":"1329230844","filename":"file2"},{"photo_id":"1329230859","filename":"file4"},{"photo_id":"1329230838","filename":"file1"},{"photo_id":"1329230829","filename":"file0"},{"photo_id":"1329230853","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230829":["hashtag1","hashtag2"]},{"1329230862":["hashtag1","hashtag2"]},{"1329230859":["hashtag1","hashtag2"]},{"1329230844":["hashtag1","hashtag2"]},{"1329230838":["hashtag1","hashtag2"]},{"1329230853":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230829, 1329230862, 1329230859, 1329230844, 1329230838, 1329230853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56123423576355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:13:41.940779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_54_2703.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_27_2626.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_31_3761.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_33_2610.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_40_3629.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_42_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/18/39/image_13012025_18_39_54_2703.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_27_2626.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_31_3761.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_33_2610.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_40_3629.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_42_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230913","1329230915","1329230908","1329230902","1329230905","1329230910"],"photo_ids_order":["1329230902","1329230905","1329230908","1329230910","1329230913","1329230915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d7b6007c12c0876c4889e03dc028dbc.jpg","text":"TemporaryFile(/tmp/multipartBody8212157539756057651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975683052,"filename":"image_13012025_18_40_40_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/917645f23c24a7d72374e8ab2635a013.jpg","text":"TemporaryFile(/tmp/multipartBody8824507876778496220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975683052,"filename":"image_13012025_18_40_42_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f3d1aa6934b587a555e2ed61e87c7a2a.jpg","text":"TemporaryFile(/tmp/multipartBody3994372115763463633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975683052,"filename":"image_13012025_18_40_31_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83a5eb1586f7f504249485d4001ece8a.jpg","text":"TemporaryFile(/tmp/multipartBody4827737842447111176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975683052,"filename":"image_13012025_18_39_54_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8dab2e933dad80ef7feb1f6b3bd80433.jpg","text":"TemporaryFile(/tmp/multipartBody4281478203571855164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975683052,"filename":"image_13012025_18_40_27_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0367cfea660142c0aafc5571dee711f.jpg","text":"TemporaryFile(/tmp/multipartBody3824956583384108963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975683052,"filename":"image_13012025_18_40_33_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230908","file1":"1329230905","file0":"1329230902","file4":"1329230913","file5":"1329230915","file3":"1329230910"},"map_files_photo_id_array":[{"photo_id":"1329230915","filename":"file5"},{"photo_id":"1329230908","filename":"file2"},{"photo_id":"1329230913","filename":"file4"},{"photo_id":"1329230905","filename":"file1"},{"photo_id":"1329230902","filename":"file0"},{"photo_id":"1329230910","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230913":["hashtag1","hashtag2"]},{"1329230915":["hashtag1","hashtag2"]},{"1329230908":["hashtag1","hashtag2"]},{"1329230902":["hashtag1","hashtag2"]},{"1329230905":["hashtag1","hashtag2"]},{"1329230910":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230913, 1329230915, 1329230908, 1329230902, 1329230905, 1329230910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91836476325989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:14:22.572419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_45_2646.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_49_3578.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_51_2692.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_57_2639.jpg', '/home/pi/Desktop/images/13012025/18/40/image_13012025_18_41_00_2787.jpg', '/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_06_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_45_2646.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_49_3578.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_51_2692.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_40_57_2639.jpg
/home/pi/Desktop/images/13012025/18/40/image_13012025_18_41_00_2787.jpg
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_06_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230928","1329230922","1329230936","1329230923","1329230931","1329230925"],"photo_ids_order":["1329230922","1329230923","1329230925","1329230928","1329230931","1329230936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9bc6e2bd907fe46d3bc0e349da55bc4c.jpg","text":"TemporaryFile(/tmp/multipartBody6122623633870868026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975725459,"filename":"image_13012025_18_40_57_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa60188845ac117519d1afab4e877525.jpg","text":"TemporaryFile(/tmp/multipartBody6507628936454777022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975725459,"filename":"image_13012025_18_40_45_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f987055101084280d6c8b10033851f49.jpg","text":"TemporaryFile(/tmp/multipartBody1075692948484919103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975725459,"filename":"image_13012025_18_41_06_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/427a3c0e508e0d50a285babc0828896c.jpg","text":"TemporaryFile(/tmp/multipartBody6714165390033370002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975725459,"filename":"image_13012025_18_40_49_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/25cc56f6e2986f03d9e11c811cfe6079.jpg","text":"TemporaryFile(/tmp/multipartBody8906782583805413582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975725459,"filename":"image_13012025_18_41_00_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d68c0c463332c8ce48d3e636bffdccfb.jpg","text":"TemporaryFile(/tmp/multipartBody4301236284290518869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975725459,"filename":"image_13012025_18_40_51_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230925","file1":"1329230923","file0":"1329230922","file4":"1329230931","file5":"1329230936","file3":"1329230928"},"map_files_photo_id_array":[{"photo_id":"1329230936","filename":"file5"},{"photo_id":"1329230925","filename":"file2"},{"photo_id":"1329230931","filename":"file4"},{"photo_id":"1329230923","filename":"file1"},{"photo_id":"1329230922","filename":"file0"},{"photo_id":"1329230928","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230928":["hashtag1","hashtag2"]},{"1329230922":["hashtag1","hashtag2"]},{"1329230936":["hashtag1","hashtag2"]},{"1329230923":["hashtag1","hashtag2"]},{"1329230931":["hashtag1","hashtag2"]},{"1329230925":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230928, 1329230922, 1329230936, 1329230923, 1329230931, 1329230925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.794729232788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:15:03.069635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_09_2629.jpg', '/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_13_3539.jpg', '/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_15_2847.jpg', '/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_18_2891.jpg', '/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_25_3780.jpg', '/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_48_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_09_2629.jpg
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_13_3539.jpg
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_15_2847.jpg
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_18_2891.jpg
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_25_3780.jpg
/home/pi/Desktop/images/13012025/18/41/image_13012025_18_41_48_2775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329230954","1329230948","1329230950","1329230955","1329230952","1329230946"],"photo_ids_order":["1329230946","1329230948","1329230950","1329230952","1329230954","1329230955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d077764fe0d14816a6fa2e7dd33ec6ec.jpg","text":"TemporaryFile(/tmp/multipartBody8812261956822620673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975765467,"filename":"image_13012025_18_41_25_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a07cb218af2ef745266168ba47b0c7e.jpg","text":"TemporaryFile(/tmp/multipartBody9100240573327657368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975765467,"filename":"image_13012025_18_41_13_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab9b89a6be42c2ea2d4fe5bc29193a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5191155975848296600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975765467,"filename":"image_13012025_18_41_15_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/844555c382080f4903f256ed623f22a4.jpg","text":"TemporaryFile(/tmp/multipartBody9168150371062153175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975765467,"filename":"image_13012025_18_41_48_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/82c4e502ce7d866cd162641a5fd6f439.jpg","text":"TemporaryFile(/tmp/multipartBody6190462143260190933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975765467,"filename":"image_13012025_18_41_18_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f01eaa4e9ccaf8a3ddf8233a4726fc55.jpg","text":"TemporaryFile(/tmp/multipartBody875887576659842838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975765467,"filename":"image_13012025_18_41_09_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230950","file1":"1329230948","file0":"1329230946","file4":"1329230954","file5":"1329230955","file3":"1329230952"},"map_files_photo_id_array":[{"photo_id":"1329230955","filename":"file5"},{"photo_id":"1329230950","filename":"file2"},{"photo_id":"1329230954","filename":"file4"},{"photo_id":"1329230948","filename":"file1"},{"photo_id":"1329230946","filename":"file0"},{"photo_id":"1329230952","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329230954":["hashtag1","hashtag2"]},{"1329230948":["hashtag1","hashtag2"]},{"1329230950":["hashtag1","hashtag2"]},{"1329230955":["hashtag1","hashtag2"]},{"1329230952":["hashtag1","hashtag2"]},{"1329230946":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329230954, 1329230948, 1329230950, 1329230955, 1329230952, 1329230946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5735547542572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:15:42.230325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_36_2699.jpg', '/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_39_3748.jpg', '/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_48_2700.jpg', '/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_12_2648.jpg', '/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_08_2637.jpg', '/home/pi/Desktop/images/13012025/19/01/image_13012025_19_01_58_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_36_2699.jpg
/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_39_3748.jpg
/home/pi/Desktop/images/13012025/18/44/image_13012025_18_44_48_2700.jpg
/home/pi/Desktop/images/13012025/18/47/image_13012025_18_47_12_2648.jpg
/home/pi/Desktop/images/13012025/18/48/image_13012025_18_48_08_2637.jpg
/home/pi/Desktop/images/13012025/19/01/image_13012025_19_01_58_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329231102","1329231029","1329230993","1329230972","1329230960","1329230968"],"photo_ids_order":["1329230960","1329230968","1329230972","1329230993","1329231029","1329231102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d7c852f3938fdb3037dcb70276ed6de0.jpg","text":"TemporaryFile(/tmp/multipartBody4869853311026997792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975803386,"filename":"image_13012025_19_01_58_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/34ca9d46069a95a1fd911cf0a7d42e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1408613832028779411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975803386,"filename":"image_13012025_18_48_08_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5a92203539a49bf5ae00d8a4487b984.jpg","text":"TemporaryFile(/tmp/multipartBody3256974867584041190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975803386,"filename":"image_13012025_18_47_12_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1667c1264ac7232021b049e42ed7f904.jpg","text":"TemporaryFile(/tmp/multipartBody8090385641050558755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975803386,"filename":"image_13012025_18_44_48_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64dd50c1459558c2fd41439026091063.jpg","text":"TemporaryFile(/tmp/multipartBody4511313824790284823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975803386,"filename":"image_13012025_18_44_36_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4bdceff6a7fbf4cc8792671fa651b70a.jpg","text":"TemporaryFile(/tmp/multipartBody6063675962969737725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975803386,"filename":"image_13012025_18_44_39_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329230972","file1":"1329230968","file0":"1329230960","file4":"1329231029","file5":"1329231102","file3":"1329230993"},"map_files_photo_id_array":[{"photo_id":"1329231102","filename":"file5"},{"photo_id":"1329230972","filename":"file2"},{"photo_id":"1329231029","filename":"file4"},{"photo_id":"1329230968","filename":"file1"},{"photo_id":"1329230960","filename":"file0"},{"photo_id":"1329230993","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329231102":["hashtag1","hashtag2"]},{"1329231029":["hashtag1","hashtag2"]},{"1329230993":["hashtag1","hashtag2"]},{"1329230972":["hashtag1","hashtag2"]},{"1329230960":["hashtag1","hashtag2"]},{"1329230968":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329231102, 1329231029, 1329230993, 1329230972, 1329230960, 1329230968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06473422050476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:16:22.431385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/02/image_13012025_19_02_04_2649.jpg', '/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_13_2796.jpg', '/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_16_2834.jpg', '/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_18_2629.jpg', '/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_22_3715.jpg', '/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_25_2909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/19/02/image_13012025_19_02_04_2649.jpg
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_13_2796.jpg
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_16_2834.jpg
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_18_2629.jpg
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_22_3715.jpg
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_25_2909.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329231332","1329231378","1329231366","1329231294","1329231336","1329231374"],"photo_ids_order":["1329231294","1329231332","1329231336","1329231366","1329231374","1329231378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca1631c4c568b3d49917e82ef13ee7be.jpg","text":"TemporaryFile(/tmp/multipartBody1538892297166307380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975845234,"filename":"image_13012025_19_06_13_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/559bd3a8f6ad59bf1959697b50968811.jpg","text":"TemporaryFile(/tmp/multipartBody6411242280990576090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975845234,"filename":"image_13012025_19_06_25_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/34fc7179dceb224166a7ff72e06109e7.jpg","text":"TemporaryFile(/tmp/multipartBody4851468433801057158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975845234,"filename":"image_13012025_19_06_18_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8e0546b7cace002f4276bebcc767959b.jpg","text":"TemporaryFile(/tmp/multipartBody1118922613371723209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975845234,"filename":"image_13012025_19_02_04_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f861a7dd7cc98b4f1535fa097f70572.jpg","text":"TemporaryFile(/tmp/multipartBody4767979702680241978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975845234,"filename":"image_13012025_19_06_16_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ef44ffc98f8481e65172c13c20096d32.jpg","text":"TemporaryFile(/tmp/multipartBody4760141853527333775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975845234,"filename":"image_13012025_19_06_22_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329231336","file1":"1329231332","file0":"1329231294","file4":"1329231374","file5":"1329231378","file3":"1329231366"},"map_files_photo_id_array":[{"photo_id":"1329231378","filename":"file5"},{"photo_id":"1329231336","filename":"file2"},{"photo_id":"1329231374","filename":"file4"},{"photo_id":"1329231332","filename":"file1"},{"photo_id":"1329231294","filename":"file0"},{"photo_id":"1329231366","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329231332":["hashtag1","hashtag2"]},{"1329231378":["hashtag1","hashtag2"]},{"1329231366":["hashtag1","hashtag2"]},{"1329231294":["hashtag1","hashtag2"]},{"1329231336":["hashtag1","hashtag2"]},{"1329231374":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329231332, 1329231378, 1329231366, 1329231294, 1329231336, 1329231374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.216280937194824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:17:02.680673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_30_2723.jpg', '/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_07_3682.jpg', '/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_58_3756.jpg', '/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_01_2651.jpg', '/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_2717.jpg', '/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_43_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/19/06/image_13012025_19_06_30_2723.jpg
/home/pi/Desktop/images/13012025/19/07/image_13012025_19_07_07_3682.jpg
/home/pi/Desktop/images/13012025/19/34/image_13012025_19_34_58_3756.jpg
/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_01_2651.jpg
/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_03_2717.jpg
/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_43_3573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329231452","1329231446","1329231449","1329231462","1329231465","1329231456"],"photo_ids_order":["1329231446","1329231449","1329231452","1329231456","1329231462","1329231465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7eb948d273b381a98531ba8ec5652ef1.jpg","text":"TemporaryFile(/tmp/multipartBody6472666704117340664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975884956,"filename":"image_13012025_19_34_58_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ecb67a746d306b9076e733c0e4d03925.jpg","text":"TemporaryFile(/tmp/multipartBody6413755697682425860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975884956,"filename":"image_13012025_19_06_30_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8e23a07f9303264b4fcef8837a63bf79.jpg","text":"TemporaryFile(/tmp/multipartBody8108446439105920296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975884956,"filename":"image_13012025_19_07_07_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4e9bd49429f95dac8101a94c9ea6fcc0.jpg","text":"TemporaryFile(/tmp/multipartBody4976936181512593494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975884956,"filename":"image_13012025_19_35_03_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/368bed94161440c09f1f2a911d18a161.jpg","text":"TemporaryFile(/tmp/multipartBody4831917458373991591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975884956,"filename":"image_13012025_19_35_43_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2eb014705b5be3a02efce8d6a7953866.jpg","text":"TemporaryFile(/tmp/multipartBody1943226271412099988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975884956,"filename":"image_13012025_19_35_01_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329231452","file1":"1329231449","file0":"1329231446","file4":"1329231462","file5":"1329231465","file3":"1329231456"},"map_files_photo_id_array":[{"photo_id":"1329231465","filename":"file5"},{"photo_id":"1329231452","filename":"file2"},{"photo_id":"1329231462","filename":"file4"},{"photo_id":"1329231449","filename":"file1"},{"photo_id":"1329231446","filename":"file0"},{"photo_id":"1329231456","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329231452":["hashtag1","hashtag2"]},{"1329231446":["hashtag1","hashtag2"]},{"1329231449":["hashtag1","hashtag2"]},{"1329231462":["hashtag1","hashtag2"]},{"1329231465":["hashtag1","hashtag2"]},{"1329231456":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329231452, 1329231446, 1329231449, 1329231462, 1329231465, 1329231456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.117682695388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:17:42.002641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_46_2637.jpg', '/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_49_2782.jpg', '/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_54_3749.jpg', '/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_56_2693.jpg', '/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_59_2615.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_14_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/19/35/image_13012025_19_35_46_2637.jpg
/home/pi/Desktop/images/13012025/20/34/image_13012025_20_34_49_2782.jpg
/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_54_3749.jpg
/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_56_2693.jpg
/home/pi/Desktop/images/13012025/20/51/image_13012025_20_51_59_2615.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_14_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329231470","1329231500","1329231490","1329231502","1329231505","1329231498"],"photo_ids_order":["1329231470","1329231490","1329231498","1329231500","1329231502","1329231505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/480bcfc1cfdf3bcf32147cf0fe1be9d3.jpg","text":"TemporaryFile(/tmp/multipartBody7394901851172274660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975923162,"filename":"image_13012025_19_35_46_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3f4cf5a37302057e830b9e73c3d824ce.jpg","text":"TemporaryFile(/tmp/multipartBody6323357129734671653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975923162,"filename":"image_13012025_20_51_56_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4794a38dbfceb876bf2495f496a26332.jpg","text":"TemporaryFile(/tmp/multipartBody5040444745938483827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975923162,"filename":"image_13012025_20_34_49_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/818cb5047d8baf9d405b05c083ef9d47.jpg","text":"TemporaryFile(/tmp/multipartBody6057248914435744259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975923162,"filename":"image_13012025_20_51_59_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a68264dc6d1c9bd9dc87d4990baf4eda.jpg","text":"TemporaryFile(/tmp/multipartBody1589028335322210231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975923162,"filename":"image_13012025_20_52_14_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5267d94cda6b89a6c20ff74563f937f.jpg","text":"TemporaryFile(/tmp/multipartBody4999920604987117814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975923162,"filename":"image_13012025_20_51_54_3749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329231498","file1":"1329231490","file0":"1329231470","file4":"1329231502","file5":"1329231505","file3":"1329231500"},"map_files_photo_id_array":[{"photo_id":"1329231505","filename":"file5"},{"photo_id":"1329231498","filename":"file2"},{"photo_id":"1329231502","filename":"file4"},{"photo_id":"1329231490","filename":"file1"},{"photo_id":"1329231470","filename":"file0"},{"photo_id":"1329231500","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329231470":["hashtag1","hashtag2"]},{"1329231500":["hashtag1","hashtag2"]},{"1329231490":["hashtag1","hashtag2"]},{"1329231502":["hashtag1","hashtag2"]},{"1329231505":["hashtag1","hashtag2"]},{"1329231498":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329231470, 1329231500, 1329231490, 1329231502, 1329231505, 1329231498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03453731536865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:18:22.554665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_17_2653.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_23_2595.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_26_2635.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_29_3745.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_32_2665.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_35_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_17_2653.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_23_2595.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_26_2635.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_29_3745.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_32_2665.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_35_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329231578","1329231563","1329231557","1329231561","1329231567","1329231572"],"photo_ids_order":["1329231557","1329231561","1329231563","1329231567","1329231572","1329231578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77642941c319b2040f1f6e75b31715b2.jpg","text":"TemporaryFile(/tmp/multipartBody1188292370286867065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975965489,"filename":"image_13012025_20_52_35_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/89d73cb7e05174f672e0f0e147199015.jpg","text":"TemporaryFile(/tmp/multipartBody4937830370865425160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975965489,"filename":"image_13012025_20_52_26_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ed8e1ecfbf6a279331ca31a4df85341.jpg","text":"TemporaryFile(/tmp/multipartBody7210125970605082994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975965489,"filename":"image_13012025_20_52_17_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea4f5f32376f3411395a343df766bfc0.jpg","text":"TemporaryFile(/tmp/multipartBody1064776302837310147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975965489,"filename":"image_13012025_20_52_23_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3fda6d329b19d3437bab6dd9771f1a6.jpg","text":"TemporaryFile(/tmp/multipartBody7275776846624720514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975965489,"filename":"image_13012025_20_52_29_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7f6e268ffe6e8e5f404538f35131bf4e.jpg","text":"TemporaryFile(/tmp/multipartBody7457816651911901270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736975965489,"filename":"image_13012025_20_52_32_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329231563","file1":"1329231561","file0":"1329231557","file4":"1329231572","file5":"1329231578","file3":"1329231567"},"map_files_photo_id_array":[{"photo_id":"1329231578","filename":"file5"},{"photo_id":"1329231563","filename":"file2"},{"photo_id":"1329231572","filename":"file4"},{"photo_id":"1329231561","filename":"file1"},{"photo_id":"1329231557","filename":"file0"},{"photo_id":"1329231567","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329231578":["hashtag1","hashtag2"]},{"1329231563":["hashtag1","hashtag2"]},{"1329231557":["hashtag1","hashtag2"]},{"1329231561":["hashtag1","hashtag2"]},{"1329231567":["hashtag1","hashtag2"]},{"1329231572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329231578, 1329231563, 1329231557, 1329231561, 1329231567, 1329231572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11319017410278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:19:03.177754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_38_2746.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_41_3646.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_44_2545.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_47_3696.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_50_2823.jpg', '/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_53_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_38_2746.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_41_3646.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_44_2545.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_47_3696.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_50_2823.jpg
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_53_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329231584","1329231595","1329231586","1329231589","1329231585","1329231587"],"photo_ids_order":["1329231584","1329231585","1329231586","1329231587","1329231589","1329231595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a65796e6a7805c2fa61c427b537fdb5.jpg","text":"TemporaryFile(/tmp/multipartBody7405959787784912272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976005766,"filename":"image_13012025_20_52_38_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/853c74f17f587f80720a980e8290f171.jpg","text":"TemporaryFile(/tmp/multipartBody6800786158563271097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976005766,"filename":"image_13012025_20_52_53_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9418d141251a3b3d897468cf4cae4eb6.jpg","text":"TemporaryFile(/tmp/multipartBody6001546574304377627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976005766,"filename":"image_13012025_20_52_44_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/af5d242909d0aad8aaae12fda8451d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3197824803436484080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976005766,"filename":"image_13012025_20_52_50_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/734c24771ea01d14239c356c563e1f71.jpg","text":"TemporaryFile(/tmp/multipartBody7327525062324297985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976005766,"filename":"image_13012025_20_52_41_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/370a6c7c5fbaba37c892f373449b34e6.jpg","text":"TemporaryFile(/tmp/multipartBody3265811185265144990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976005766,"filename":"image_13012025_20_52_47_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329231586","file1":"1329231585","file0":"1329231584","file4":"1329231589","file5":"1329231595","file3":"1329231587"},"map_files_photo_id_array":[{"photo_id":"1329231595","filename":"file5"},{"photo_id":"1329231586","filename":"file2"},{"photo_id":"1329231589","filename":"file4"},{"photo_id":"1329231585","filename":"file1"},{"photo_id":"1329231584","filename":"file0"},{"photo_id":"1329231587","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329231584":["hashtag1","hashtag2"]},{"1329231595":["hashtag1","hashtag2"]},{"1329231586":["hashtag1","hashtag2"]},{"1329231589":["hashtag1","hashtag2"]},{"1329231585":["hashtag1","hashtag2"]},{"1329231587":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329231584, 1329231595, 1329231586, 1329231589, 1329231585, 1329231587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73430061340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:19:42.375456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_59_2697.jpg', '/home/pi/Desktop/images/13012025/20/54/image_13012025_20_54_44_2631.jpg', '/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_05_2794.jpg', '/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_07_2723.jpg', '/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_11_3645.jpg', '/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_51_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/20/52/image_13012025_20_52_59_2697.jpg
/home/pi/Desktop/images/13012025/20/54/image_13012025_20_54_44_2631.jpg
/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_05_2794.jpg
/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_07_2723.jpg
/home/pi/Desktop/images/13012025/20/55/image_13012025_20_55_11_3645.jpg
/home/pi/Desktop/images/13012025/21/02/image_13012025_21_02_51_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329231617","1329231605","1329231602","1329231613","1329231619","1329231624"],"photo_ids_order":["1329231602","1329231605","1329231613","1329231617","1329231619","1329231624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6470cad8365671627a2ea2055b2f4051.jpg","text":"TemporaryFile(/tmp/multipartBody4910398261143211648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976043566,"filename":"image_13012025_20_55_07_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ed9a3228ad5f150fbe78ef2c197eee72.jpg","text":"TemporaryFile(/tmp/multipartBody7333126962851084317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976043566,"filename":"image_13012025_20_54_44_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa3d2053a5dac413e56f7197e1e5f606.jpg","text":"TemporaryFile(/tmp/multipartBody8132635967085321272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976043566,"filename":"image_13012025_20_52_59_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2da15ae4863fb17e28e52808f4267ff7.jpg","text":"TemporaryFile(/tmp/multipartBody7067304012079094651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976043566,"filename":"image_13012025_20_55_05_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/daad6480921fbd74e368f45eba04e209.jpg","text":"TemporaryFile(/tmp/multipartBody6290696720726336803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976043566,"filename":"image_13012025_20_55_11_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f77c7d6d3a40a48e32662e4a1fa82c24.jpg","text":"TemporaryFile(/tmp/multipartBody1674589467376749305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976043566,"filename":"image_13012025_21_02_51_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329231613","file1":"1329231605","file0":"1329231602","file4":"1329231619","file5":"1329231624","file3":"1329231617"},"map_files_photo_id_array":[{"photo_id":"1329231624","filename":"file5"},{"photo_id":"1329231613","filename":"file2"},{"photo_id":"1329231619","filename":"file4"},{"photo_id":"1329231605","filename":"file1"},{"photo_id":"1329231602","filename":"file0"},{"photo_id":"1329231617","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329231617":["hashtag1","hashtag2"]},{"1329231605":["hashtag1","hashtag2"]},{"1329231602":["hashtag1","hashtag2"]},{"1329231613":["hashtag1","hashtag2"]},{"1329231619":["hashtag1","hashtag2"]},{"1329231624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329231617, 1329231605, 1329231602, 1329231613, 1329231619, 1329231624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0889995098114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:20:22.332934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_06_2882.jpg', '/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_11_2611.jpg', '/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_15_3757.jpg', '/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_35_3691.jpg', '/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_38_2539.jpg', '/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_42_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/21/10/image_13012025_21_10_06_2882.jpg
/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_11_2611.jpg
/home/pi/Desktop/images/13012025/21/12/image_13012025_21_12_15_3757.jpg
/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_35_3691.jpg
/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_38_2539.jpg
/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_42_3672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329231713","1329231670","1329231688","1329231660","1329231663","1329231686"],"photo_ids_order":["1329231660","1329231663","1329231670","1329231686","1329231688","1329231713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52c322687577da194c497d34d22c2397.jpg","text":"TemporaryFile(/tmp/multipartBody2610665559100358334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976085266,"filename":"image_13012025_21_15_42_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3764014645d1f509390f4a6e5a1d6042.jpg","text":"TemporaryFile(/tmp/multipartBody1943946517325596984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976085266,"filename":"image_13012025_21_12_15_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f3efdacc0c112af4470d8007c7cbd51.jpg","text":"TemporaryFile(/tmp/multipartBody2314552555526509151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976085266,"filename":"image_13012025_21_15_38_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/27201970d97707bf0c3abf3a13b97329.jpg","text":"TemporaryFile(/tmp/multipartBody6374840600119679415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976085266,"filename":"image_13012025_21_10_06_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21f800f40a324f16e2265f4076ef7e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8622696871789855741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976085266,"filename":"image_13012025_21_12_11_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2bc1295cb61f90f6a700eb74ebbf66bb.jpg","text":"TemporaryFile(/tmp/multipartBody8384824047208500236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976085266,"filename":"image_13012025_21_15_35_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329231670","file1":"1329231663","file0":"1329231660","file4":"1329231688","file5":"1329231713","file3":"1329231686"},"map_files_photo_id_array":[{"photo_id":"1329231713","filename":"file5"},{"photo_id":"1329231670","filename":"file2"},{"photo_id":"1329231688","filename":"file4"},{"photo_id":"1329231663","filename":"file1"},{"photo_id":"1329231660","filename":"file0"},{"photo_id":"1329231686","filename":"file3"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329231713":["hashtag1","hashtag2"]},{"1329231670":["hashtag1","hashtag2"]},{"1329231688":["hashtag1","hashtag2"]},{"1329231660":["hashtag1","hashtag2"]},{"1329231663":["hashtag1","hashtag2"]},{"1329231686":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329231713, 1329231670, 1329231688, 1329231660, 1329231663, 1329231686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71341419219971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:21:03.498668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
  port_id : 19654021
  datou_current_id : 2487148
in upload_from_sqlite, uploading in 19654021
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_44_2586.jpg', '/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_25_2651.jpg', '/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_07_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2487148&datou=0
/home/pi/Desktop/images/13012025/21/15/image_13012025_21_15_44_2586.jpg
/home/pi/Desktop/images/13012025/22/06/image_13012025_22_06_25_2651.jpg
/home/pi/Desktop/images/13012025/22/49/image_13012025_22_49_07_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329231894","1329231899","1329231863"],"photo_ids_order":["1329231863","1329231894","1329231899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/97f7d2cdc62cbf4dbe273ea5be7c391b.jpg","text":"TemporaryFile(/tmp/multipartBody539545131791897467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976125727,"filename":"image_13012025_22_06_25_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e76d23a8dbbc63cde7574ba37e97bf6.jpg","text":"TemporaryFile(/tmp/multipartBody6185069775084316720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976125727,"filename":"image_13012025_22_49_07_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8fda9ba15e0c64425c5f975ae14b4da.jpg","text":"TemporaryFile(/tmp/multipartBody3765561891547764528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976125727,"filename":"image_13012025_21_15_44_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329231899","file1":"1329231894","file0":"1329231863"},"map_files_photo_id_array":[{"photo_id":"1329231899","filename":"file2"},{"photo_id":"1329231894","filename":"file1"},{"photo_id":"1329231863","filename":"file0"}],"portfolio_id":19654021,"hashtag_by_photo_ids":[{"1329231894":["hashtag1","hashtag2"]},{"1329231899":["hashtag1","hashtag2"]},{"1329231863":["hashtag1","hashtag2"]}],"comms":"Portfolio 19654021 used, photo_id : ArrayBuffer(1329231894, 1329231899, 1329231863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.65310525894165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:21:42.880159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : plaque_valcor_0323_14012025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 19667253, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1736976164000}
4220
2488262
4220
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/04/53/image_14012025_04_53_07_2655.jpg', '/home/pi/Desktop/images/14012025/06/06/image_14012025_06_06_59_1707.jpg', '/home/pi/Desktop/images/14012025/07/00/image_14012025_07_00_48_2608.jpg', '/home/pi/Desktop/images/14012025/07/36/image_14012025_07_36_48_2676.jpg', '/home/pi/Desktop/images/14012025/07/36/image_14012025_07_36_51_2848.jpg', '/home/pi/Desktop/images/14012025/07/36/image_14012025_07_36_54_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/04/53/image_14012025_04_53_07_2655.jpg
/home/pi/Desktop/images/14012025/06/06/image_14012025_06_06_59_1707.jpg
/home/pi/Desktop/images/14012025/07/00/image_14012025_07_00_48_2608.jpg
/home/pi/Desktop/images/14012025/07/36/image_14012025_07_36_48_2676.jpg
/home/pi/Desktop/images/14012025/07/36/image_14012025_07_36_51_2848.jpg
/home/pi/Desktop/images/14012025/07/36/image_14012025_07_36_54_2596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329232597","1329232705","1329232441","1329232779","1329232257","1329232088"],"photo_ids_order":["1329232088","1329232257","1329232441","1329232597","1329232705","1329232779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fb28ba68a4c6f4e691bf0daf2f890cdd.jpg","text":"TemporaryFile(/tmp/multipartBody4167306630750135524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976165383,"filename":"image_14012025_07_36_48_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1dcc9381323d957805e645afdb69ee8d.jpg","text":"TemporaryFile(/tmp/multipartBody6281396601840938766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976165383,"filename":"image_14012025_07_36_51_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f39bd8716fa0cdff8ba3bf764e764acc.jpg","text":"TemporaryFile(/tmp/multipartBody7507092224976386776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976165383,"filename":"image_14012025_07_00_48_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6690a741402c5fc290cfcd3442012ce9.jpg","text":"TemporaryFile(/tmp/multipartBody8989541812793408912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976165383,"filename":"image_14012025_07_36_54_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/17a001cd923c09f984fb4dfb9db8fca0.jpg","text":"TemporaryFile(/tmp/multipartBody8197178794706904157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976165383,"filename":"image_14012025_06_06_59_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a78a19eb32eef76cf163631c077b1682.jpg","text":"TemporaryFile(/tmp/multipartBody1268742412150085097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976165383,"filename":"image_14012025_04_53_07_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329232441","file1":"1329232257","file0":"1329232088","file4":"1329232705","file5":"1329232779","file3":"1329232597"},"map_files_photo_id_array":[{"photo_id":"1329232779","filename":"file5"},{"photo_id":"1329232441","filename":"file2"},{"photo_id":"1329232705","filename":"file4"},{"photo_id":"1329232257","filename":"file1"},{"photo_id":"1329232088","filename":"file0"},{"photo_id":"1329232597","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329232597":["hashtag1","hashtag2"]},{"1329232705":["hashtag1","hashtag2"]},{"1329232441":["hashtag1","hashtag2"]},{"1329232779":["hashtag1","hashtag2"]},{"1329232257":["hashtag1","hashtag2"]},{"1329232088":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329232597, 1329232705, 1329232441, 1329232779, 1329232257, 1329232088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.80700755119324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:22:42.369536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/07/36/image_14012025_07_36_57_3787.jpg', '/home/pi/Desktop/images/14012025/07/36/image_14012025_07_37_00_2572.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_03_2758.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_06_3711.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_12_2621.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_15_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/07/36/image_14012025_07_36_57_3787.jpg
/home/pi/Desktop/images/14012025/07/36/image_14012025_07_37_00_2572.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_03_2758.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_06_3711.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_12_2621.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_15_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329233041","1329233035","1329233038","1329233052","1329233019","1329233027"],"photo_ids_order":["1329233019","1329233027","1329233035","1329233038","1329233041","1329233052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f51ab45fa02382c9d261848318ced308.jpg","text":"TemporaryFile(/tmp/multipartBody4927796051450749009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976223742,"filename":"image_14012025_07_37_12_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/82ea9e9bbb462ac330386292cfc8b7f3.jpg","text":"TemporaryFile(/tmp/multipartBody953990814031729512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976223742,"filename":"image_14012025_07_37_03_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3817297728b672c6990d84631c01f8e.jpg","text":"TemporaryFile(/tmp/multipartBody6582592979166343371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976223742,"filename":"image_14012025_07_37_06_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/81e7d34264dee2ac9fd322d299d45a60.jpg","text":"TemporaryFile(/tmp/multipartBody6317859239568675347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976223742,"filename":"image_14012025_07_37_15_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2bed8fd227adc6a34a22849024d9a1bf.jpg","text":"TemporaryFile(/tmp/multipartBody4872788930727805814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976223742,"filename":"image_14012025_07_36_57_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/26df8f8754115f92bf7b0475f93923d7.jpg","text":"TemporaryFile(/tmp/multipartBody7520647533767106984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976223742,"filename":"image_14012025_07_37_00_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329233035","file1":"1329233027","file0":"1329233019","file4":"1329233041","file5":"1329233052","file3":"1329233038"},"map_files_photo_id_array":[{"photo_id":"1329233052","filename":"file5"},{"photo_id":"1329233035","filename":"file2"},{"photo_id":"1329233041","filename":"file4"},{"photo_id":"1329233027","filename":"file1"},{"photo_id":"1329233019","filename":"file0"},{"photo_id":"1329233038","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329233041":["hashtag1","hashtag2"]},{"1329233035":["hashtag1","hashtag2"]},{"1329233038":["hashtag1","hashtag2"]},{"1329233052":["hashtag1","hashtag2"]},{"1329233019":["hashtag1","hashtag2"]},{"1329233027":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329233041, 1329233035, 1329233038, 1329233052, 1329233019, 1329233027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98791837692261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:23:22.212455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_21_2662.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_24_3585.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_27_2651.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_33_2578.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_39_3700.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_42_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_21_2662.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_24_3585.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_27_2651.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_33_2578.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_39_3700.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_42_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329233332","1329233385","1329233388","1329233334","1329233337","1329233390"],"photo_ids_order":["1329233332","1329233334","1329233337","1329233385","1329233388","1329233390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36c29d310bfaddd97960caa93fa07d52.jpg","text":"TemporaryFile(/tmp/multipartBody2752066915395380688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976265389,"filename":"image_14012025_07_37_21_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d5af1b7f3a89e57599856987c6210793.jpg","text":"TemporaryFile(/tmp/multipartBody7793281500358666705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976265389,"filename":"image_14012025_07_37_33_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3eb6e80946b66b0f17d8f9d1adb2ee62.jpg","text":"TemporaryFile(/tmp/multipartBody2049275489684549192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976265389,"filename":"image_14012025_07_37_39_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f04cd2360cb409dec363aa511517139b.jpg","text":"TemporaryFile(/tmp/multipartBody3677511346244535266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976265389,"filename":"image_14012025_07_37_24_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0970a00c909ba45327bc5dea749d4bc.jpg","text":"TemporaryFile(/tmp/multipartBody3189712540076032505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976265389,"filename":"image_14012025_07_37_27_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/45a19b108de99e20969f4cc8ec1f4eea.jpg","text":"TemporaryFile(/tmp/multipartBody6436330564225972311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976265389,"filename":"image_14012025_07_37_42_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329233337","file1":"1329233334","file0":"1329233332","file4":"1329233388","file5":"1329233390","file3":"1329233385"},"map_files_photo_id_array":[{"photo_id":"1329233390","filename":"file5"},{"photo_id":"1329233337","filename":"file2"},{"photo_id":"1329233388","filename":"file4"},{"photo_id":"1329233334","filename":"file1"},{"photo_id":"1329233332","filename":"file0"},{"photo_id":"1329233385","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329233332":["hashtag1","hashtag2"]},{"1329233385":["hashtag1","hashtag2"]},{"1329233388":["hashtag1","hashtag2"]},{"1329233334":["hashtag1","hashtag2"]},{"1329233337":["hashtag1","hashtag2"]},{"1329233390":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329233332, 1329233385, 1329233388, 1329233334, 1329233337, 1329233390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.27719831466675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:24:22.241809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_45_2536.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_51_2533.jpg', '/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_54_3601.jpg', '/home/pi/Desktop/images/14012025/07/38/image_14012025_07_38_02_7213.jpg', '/home/pi/Desktop/images/14012025/07/38/image_14012025_07_38_05_1806.jpg', '/home/pi/Desktop/images/14012025/07/40/image_14012025_07_40_45_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_45_2536.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_51_2533.jpg
/home/pi/Desktop/images/14012025/07/37/image_14012025_07_37_54_3601.jpg
/home/pi/Desktop/images/14012025/07/38/image_14012025_07_38_02_7213.jpg
/home/pi/Desktop/images/14012025/07/38/image_14012025_07_38_05_1806.jpg
/home/pi/Desktop/images/14012025/07/40/image_14012025_07_40_45_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329233478","1329233466","1329233489","1329233471","1329233468","1329233473"],"photo_ids_order":["1329233466","1329233468","1329233471","1329233473","1329233478","1329233489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab8917e530e9b4741e8947a78cffec46.jpg","text":"TemporaryFile(/tmp/multipartBody1514124533657015264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976325556,"filename":"image_14012025_07_38_05_1806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/591cc956f544bfedc37c148b17190d9e.jpg","text":"TemporaryFile(/tmp/multipartBody3162988129806118944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976325556,"filename":"image_14012025_07_37_45_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64cfe468f1d993cbda6d567f43f8cf94.jpg","text":"TemporaryFile(/tmp/multipartBody957805264247476002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976325556,"filename":"image_14012025_07_40_45_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5216519f7eddace6e495488c4c49d29.jpg","text":"TemporaryFile(/tmp/multipartBody2676228081388899405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976325556,"filename":"image_14012025_07_37_54_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fb852e714ab0bdf1d0bbc7513fadc3f7.jpg","text":"TemporaryFile(/tmp/multipartBody8883720346818356717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976325556,"filename":"image_14012025_07_37_51_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c62c77d9a136eb06ba5e379028018f78.jpg","text":"TemporaryFile(/tmp/multipartBody1401572240531706837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976325556,"filename":"image_14012025_07_38_02_7213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329233471","file1":"1329233468","file0":"1329233466","file4":"1329233478","file5":"1329233489","file3":"1329233473"},"map_files_photo_id_array":[{"photo_id":"1329233489","filename":"file5"},{"photo_id":"1329233471","filename":"file2"},{"photo_id":"1329233478","filename":"file4"},{"photo_id":"1329233468","filename":"file1"},{"photo_id":"1329233466","filename":"file0"},{"photo_id":"1329233473","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329233478":["hashtag1","hashtag2"]},{"1329233466":["hashtag1","hashtag2"]},{"1329233489":["hashtag1","hashtag2"]},{"1329233471":["hashtag1","hashtag2"]},{"1329233468":["hashtag1","hashtag2"]},{"1329233473":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329233478, 1329233466, 1329233489, 1329233471, 1329233468, 1329233473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.93933820724487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:25:22.454447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/07/40/image_14012025_07_40_48_3540.jpg', '/home/pi/Desktop/images/14012025/07/42/image_14012025_07_42_21_2880.jpg', '/home/pi/Desktop/images/14012025/07/43/image_14012025_07_43_07_1693.jpg', '/home/pi/Desktop/images/14012025/07/43/image_14012025_07_43_08_1640.jpg', '/home/pi/Desktop/images/14012025/07/48/image_14012025_07_48_02_3522.jpg', '/home/pi/Desktop/images/14012025/07/48/image_14012025_07_48_05_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/07/40/image_14012025_07_40_48_3540.jpg
/home/pi/Desktop/images/14012025/07/42/image_14012025_07_42_21_2880.jpg
/home/pi/Desktop/images/14012025/07/43/image_14012025_07_43_07_1693.jpg
/home/pi/Desktop/images/14012025/07/43/image_14012025_07_43_08_1640.jpg
/home/pi/Desktop/images/14012025/07/48/image_14012025_07_48_02_3522.jpg
/home/pi/Desktop/images/14012025/07/48/image_14012025_07_48_05_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329233647","1329233641","1329233580","1329233511","1329233669","1329233624"],"photo_ids_order":["1329233511","1329233580","1329233624","1329233641","1329233647","1329233669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8c29a038bb65a4cfd87ff29b1ff115ed.jpg","text":"TemporaryFile(/tmp/multipartBody6953941234935817505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976385600,"filename":"image_14012025_07_48_02_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bd0dda355619e9366379873b40741f43.jpg","text":"TemporaryFile(/tmp/multipartBody4430342058583151344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976385600,"filename":"image_14012025_07_43_08_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8f7173c503afbc8d01152daecd8d384e.jpg","text":"TemporaryFile(/tmp/multipartBody1933891204473540243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976385600,"filename":"image_14012025_07_42_21_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/07c37167cd053755eaf29fef4d4b47fa.jpg","text":"TemporaryFile(/tmp/multipartBody8233792214807861980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976385600,"filename":"image_14012025_07_40_48_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c3993787baebe14c2980c95be7b5b140.jpg","text":"TemporaryFile(/tmp/multipartBody1015302360029896245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976385600,"filename":"image_14012025_07_48_05_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/38400cae2d112b44852f5690cf6c101f.jpg","text":"TemporaryFile(/tmp/multipartBody2114448292498144894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976385600,"filename":"image_14012025_07_43_07_1693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329233624","file1":"1329233580","file0":"1329233511","file4":"1329233647","file5":"1329233669","file3":"1329233641"},"map_files_photo_id_array":[{"photo_id":"1329233669","filename":"file5"},{"photo_id":"1329233624","filename":"file2"},{"photo_id":"1329233647","filename":"file4"},{"photo_id":"1329233580","filename":"file1"},{"photo_id":"1329233511","filename":"file0"},{"photo_id":"1329233641","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329233647":["hashtag1","hashtag2"]},{"1329233641":["hashtag1","hashtag2"]},{"1329233580":["hashtag1","hashtag2"]},{"1329233511":["hashtag1","hashtag2"]},{"1329233669":["hashtag1","hashtag2"]},{"1329233624":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329233647, 1329233641, 1329233580, 1329233511, 1329233669, 1329233624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.53586983680725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:26:22.377244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/07/49/image_14012025_07_49_20_2739.jpg', '/home/pi/Desktop/images/14012025/07/49/image_14012025_07_49_22_2532.jpg', '/home/pi/Desktop/images/14012025/07/51/image_14012025_07_51_41_3642.jpg', '/home/pi/Desktop/images/14012025/07/51/image_14012025_07_51_59_3704.jpg', '/home/pi/Desktop/images/14012025/07/52/image_14012025_07_52_02_2828.jpg', '/home/pi/Desktop/images/14012025/07/57/image_14012025_07_57_46_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/07/49/image_14012025_07_49_20_2739.jpg
/home/pi/Desktop/images/14012025/07/49/image_14012025_07_49_22_2532.jpg
/home/pi/Desktop/images/14012025/07/51/image_14012025_07_51_41_3642.jpg
/home/pi/Desktop/images/14012025/07/51/image_14012025_07_51_59_3704.jpg
/home/pi/Desktop/images/14012025/07/52/image_14012025_07_52_02_2828.jpg
/home/pi/Desktop/images/14012025/07/57/image_14012025_07_57_46_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329233710","1329233707","1329233735","1329233726","1329233705","1329233714"],"photo_ids_order":["1329233705","1329233707","1329233710","1329233714","1329233726","1329233735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c360eee4f8cf211bf645c9719d71206f.jpg","text":"TemporaryFile(/tmp/multipartBody1252182203186878435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976445554,"filename":"image_14012025_07_51_41_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e788d2d307a1dd14a68df703e6454396.jpg","text":"TemporaryFile(/tmp/multipartBody5529921612415930463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976445554,"filename":"image_14012025_07_49_22_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28bd685d0ef2920da11e41fb5fe35294.jpg","text":"TemporaryFile(/tmp/multipartBody6370760279826816654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976445554,"filename":"image_14012025_07_57_46_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d5fd26743ff08c3e2b69be498cdc4b9.jpg","text":"TemporaryFile(/tmp/multipartBody181126936460117550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976445554,"filename":"image_14012025_07_52_02_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1b617dcab6ee859d06b6776d04bbe3fa.jpg","text":"TemporaryFile(/tmp/multipartBody2998537996906514593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976445554,"filename":"image_14012025_07_49_20_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/81bae36f4798b40a5eec2a4b6e9db824.jpg","text":"TemporaryFile(/tmp/multipartBody1919691513383013276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976445554,"filename":"image_14012025_07_51_59_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329233710","file1":"1329233707","file0":"1329233705","file4":"1329233726","file5":"1329233735","file3":"1329233714"},"map_files_photo_id_array":[{"photo_id":"1329233735","filename":"file5"},{"photo_id":"1329233710","filename":"file2"},{"photo_id":"1329233726","filename":"file4"},{"photo_id":"1329233707","filename":"file1"},{"photo_id":"1329233705","filename":"file0"},{"photo_id":"1329233714","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329233710":["hashtag1","hashtag2"]},{"1329233707":["hashtag1","hashtag2"]},{"1329233735":["hashtag1","hashtag2"]},{"1329233726":["hashtag1","hashtag2"]},{"1329233705":["hashtag1","hashtag2"]},{"1329233714":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329233710, 1329233707, 1329233735, 1329233726, 1329233705, 1329233714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91799473762512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:27:02.951800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/07/57/image_14012025_07_57_49_2651.jpg', '/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_09_2658.jpg', '/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_12_2915.jpg', '/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_16_3537.jpg', '/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_19_2692.jpg', '/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_21_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/07/57/image_14012025_07_57_49_2651.jpg
/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_09_2658.jpg
/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_12_2915.jpg
/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_16_3537.jpg
/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_19_2692.jpg
/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_21_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329233761","1329233758","1329233763","1329233757","1329233756","1329233759"],"photo_ids_order":["1329233756","1329233757","1329233758","1329233759","1329233761","1329233763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67dfa69d8c0093ffd36fb64f3fe92a9c.jpg","text":"TemporaryFile(/tmp/multipartBody2192050985487615672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976485448,"filename":"image_14012025_07_58_19_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5abb3d3fa9e2b1418bf6e0c508d1ff58.jpg","text":"TemporaryFile(/tmp/multipartBody8412833426733294515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976485448,"filename":"image_14012025_07_58_12_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/45cbf1d0cf89d385a443c737aefde80a.jpg","text":"TemporaryFile(/tmp/multipartBody5415301142217309439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976485448,"filename":"image_14012025_07_58_21_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99d7488578fd6c9a6f933cafe31d1f3b.jpg","text":"TemporaryFile(/tmp/multipartBody117374755650313029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976485448,"filename":"image_14012025_07_58_09_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80774305b5f603bc385963a40fd8c87d.jpg","text":"TemporaryFile(/tmp/multipartBody2915286499486932478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976485448,"filename":"image_14012025_07_57_49_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/381d7154e514d2c4abded29737825d62.jpg","text":"TemporaryFile(/tmp/multipartBody1332306857787731671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976485448,"filename":"image_14012025_07_58_16_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329233758","file1":"1329233757","file0":"1329233756","file4":"1329233761","file5":"1329233763","file3":"1329233759"},"map_files_photo_id_array":[{"photo_id":"1329233763","filename":"file5"},{"photo_id":"1329233758","filename":"file2"},{"photo_id":"1329233761","filename":"file4"},{"photo_id":"1329233757","filename":"file1"},{"photo_id":"1329233756","filename":"file0"},{"photo_id":"1329233759","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329233761":["hashtag1","hashtag2"]},{"1329233758":["hashtag1","hashtag2"]},{"1329233763":["hashtag1","hashtag2"]},{"1329233757":["hashtag1","hashtag2"]},{"1329233756":["hashtag1","hashtag2"]},{"1329233759":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329233761, 1329233758, 1329233763, 1329233757, 1329233756, 1329233759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73760724067688 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:28:02.557698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_25_3843.jpg', '/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_28_2754.jpg', '/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_31_2605.jpg', '/home/pi/Desktop/images/14012025/08/06/image_14012025_08_06_58_3656.jpg', '/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_01_2710.jpg', '/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_04_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_25_3843.jpg
/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_28_2754.jpg
/home/pi/Desktop/images/14012025/07/58/image_14012025_07_58_31_2605.jpg
/home/pi/Desktop/images/14012025/08/06/image_14012025_08_06_58_3656.jpg
/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_01_2710.jpg
/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_04_2756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329233794","1329233793","1329233796","1329233790","1329233792","1329233791"],"photo_ids_order":["1329233790","1329233791","1329233792","1329233793","1329233794","1329233796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6cb294b7bad931c78fd26a5fe47ffbee.jpg","text":"TemporaryFile(/tmp/multipartBody7172851834943774506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976544973,"filename":"image_14012025_08_07_01_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b649c7d23b1f4a427069d5b60e9a864.jpg","text":"TemporaryFile(/tmp/multipartBody2512975376294423167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976544973,"filename":"image_14012025_08_06_58_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/93927b174740527da597df387876cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody6962951159085217149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976544973,"filename":"image_14012025_08_07_04_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f94878536e22aa824d41155beb9a8253.jpg","text":"TemporaryFile(/tmp/multipartBody8265415034120777799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976544973,"filename":"image_14012025_07_58_25_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd3e24174e5038e1b840d5d3b34d2b97.jpg","text":"TemporaryFile(/tmp/multipartBody5507290343267919072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976544973,"filename":"image_14012025_07_58_31_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0bbc91e1f6dd7b2adc80cdbf739e776.jpg","text":"TemporaryFile(/tmp/multipartBody6972492498260085450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976544973,"filename":"image_14012025_07_58_28_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329233792","file1":"1329233791","file0":"1329233790","file4":"1329233794","file5":"1329233796","file3":"1329233793"},"map_files_photo_id_array":[{"photo_id":"1329233796","filename":"file5"},{"photo_id":"1329233792","filename":"file2"},{"photo_id":"1329233794","filename":"file4"},{"photo_id":"1329233791","filename":"file1"},{"photo_id":"1329233790","filename":"file0"},{"photo_id":"1329233793","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329233794":["hashtag1","hashtag2"]},{"1329233793":["hashtag1","hashtag2"]},{"1329233796":["hashtag1","hashtag2"]},{"1329233790":["hashtag1","hashtag2"]},{"1329233792":["hashtag1","hashtag2"]},{"1329233791":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329233794, 1329233793, 1329233796, 1329233790, 1329233792, 1329233791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.629746198654175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:28:41.946946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_07_2892.jpg', '/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_10_3573.jpg', '/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_18_2893.jpg', '/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_40_2668.jpg', '/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_46_3785.jpg', '/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_55_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_07_2892.jpg
/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_10_3573.jpg
/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_18_2893.jpg
/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_40_2668.jpg
/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_46_3785.jpg
/home/pi/Desktop/images/14012025/08/07/image_14012025_08_07_55_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329233848","1329233815","1329233829","1329233873","1329233837","1329233810"],"photo_ids_order":["1329233810","1329233815","1329233829","1329233837","1329233848","1329233873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7b5a89108af39ef749354bec8039b71.jpg","text":"TemporaryFile(/tmp/multipartBody4513932975424746404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976583430,"filename":"image_14012025_08_07_46_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/450f7234ef7b970a9dd2064d5b63035b.jpg","text":"TemporaryFile(/tmp/multipartBody1474749981735005130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976583430,"filename":"image_14012025_08_07_10_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1b879893d162f5196e018785ce044f8e.jpg","text":"TemporaryFile(/tmp/multipartBody8045988656706845587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976583430,"filename":"image_14012025_08_07_18_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b476b46e1023b011136d4d8f36db160e.jpg","text":"TemporaryFile(/tmp/multipartBody4988262595474847480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976583430,"filename":"image_14012025_08_07_55_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6aeec4e75c157aa428f2cbd9bf2736dd.jpg","text":"TemporaryFile(/tmp/multipartBody8787127615625688391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976583430,"filename":"image_14012025_08_07_40_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6e068ceaa52c39cfae60728aa25609b8.jpg","text":"TemporaryFile(/tmp/multipartBody3614606562011616208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976583430,"filename":"image_14012025_08_07_07_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329233829","file1":"1329233815","file0":"1329233810","file4":"1329233848","file5":"1329233873","file3":"1329233837"},"map_files_photo_id_array":[{"photo_id":"1329233873","filename":"file5"},{"photo_id":"1329233829","filename":"file2"},{"photo_id":"1329233848","filename":"file4"},{"photo_id":"1329233815","filename":"file1"},{"photo_id":"1329233810","filename":"file0"},{"photo_id":"1329233837","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329233848":["hashtag1","hashtag2"]},{"1329233815":["hashtag1","hashtag2"]},{"1329233829":["hashtag1","hashtag2"]},{"1329233873":["hashtag1","hashtag2"]},{"1329233837":["hashtag1","hashtag2"]},{"1329233810":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329233848, 1329233815, 1329233829, 1329233873, 1329233837, 1329233810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81471586227417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:29:41.961154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/08/image_14012025_08_08_40_3782.jpg', '/home/pi/Desktop/images/14012025/08/08/image_14012025_08_08_43_2650.jpg', '/home/pi/Desktop/images/14012025/08/08/image_14012025_08_08_48_2895.jpg', '/home/pi/Desktop/images/14012025/08/08/image_14012025_08_09_01_3630.jpg', '/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_12_2805.jpg', '/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_16_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/08/image_14012025_08_08_40_3782.jpg
/home/pi/Desktop/images/14012025/08/08/image_14012025_08_08_43_2650.jpg
/home/pi/Desktop/images/14012025/08/08/image_14012025_08_08_48_2895.jpg
/home/pi/Desktop/images/14012025/08/08/image_14012025_08_09_01_3630.jpg
/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_12_2805.jpg
/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_16_3553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329233950","1329233944","1329233938","1329233932","1329233928","1329233936"],"photo_ids_order":["1329233928","1329233932","1329233936","1329233938","1329233944","1329233950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0af3ff15b6d400a734440d95c9899125.jpg","text":"TemporaryFile(/tmp/multipartBody1682479861484631630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976643363,"filename":"image_14012025_08_09_16_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc44930421437cbec3eee57dcb398a1a.jpg","text":"TemporaryFile(/tmp/multipartBody1086332941215300798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976643363,"filename":"image_14012025_08_09_12_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bfa8e509881f291dda0890087043be8f.jpg","text":"TemporaryFile(/tmp/multipartBody5816643746613208906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976643363,"filename":"image_14012025_08_09_01_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31b9280f20447f7214cc4d76d3f0e81c.jpg","text":"TemporaryFile(/tmp/multipartBody4906617409992050769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976643363,"filename":"image_14012025_08_08_43_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/727ee90844e49e52ba48fa177dc15ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1668431158196602827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976643363,"filename":"image_14012025_08_08_40_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e0d98200fa9f663609ba9d7e9e816da.jpg","text":"TemporaryFile(/tmp/multipartBody6277266104276025455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976643363,"filename":"image_14012025_08_08_48_2895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329233936","file1":"1329233932","file0":"1329233928","file4":"1329233944","file5":"1329233950","file3":"1329233938"},"map_files_photo_id_array":[{"photo_id":"1329233950","filename":"file5"},{"photo_id":"1329233936","filename":"file2"},{"photo_id":"1329233944","filename":"file4"},{"photo_id":"1329233932","filename":"file1"},{"photo_id":"1329233928","filename":"file0"},{"photo_id":"1329233938","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329233950":["hashtag1","hashtag2"]},{"1329233944":["hashtag1","hashtag2"]},{"1329233938":["hashtag1","hashtag2"]},{"1329233932":["hashtag1","hashtag2"]},{"1329233928":["hashtag1","hashtag2"]},{"1329233936":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329233950, 1329233944, 1329233938, 1329233932, 1329233928, 1329233936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.873730182647705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:30:22.325620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_18_2614.jpg', '/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_25_2808.jpg', '/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_36_2776.jpg', '/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_06_2857.jpg', '/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_13_3716.jpg', '/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_18_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_18_2614.jpg
/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_25_2808.jpg
/home/pi/Desktop/images/14012025/08/09/image_14012025_08_09_36_2776.jpg
/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_06_2857.jpg
/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_13_3716.jpg
/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_18_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329234100","1329234078","1329233976","1329234027","1329233952","1329234107"],"photo_ids_order":["1329233952","1329233976","1329234027","1329234078","1329234100","1329234107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c181b7c383cb4f5b7bb4e96146996fc7.jpg","text":"TemporaryFile(/tmp/multipartBody7075772166701223748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976685611,"filename":"image_14012025_08_10_13_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7f956769cfd2645ff34bb77ae3551d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1604808717902574456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976685611,"filename":"image_14012025_08_10_06_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d219bd4406cf42f3420a91fd4497a3fb.jpg","text":"TemporaryFile(/tmp/multipartBody7253460239277882244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976685611,"filename":"image_14012025_08_09_25_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/196fad902d441d2ca9520e0c4b9f94bb.jpg","text":"TemporaryFile(/tmp/multipartBody3027051162658174369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976685611,"filename":"image_14012025_08_09_36_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/715a9cb270099c68cf8f4578b33d635c.jpg","text":"TemporaryFile(/tmp/multipartBody8849035757551692026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976685611,"filename":"image_14012025_08_09_18_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/88513c516e4aeb7c426f740d9ba2734a.jpg","text":"TemporaryFile(/tmp/multipartBody8057869800788966288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976685611,"filename":"image_14012025_08_10_18_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329234027","file1":"1329233976","file0":"1329233952","file4":"1329234100","file5":"1329234107","file3":"1329234078"},"map_files_photo_id_array":[{"photo_id":"1329234107","filename":"file5"},{"photo_id":"1329234027","filename":"file2"},{"photo_id":"1329234100","filename":"file4"},{"photo_id":"1329233976","filename":"file1"},{"photo_id":"1329233952","filename":"file0"},{"photo_id":"1329234078","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329234100":["hashtag1","hashtag2"]},{"1329234078":["hashtag1","hashtag2"]},{"1329233976":["hashtag1","hashtag2"]},{"1329234027":["hashtag1","hashtag2"]},{"1329233952":["hashtag1","hashtag2"]},{"1329234107":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329234100, 1329234078, 1329233976, 1329234027, 1329233952, 1329234107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.249596118927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:31:03.189383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_30_2787.jpg', '/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_43_3663.jpg', '/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_45_2722.jpg', '/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_52_3666.jpg', '/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_57_2533.jpg', '/home/pi/Desktop/images/14012025/08/10/image_14012025_08_11_01_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_30_2787.jpg
/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_43_3663.jpg
/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_45_2722.jpg
/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_52_3666.jpg
/home/pi/Desktop/images/14012025/08/10/image_14012025_08_10_57_2533.jpg
/home/pi/Desktop/images/14012025/08/10/image_14012025_08_11_01_3761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329234205","1329234192","1329234162","1329234185","1329234161","1329234160"],"photo_ids_order":["1329234160","1329234161","1329234162","1329234185","1329234192","1329234205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e2d939dde6e80f3411587872cb551ae.jpg","text":"TemporaryFile(/tmp/multipartBody2749267633776491706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976725781,"filename":"image_14012025_08_11_01_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb632b365c87dbee1c519e6e6f9c3fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7854219704416436883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976725781,"filename":"image_14012025_08_10_57_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d861497ad7f8e5d788790fe2ae1d13d1.jpg","text":"TemporaryFile(/tmp/multipartBody665871997633996912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976725781,"filename":"image_14012025_08_10_45_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6fb159a7274948ebabb177ea8f6d2b56.jpg","text":"TemporaryFile(/tmp/multipartBody2149602345851415427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976725781,"filename":"image_14012025_08_10_52_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1f148b9c20dfcc4dcc593f679406a587.jpg","text":"TemporaryFile(/tmp/multipartBody5976869123754766540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976725781,"filename":"image_14012025_08_10_43_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7bf8713e57ddc68c44af0d4b59ed9b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2602553408476576671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976725781,"filename":"image_14012025_08_10_30_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329234162","file1":"1329234161","file0":"1329234160","file4":"1329234192","file5":"1329234205","file3":"1329234185"},"map_files_photo_id_array":[{"photo_id":"1329234205","filename":"file5"},{"photo_id":"1329234162","filename":"file2"},{"photo_id":"1329234192","filename":"file4"},{"photo_id":"1329234161","filename":"file1"},{"photo_id":"1329234160","filename":"file0"},{"photo_id":"1329234185","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329234205":["hashtag1","hashtag2"]},{"1329234192":["hashtag1","hashtag2"]},{"1329234162":["hashtag1","hashtag2"]},{"1329234185":["hashtag1","hashtag2"]},{"1329234161":["hashtag1","hashtag2"]},{"1329234160":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329234205, 1329234192, 1329234162, 1329234185, 1329234161, 1329234160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.407283306121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:32:02.790496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_03_2700.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_07_3243.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_09_2672.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_12_2767.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_16_3649.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_21_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_03_2700.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_07_3243.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_09_2672.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_12_2767.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_16_3649.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_21_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329234246","1329234240","1329234243","1329234248","1329234242","1329234250"],"photo_ids_order":["1329234240","1329234242","1329234243","1329234246","1329234248","1329234250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/82e779c58718560e8a07c81cf8e1d06b.jpg","text":"TemporaryFile(/tmp/multipartBody6787256153168678259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976785186,"filename":"image_14012025_08_11_12_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/46cc8de3d140cdab796f324ebfe85c83.jpg","text":"TemporaryFile(/tmp/multipartBody3182584521928311166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976785186,"filename":"image_14012025_08_11_03_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3e33c4d17dc18d6dad25c9385f7d791.jpg","text":"TemporaryFile(/tmp/multipartBody6209509030765111509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976785186,"filename":"image_14012025_08_11_09_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/09429fc835d4380138cb81306c926615.jpg","text":"TemporaryFile(/tmp/multipartBody7837261550128414950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976785186,"filename":"image_14012025_08_11_16_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a2830461552cd7ac8bd5be7b508d9be.jpg","text":"TemporaryFile(/tmp/multipartBody8367247912677944958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976785186,"filename":"image_14012025_08_11_07_3243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e8b1174863906ddc65b503b5a82eee76.jpg","text":"TemporaryFile(/tmp/multipartBody7241679724322321201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976785186,"filename":"image_14012025_08_11_21_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329234243","file1":"1329234242","file0":"1329234240","file4":"1329234248","file5":"1329234250","file3":"1329234246"},"map_files_photo_id_array":[{"photo_id":"1329234250","filename":"file5"},{"photo_id":"1329234243","filename":"file2"},{"photo_id":"1329234248","filename":"file4"},{"photo_id":"1329234242","filename":"file1"},{"photo_id":"1329234240","filename":"file0"},{"photo_id":"1329234246","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329234246":["hashtag1","hashtag2"]},{"1329234240":["hashtag1","hashtag2"]},{"1329234243":["hashtag1","hashtag2"]},{"1329234248":["hashtag1","hashtag2"]},{"1329234242":["hashtag1","hashtag2"]},{"1329234250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329234246, 1329234240, 1329234243, 1329234248, 1329234242, 1329234250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85120463371277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:32:42.163519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_24_2743.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_28_3611.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_30_2639.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_37_6592.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_40_1747.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_42_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_24_2743.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_28_3611.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_30_2639.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_37_6592.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_40_1747.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_42_1626.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.2434775829315186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:33:03.127499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_24_2743.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_28_3611.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_30_2639.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_37_6592.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_40_1747.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_42_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_24_2743.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_28_3611.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_30_2639.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_37_6592.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_40_1747.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_42_1626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329234817","1329234693","1329234825","1329234818","1329234812","1329234856"],"photo_ids_order":["1329234693","1329234812","1329234817","1329234818","1329234825","1329234856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3312ca32d0de537a1e2f42ef9f01a46c.jpg","text":"TemporaryFile(/tmp/multipartBody7495346436110715330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976845572,"filename":"image_14012025_08_11_30_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad80c11362324a12b4b4311b61cda763.jpg","text":"TemporaryFile(/tmp/multipartBody1617927763177969077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976845572,"filename":"image_14012025_08_11_24_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6ce8e547842be417bb5753341e6a229f.jpg","text":"TemporaryFile(/tmp/multipartBody5886179112365130313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976845572,"filename":"image_14012025_08_11_40_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d7d6674f3a4a1aa4713dc67eb2a78ac0.jpg","text":"TemporaryFile(/tmp/multipartBody6382671430121775645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976845572,"filename":"image_14012025_08_11_37_6592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de8325ffe0a0db8b6e6691a07b1f8c75.jpg","text":"TemporaryFile(/tmp/multipartBody6086915608491852637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976845572,"filename":"image_14012025_08_11_28_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a8ad1bd7e73487a03b6d3d421c7375f.jpg","text":"TemporaryFile(/tmp/multipartBody745287415286237690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976845572,"filename":"image_14012025_08_11_42_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329234817","file1":"1329234812","file0":"1329234693","file4":"1329234825","file5":"1329234856","file3":"1329234818"},"map_files_photo_id_array":[{"photo_id":"1329234856","filename":"file5"},{"photo_id":"1329234817","filename":"file2"},{"photo_id":"1329234825","filename":"file4"},{"photo_id":"1329234812","filename":"file1"},{"photo_id":"1329234693","filename":"file0"},{"photo_id":"1329234818","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329234817":["hashtag1","hashtag2"]},{"1329234693":["hashtag1","hashtag2"]},{"1329234825":["hashtag1","hashtag2"]},{"1329234818":["hashtag1","hashtag2"]},{"1329234812":["hashtag1","hashtag2"]},{"1329234856":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329234817, 1329234693, 1329234825, 1329234818, 1329234812, 1329234856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18597340583801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:34:02.916468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_45_3541.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_48_2490.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_51_3639.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_54_2501.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_58_3656.jpg', '/home/pi/Desktop/images/14012025/08/11/image_14012025_08_12_00_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_45_3541.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_48_2490.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_51_3639.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_54_2501.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_11_58_3656.jpg
/home/pi/Desktop/images/14012025/08/11/image_14012025_08_12_00_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235092","1329235125","1329235056","1329235127","1329235120","1329235083"],"photo_ids_order":["1329235056","1329235083","1329235092","1329235120","1329235125","1329235127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4c40ea7c196689588cd035713106a83.jpg","text":"TemporaryFile(/tmp/multipartBody2197465576673583665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976905344,"filename":"image_14012025_08_11_51_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/12ad000a9b18303ee901e3a5b39c649a.jpg","text":"TemporaryFile(/tmp/multipartBody2759840356057649916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976905344,"filename":"image_14012025_08_11_58_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d2234dec0ab0759f10e8ba4137bb2d97.jpg","text":"TemporaryFile(/tmp/multipartBody7209818776376130177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976905344,"filename":"image_14012025_08_11_45_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4c827876510e1788b8a66feb012fba04.jpg","text":"TemporaryFile(/tmp/multipartBody6288906554741377090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976905344,"filename":"image_14012025_08_12_00_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9cea2da8b25062c07ac1bff4961c372a.jpg","text":"TemporaryFile(/tmp/multipartBody2988776655860613312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976905344,"filename":"image_14012025_08_11_54_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c4ae96db86fe42ba7d8ac8bc7d8c422a.jpg","text":"TemporaryFile(/tmp/multipartBody1141360805356796604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976905344,"filename":"image_14012025_08_11_48_2490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235092","file1":"1329235083","file0":"1329235056","file4":"1329235125","file5":"1329235127","file3":"1329235120"},"map_files_photo_id_array":[{"photo_id":"1329235127","filename":"file5"},{"photo_id":"1329235092","filename":"file2"},{"photo_id":"1329235125","filename":"file4"},{"photo_id":"1329235083","filename":"file1"},{"photo_id":"1329235056","filename":"file0"},{"photo_id":"1329235120","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235092":["hashtag1","hashtag2"]},{"1329235125":["hashtag1","hashtag2"]},{"1329235056":["hashtag1","hashtag2"]},{"1329235127":["hashtag1","hashtag2"]},{"1329235120":["hashtag1","hashtag2"]},{"1329235083":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235092, 1329235125, 1329235056, 1329235127, 1329235120, 1329235083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04331612586975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:34:42.274273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_03_2732.jpg', '/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_42_2597.jpg', '/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_48_2636.jpg', '/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_52_3575.jpg', '/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_54_2591.jpg', '/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_57_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_03_2732.jpg
/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_42_2597.jpg
/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_48_2636.jpg
/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_52_3575.jpg
/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_54_2591.jpg
/home/pi/Desktop/images/14012025/08/12/image_14012025_08_12_57_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235146","1329235137","1329235142","1329235139","1329235148","1329235144"],"photo_ids_order":["1329235137","1329235139","1329235142","1329235144","1329235146","1329235148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4c37f4113a78ed472de14af94070acb.jpg","text":"TemporaryFile(/tmp/multipartBody976760922053772449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976943617,"filename":"image_14012025_08_12_54_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1518e3416b5765d9e17699550743947f.jpg","text":"TemporaryFile(/tmp/multipartBody155217056359516928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976943617,"filename":"image_14012025_08_12_03_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8bdf2bcbcd232d39ee7fbe2760c55035.jpg","text":"TemporaryFile(/tmp/multipartBody3851063321435899384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976943617,"filename":"image_14012025_08_12_48_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a67bf5446c6f6c68ae0c06d8c4db12fb.jpg","text":"TemporaryFile(/tmp/multipartBody5079436525638840265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976943617,"filename":"image_14012025_08_12_42_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a5a9f5b9c09f1361bc613d852ee4621f.jpg","text":"TemporaryFile(/tmp/multipartBody5618264171570014668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976943617,"filename":"image_14012025_08_12_57_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d573722b73ab76decc89aa09658f9ae.jpg","text":"TemporaryFile(/tmp/multipartBody8393662866489763733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976943617,"filename":"image_14012025_08_12_52_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235142","file1":"1329235139","file0":"1329235137","file4":"1329235146","file5":"1329235148","file3":"1329235144"},"map_files_photo_id_array":[{"photo_id":"1329235148","filename":"file5"},{"photo_id":"1329235142","filename":"file2"},{"photo_id":"1329235146","filename":"file4"},{"photo_id":"1329235139","filename":"file1"},{"photo_id":"1329235137","filename":"file0"},{"photo_id":"1329235144","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235146":["hashtag1","hashtag2"]},{"1329235137":["hashtag1","hashtag2"]},{"1329235142":["hashtag1","hashtag2"]},{"1329235139":["hashtag1","hashtag2"]},{"1329235148":["hashtag1","hashtag2"]},{"1329235144":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235146, 1329235137, 1329235142, 1329235139, 1329235148, 1329235144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96377968788147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:35:22.619908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/13/image_14012025_08_13_12_2615.jpg', '/home/pi/Desktop/images/14012025/08/21/image_14012025_08_21_44_2773.jpg', '/home/pi/Desktop/images/14012025/08/22/image_14012025_08_22_14_2690.jpg', '/home/pi/Desktop/images/14012025/08/22/image_14012025_08_22_17_3713.jpg', '/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_38_2596.jpg', '/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_41_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/13/image_14012025_08_13_12_2615.jpg
/home/pi/Desktop/images/14012025/08/21/image_14012025_08_21_44_2773.jpg
/home/pi/Desktop/images/14012025/08/22/image_14012025_08_22_14_2690.jpg
/home/pi/Desktop/images/14012025/08/22/image_14012025_08_22_17_3713.jpg
/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_38_2596.jpg
/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_41_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235257","1329235160","1329235283","1329235310","1329235211","1329235293"],"photo_ids_order":["1329235160","1329235211","1329235257","1329235283","1329235293","1329235310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9faa6147c801a0c51c1ded82db74a03d.jpg","text":"TemporaryFile(/tmp/multipartBody4469306852202112343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976985791,"filename":"image_14012025_08_22_14_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/20d9497efdb47ce15c5e77d6c10dc8cb.jpg","text":"TemporaryFile(/tmp/multipartBody6095187717109458491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976985791,"filename":"image_14012025_08_13_12_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/26f644ef6123ec758709c06188edf8fe.jpg","text":"TemporaryFile(/tmp/multipartBody7069729342306165113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976985791,"filename":"image_14012025_08_22_17_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2091d25ad8fe4783c7d5d44ca44eaa11.jpg","text":"TemporaryFile(/tmp/multipartBody2281436830195038029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976985791,"filename":"image_14012025_08_23_41_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aab8d4703404eb7b99524b8f4d651c96.jpg","text":"TemporaryFile(/tmp/multipartBody6374389447960724674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976985791,"filename":"image_14012025_08_21_44_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5d2de84960df453bb3fa382a4eb46961.jpg","text":"TemporaryFile(/tmp/multipartBody7772819399202641165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736976985791,"filename":"image_14012025_08_23_38_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235257","file1":"1329235211","file0":"1329235160","file4":"1329235293","file5":"1329235310","file3":"1329235283"},"map_files_photo_id_array":[{"photo_id":"1329235310","filename":"file5"},{"photo_id":"1329235257","filename":"file2"},{"photo_id":"1329235293","filename":"file4"},{"photo_id":"1329235211","filename":"file1"},{"photo_id":"1329235160","filename":"file0"},{"photo_id":"1329235283","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235257":["hashtag1","hashtag2"]},{"1329235160":["hashtag1","hashtag2"]},{"1329235283":["hashtag1","hashtag2"]},{"1329235310":["hashtag1","hashtag2"]},{"1329235211":["hashtag1","hashtag2"]},{"1329235293":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235257, 1329235160, 1329235283, 1329235310, 1329235211, 1329235293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48926138877869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:36:02.982736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_44_3662.jpg', '/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_56_2656.jpg', '/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_58_2673.jpg', '/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_02_3674.jpg', '/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_05_2808.jpg', '/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_08_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_44_3662.jpg
/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_56_2656.jpg
/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_58_2673.jpg
/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_02_3674.jpg
/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_05_2808.jpg
/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_08_2650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 7.381211519241333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:36:22.405632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_44_3662.jpg', '/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_56_2656.jpg', '/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_58_2673.jpg', '/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_02_3674.jpg', '/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_05_2808.jpg', '/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_08_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_44_3662.jpg
/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_56_2656.jpg
/home/pi/Desktop/images/14012025/08/23/image_14012025_08_23_58_2673.jpg
/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_02_3674.jpg
/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_05_2808.jpg
/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_08_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235356","1329235353","1329235352","1329235349","1329235372","1329235369"],"photo_ids_order":["1329235349","1329235352","1329235353","1329235356","1329235369","1329235372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bf857d7a1d974ef3b55632cc0b8b31ab.jpg","text":"TemporaryFile(/tmp/multipartBody750996670183129311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977045589,"filename":"image_14012025_08_24_02_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0af0a3539bd08e6d61e307f150404cb5.jpg","text":"TemporaryFile(/tmp/multipartBody3219565453523884190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977045589,"filename":"image_14012025_08_23_58_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/211b4f855f037d979566490af7c67176.jpg","text":"TemporaryFile(/tmp/multipartBody2826267537220733795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977045589,"filename":"image_14012025_08_23_56_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74c712280f831c9941c6990a3a9022f3.jpg","text":"TemporaryFile(/tmp/multipartBody649403406454757500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977045589,"filename":"image_14012025_08_23_44_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a168dba85e82f60f72c89bfd8cc1075.jpg","text":"TemporaryFile(/tmp/multipartBody7040805969396225565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977045589,"filename":"image_14012025_08_24_08_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7fd5c2cdccfd0741a2c9d805e715e388.jpg","text":"TemporaryFile(/tmp/multipartBody3272752764817058333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977045589,"filename":"image_14012025_08_24_05_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235353","file1":"1329235352","file0":"1329235349","file4":"1329235369","file5":"1329235372","file3":"1329235356"},"map_files_photo_id_array":[{"photo_id":"1329235372","filename":"file5"},{"photo_id":"1329235353","filename":"file2"},{"photo_id":"1329235369","filename":"file4"},{"photo_id":"1329235352","filename":"file1"},{"photo_id":"1329235349","filename":"file0"},{"photo_id":"1329235356","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235356":["hashtag1","hashtag2"]},{"1329235353":["hashtag1","hashtag2"]},{"1329235352":["hashtag1","hashtag2"]},{"1329235349":["hashtag1","hashtag2"]},{"1329235372":["hashtag1","hashtag2"]},{"1329235369":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235356, 1329235353, 1329235352, 1329235349, 1329235372, 1329235369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.210193395614624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:37:03.038862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_11_3690.jpg', '/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_56_2651.jpg', '/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_58_2678.jpg', '/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_02_3578.jpg', '/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_05_2773.jpg', '/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_08_2904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_11_3690.jpg
/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_56_2651.jpg
/home/pi/Desktop/images/14012025/08/24/image_14012025_08_24_58_2678.jpg
/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_02_3578.jpg
/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_05_2773.jpg
/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_08_2904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235410","1329235393","1329235412","1329235392","1329235389","1329235380"],"photo_ids_order":["1329235380","1329235389","1329235392","1329235393","1329235410","1329235412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e444b8d2da92460ad0d44ba794d63a52.jpg","text":"TemporaryFile(/tmp/multipartBody6971011068404633743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977085614,"filename":"image_14012025_08_25_05_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bb77a8798a14e637f2e2620b47891cf6.jpg","text":"TemporaryFile(/tmp/multipartBody1086296892090322793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977085614,"filename":"image_14012025_08_25_02_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3f3fb49ffa8399f7266c852141f31fe.jpg","text":"TemporaryFile(/tmp/multipartBody3219959901501322502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977085614,"filename":"image_14012025_08_25_08_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48f0156f6a23e2100f952d8febc19b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2586986251286155293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977085614,"filename":"image_14012025_08_24_58_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a170e4f77fd96419e608ea1af1a6f3d3.jpg","text":"TemporaryFile(/tmp/multipartBody3187387967093075538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977085614,"filename":"image_14012025_08_24_56_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7cba6db0926c347f1e01452be230bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6907808971703695907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977085614,"filename":"image_14012025_08_24_11_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235392","file1":"1329235389","file0":"1329235380","file4":"1329235410","file5":"1329235412","file3":"1329235393"},"map_files_photo_id_array":[{"photo_id":"1329235412","filename":"file5"},{"photo_id":"1329235392","filename":"file2"},{"photo_id":"1329235410","filename":"file4"},{"photo_id":"1329235389","filename":"file1"},{"photo_id":"1329235380","filename":"file0"},{"photo_id":"1329235393","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235410":["hashtag1","hashtag2"]},{"1329235393":["hashtag1","hashtag2"]},{"1329235412":["hashtag1","hashtag2"]},{"1329235392":["hashtag1","hashtag2"]},{"1329235389":["hashtag1","hashtag2"]},{"1329235380":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235410, 1329235393, 1329235412, 1329235392, 1329235389, 1329235380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78700876235962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:38:02.374305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_14_3793.jpg', '/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_23_3654.jpg', '/home/pi/Desktop/images/14012025/08/31/image_14012025_08_31_44_3798.jpg', '/home/pi/Desktop/images/14012025/08/31/image_14012025_08_31_47_2568.jpg', '/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_08_2683.jpg', '/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_11_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_14_3793.jpg
/home/pi/Desktop/images/14012025/08/25/image_14012025_08_25_23_3654.jpg
/home/pi/Desktop/images/14012025/08/31/image_14012025_08_31_44_3798.jpg
/home/pi/Desktop/images/14012025/08/31/image_14012025_08_31_47_2568.jpg
/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_08_2683.jpg
/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_11_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235437","1329235434","1329235436","1329235438","1329235432","1329235441"],"photo_ids_order":["1329235432","1329235434","1329235436","1329235437","1329235438","1329235441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da6edf46f87503b436b2c629a577f184.jpg","text":"TemporaryFile(/tmp/multipartBody8362408648265796370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977144833,"filename":"image_14012025_08_31_47_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a402e7793fa499f0fff3e5b086ef374.jpg","text":"TemporaryFile(/tmp/multipartBody4462184819270493819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977144833,"filename":"image_14012025_08_25_23_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b78b86e3384481f1d1b0ca6f3b97ee73.jpg","text":"TemporaryFile(/tmp/multipartBody4473493440909851413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977144833,"filename":"image_14012025_08_31_44_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/18233e686a9b27145630a0f8ebbbae3c.jpg","text":"TemporaryFile(/tmp/multipartBody3182053527960903922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977144833,"filename":"image_14012025_08_32_08_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16f9c6699bcf1a165e8b6ac7df50fd47.jpg","text":"TemporaryFile(/tmp/multipartBody3221841676294639908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977144833,"filename":"image_14012025_08_25_14_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/adeb16d8cb9916b04750ec3e2ac41a97.jpg","text":"TemporaryFile(/tmp/multipartBody8110939852935669580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977144833,"filename":"image_14012025_08_32_11_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235436","file1":"1329235434","file0":"1329235432","file4":"1329235438","file5":"1329235441","file3":"1329235437"},"map_files_photo_id_array":[{"photo_id":"1329235441","filename":"file5"},{"photo_id":"1329235436","filename":"file2"},{"photo_id":"1329235438","filename":"file4"},{"photo_id":"1329235434","filename":"file1"},{"photo_id":"1329235432","filename":"file0"},{"photo_id":"1329235437","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235437":["hashtag1","hashtag2"]},{"1329235434":["hashtag1","hashtag2"]},{"1329235436":["hashtag1","hashtag2"]},{"1329235438":["hashtag1","hashtag2"]},{"1329235432":["hashtag1","hashtag2"]},{"1329235441":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235437, 1329235434, 1329235436, 1329235438, 1329235432, 1329235441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77715063095093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:38:41.812814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_14_2654.jpg', '/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_17_2563.jpg', '/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_20_3715.jpg', '/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_23_2562.jpg', '/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_29_3933.jpg', '/home/pi/Desktop/images/14012025/08/35/image_14012025_08_35_50_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_14_2654.jpg
/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_17_2563.jpg
/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_20_3715.jpg
/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_23_2562.jpg
/home/pi/Desktop/images/14012025/08/32/image_14012025_08_32_29_3933.jpg
/home/pi/Desktop/images/14012025/08/35/image_14012025_08_35_50_3618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235475","1329235477","1329235462","1329235471","1329235473","1329235467"],"photo_ids_order":["1329235462","1329235467","1329235471","1329235473","1329235475","1329235477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2cce59311414ad9c8f1492e75506b751.jpg","text":"TemporaryFile(/tmp/multipartBody3991600331033421319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977183212,"filename":"image_14012025_08_32_29_3933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6e33f1c8ddd79cda077331bcb97c6b4f.jpg","text":"TemporaryFile(/tmp/multipartBody7228367438122954694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977183212,"filename":"image_14012025_08_35_50_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad689cf241111a52f438c45026030a3a.jpg","text":"TemporaryFile(/tmp/multipartBody6028762937833138538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977183212,"filename":"image_14012025_08_32_14_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b927977d32d2a13fb96ba2deffb5e34.jpg","text":"TemporaryFile(/tmp/multipartBody4181416381131290226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977183212,"filename":"image_14012025_08_32_20_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/915444180f3bafa6841dbb7ed8e12d4b.jpg","text":"TemporaryFile(/tmp/multipartBody7551881764860879485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977183212,"filename":"image_14012025_08_32_23_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/28a4c227571cb6ca68222ac36f8041e5.jpg","text":"TemporaryFile(/tmp/multipartBody1394956286158674373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977183212,"filename":"image_14012025_08_32_17_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235471","file1":"1329235467","file0":"1329235462","file4":"1329235475","file5":"1329235477","file3":"1329235473"},"map_files_photo_id_array":[{"photo_id":"1329235477","filename":"file5"},{"photo_id":"1329235471","filename":"file2"},{"photo_id":"1329235475","filename":"file4"},{"photo_id":"1329235467","filename":"file1"},{"photo_id":"1329235462","filename":"file0"},{"photo_id":"1329235473","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235475":["hashtag1","hashtag2"]},{"1329235477":["hashtag1","hashtag2"]},{"1329235462":["hashtag1","hashtag2"]},{"1329235471":["hashtag1","hashtag2"]},{"1329235473":["hashtag1","hashtag2"]},{"1329235467":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235475, 1329235477, 1329235462, 1329235471, 1329235473, 1329235467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01813721656799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:39:21.935049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/35/image_14012025_08_35_53_2807.jpg', '/home/pi/Desktop/images/14012025/08/35/image_14012025_08_35_55_2719.jpg', '/home/pi/Desktop/images/14012025/08/36/image_14012025_08_36_07_2744.jpg', '/home/pi/Desktop/images/14012025/08/36/image_14012025_08_36_11_3745.jpg', '/home/pi/Desktop/images/14012025/08/36/image_14012025_08_36_22_2687.jpg', '/home/pi/Desktop/images/14012025/08/39/image_14012025_08_39_41_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/35/image_14012025_08_35_53_2807.jpg
/home/pi/Desktop/images/14012025/08/35/image_14012025_08_35_55_2719.jpg
/home/pi/Desktop/images/14012025/08/36/image_14012025_08_36_07_2744.jpg
/home/pi/Desktop/images/14012025/08/36/image_14012025_08_36_11_3745.jpg
/home/pi/Desktop/images/14012025/08/36/image_14012025_08_36_22_2687.jpg
/home/pi/Desktop/images/14012025/08/39/image_14012025_08_39_41_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235536","1329235526","1329235538","1329235531","1329235534","1329235528"],"photo_ids_order":["1329235526","1329235528","1329235531","1329235534","1329235536","1329235538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fcffbe4ec3e9d320f92bed9863807ace.jpg","text":"TemporaryFile(/tmp/multipartBody898646789850635483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977225069,"filename":"image_14012025_08_36_22_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02e928847a97ddce66f21f97f18b08c0.jpg","text":"TemporaryFile(/tmp/multipartBody7639328872517211878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977225069,"filename":"image_14012025_08_35_53_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/185a811478d03f590b4cecf8651ed698.jpg","text":"TemporaryFile(/tmp/multipartBody8382524104292922290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977225069,"filename":"image_14012025_08_39_41_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/47a7b8b59e7406c26b14227b78b855f5.jpg","text":"TemporaryFile(/tmp/multipartBody4455544555553489782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977225069,"filename":"image_14012025_08_36_07_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/56859fb936c319b0880444aa370a28c4.jpg","text":"TemporaryFile(/tmp/multipartBody1000906715049801827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977225069,"filename":"image_14012025_08_36_11_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4cc698455fd6e45ee1ea96254915333c.jpg","text":"TemporaryFile(/tmp/multipartBody8043103071765752568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977225069,"filename":"image_14012025_08_35_55_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235531","file1":"1329235528","file0":"1329235526","file4":"1329235536","file5":"1329235538","file3":"1329235534"},"map_files_photo_id_array":[{"photo_id":"1329235538","filename":"file5"},{"photo_id":"1329235531","filename":"file2"},{"photo_id":"1329235536","filename":"file4"},{"photo_id":"1329235528","filename":"file1"},{"photo_id":"1329235526","filename":"file0"},{"photo_id":"1329235534","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235536":["hashtag1","hashtag2"]},{"1329235526":["hashtag1","hashtag2"]},{"1329235538":["hashtag1","hashtag2"]},{"1329235531":["hashtag1","hashtag2"]},{"1329235534":["hashtag1","hashtag2"]},{"1329235528":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235536, 1329235526, 1329235538, 1329235531, 1329235534, 1329235528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53908061981201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:40:02.860222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/41/image_14012025_08_41_43_2611.jpg', '/home/pi/Desktop/images/14012025/08/41/image_14012025_08_41_46_3637.jpg', '/home/pi/Desktop/images/14012025/08/41/image_14012025_08_41_49_2610.jpg', '/home/pi/Desktop/images/14012025/08/41/image_14012025_08_42_00_2665.jpg', '/home/pi/Desktop/images/14012025/08/42/image_14012025_08_42_07_2656.jpg', '/home/pi/Desktop/images/14012025/08/42/image_14012025_08_43_01_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/41/image_14012025_08_41_43_2611.jpg
/home/pi/Desktop/images/14012025/08/41/image_14012025_08_41_46_3637.jpg
/home/pi/Desktop/images/14012025/08/41/image_14012025_08_41_49_2610.jpg
/home/pi/Desktop/images/14012025/08/41/image_14012025_08_42_00_2665.jpg
/home/pi/Desktop/images/14012025/08/42/image_14012025_08_42_07_2656.jpg
/home/pi/Desktop/images/14012025/08/42/image_14012025_08_43_01_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235557","1329235545","1329235544","1329235561","1329235564","1329235543"],"photo_ids_order":["1329235543","1329235544","1329235545","1329235557","1329235561","1329235564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ff5c101ae1d5b43e62f20e22722a7317.jpg","text":"TemporaryFile(/tmp/multipartBody8026732850772337730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977265333,"filename":"image_14012025_08_42_00_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1b3f533bee5be3990f636fe38be1b1ce.jpg","text":"TemporaryFile(/tmp/multipartBody8315456933886962603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977265333,"filename":"image_14012025_08_41_49_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b516b3707ba004498ea127399f1f034e.jpg","text":"TemporaryFile(/tmp/multipartBody7214912322886856269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977265333,"filename":"image_14012025_08_41_46_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1dd35c5260bb3657f590fbb4b0f8ce89.jpg","text":"TemporaryFile(/tmp/multipartBody6887460233315801083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977265333,"filename":"image_14012025_08_42_07_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3ed43e586ea49dc61763dc05d204dd8e.jpg","text":"TemporaryFile(/tmp/multipartBody6548769520244396016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977265333,"filename":"image_14012025_08_43_01_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb5b7bd4956eaf3c3cc020deb94b982f.jpg","text":"TemporaryFile(/tmp/multipartBody1474422208269761129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977265333,"filename":"image_14012025_08_41_43_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235545","file1":"1329235544","file0":"1329235543","file4":"1329235561","file5":"1329235564","file3":"1329235557"},"map_files_photo_id_array":[{"photo_id":"1329235564","filename":"file5"},{"photo_id":"1329235545","filename":"file2"},{"photo_id":"1329235561","filename":"file4"},{"photo_id":"1329235544","filename":"file1"},{"photo_id":"1329235543","filename":"file0"},{"photo_id":"1329235557","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235557":["hashtag1","hashtag2"]},{"1329235545":["hashtag1","hashtag2"]},{"1329235544":["hashtag1","hashtag2"]},{"1329235561":["hashtag1","hashtag2"]},{"1329235564":["hashtag1","hashtag2"]},{"1329235543":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235557, 1329235545, 1329235544, 1329235561, 1329235564, 1329235543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2602641582489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:41:02.816778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/43/image_14012025_08_43_40_2641.jpg', '/home/pi/Desktop/images/14012025/08/43/image_14012025_08_44_01_3639.jpg', '/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_18_2662.jpg', '/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_27_2620.jpg', '/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_36_2614.jpg', '/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_45_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/43/image_14012025_08_43_40_2641.jpg
/home/pi/Desktop/images/14012025/08/43/image_14012025_08_44_01_3639.jpg
/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_18_2662.jpg
/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_27_2620.jpg
/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_36_2614.jpg
/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_45_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329235970","1329235859","1329235739","1329235649","1329235808","1329236008"],"photo_ids_order":["1329235649","1329235739","1329235808","1329235859","1329235970","1329236008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2e05ef94a9ab4245cc5dba429e7651c.jpg","text":"TemporaryFile(/tmp/multipartBody3106754148407259483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977325405,"filename":"image_14012025_08_44_36_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/898a3045db082bd57336080d5a87bc28.jpg","text":"TemporaryFile(/tmp/multipartBody3933633002163325661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977325405,"filename":"image_14012025_08_44_27_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/899e7d8d2e93a7920a0128fa000ce0ac.jpg","text":"TemporaryFile(/tmp/multipartBody5280990815429093607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977325405,"filename":"image_14012025_08_44_01_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1795323193831bf376572a6d90f8eb2f.jpg","text":"TemporaryFile(/tmp/multipartBody539668216048272046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977325405,"filename":"image_14012025_08_43_40_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f7f9ed0aa8d7857008693345059f8acd.jpg","text":"TemporaryFile(/tmp/multipartBody3737632500746601255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977325405,"filename":"image_14012025_08_44_18_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f9439743bb09783ec4a8775e01d4887.jpg","text":"TemporaryFile(/tmp/multipartBody4296796697736662348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977325405,"filename":"image_14012025_08_44_45_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329235808","file1":"1329235739","file0":"1329235649","file4":"1329235970","file5":"1329236008","file3":"1329235859"},"map_files_photo_id_array":[{"photo_id":"1329236008","filename":"file5"},{"photo_id":"1329235808","filename":"file2"},{"photo_id":"1329235970","filename":"file4"},{"photo_id":"1329235739","filename":"file1"},{"photo_id":"1329235649","filename":"file0"},{"photo_id":"1329235859","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329235970":["hashtag1","hashtag2"]},{"1329235859":["hashtag1","hashtag2"]},{"1329235739":["hashtag1","hashtag2"]},{"1329235649":["hashtag1","hashtag2"]},{"1329235808":["hashtag1","hashtag2"]},{"1329236008":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329235970, 1329235859, 1329235739, 1329235649, 1329235808, 1329236008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.33727741241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:42:02.795755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_55_2700.jpg', '/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_57_2827.jpg', '/home/pi/Desktop/images/14012025/08/46/image_14012025_08_46_27_2699.jpg', '/home/pi/Desktop/images/14012025/08/46/image_14012025_08_46_30_2799.jpg', '/home/pi/Desktop/images/14012025/08/46/image_14012025_08_46_58_3607.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_03_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_55_2700.jpg
/home/pi/Desktop/images/14012025/08/44/image_14012025_08_44_57_2827.jpg
/home/pi/Desktop/images/14012025/08/46/image_14012025_08_46_27_2699.jpg
/home/pi/Desktop/images/14012025/08/46/image_14012025_08_46_30_2799.jpg
/home/pi/Desktop/images/14012025/08/46/image_14012025_08_46_58_3607.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_03_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329236153","1329236156","1329236158","1329236149","1329236154","1329236151"],"photo_ids_order":["1329236149","1329236151","1329236153","1329236154","1329236156","1329236158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7d755b778389a07f93de8d1cc6f8402.jpg","text":"TemporaryFile(/tmp/multipartBody486776026866569083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977385407,"filename":"image_14012025_08_46_27_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e955ccea8858d5932e3e9cb37574a43e.jpg","text":"TemporaryFile(/tmp/multipartBody7199316286454175622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977385407,"filename":"image_14012025_08_46_58_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/152a410d1da5c264971cf11e8a1074e4.jpg","text":"TemporaryFile(/tmp/multipartBody6764201186399097586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977385407,"filename":"image_14012025_08_47_03_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b8a707239ffb977add4df747f903bda8.jpg","text":"TemporaryFile(/tmp/multipartBody1576527331584159164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977385407,"filename":"image_14012025_08_44_55_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/68267be299602dba5b1b3d20ba3ae51a.jpg","text":"TemporaryFile(/tmp/multipartBody8900620447386301953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977385407,"filename":"image_14012025_08_46_30_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a808fc7e2355fc88571ba0c6cc15a07.jpg","text":"TemporaryFile(/tmp/multipartBody9201196779130658121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977385407,"filename":"image_14012025_08_44_57_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329236153","file1":"1329236151","file0":"1329236149","file4":"1329236156","file5":"1329236158","file3":"1329236154"},"map_files_photo_id_array":[{"photo_id":"1329236158","filename":"file5"},{"photo_id":"1329236153","filename":"file2"},{"photo_id":"1329236156","filename":"file4"},{"photo_id":"1329236151","filename":"file1"},{"photo_id":"1329236149","filename":"file0"},{"photo_id":"1329236154","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329236153":["hashtag1","hashtag2"]},{"1329236156":["hashtag1","hashtag2"]},{"1329236158":["hashtag1","hashtag2"]},{"1329236149":["hashtag1","hashtag2"]},{"1329236154":["hashtag1","hashtag2"]},{"1329236151":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329236153, 1329236156, 1329236158, 1329236149, 1329236154, 1329236151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.151684284210205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:43:03.172759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_07_3541.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_10_2842.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_12_2634.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_16_3590.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_18_2596.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_21_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_07_3541.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_10_2842.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_12_2634.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_16_3590.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_18_2596.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_21_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329236232","1329236210","1329236230","1329236233","1329236212","1329236236"],"photo_ids_order":["1329236210","1329236212","1329236230","1329236232","1329236233","1329236236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/92d0b61756767d3f1801bda75210b945.jpg","text":"TemporaryFile(/tmp/multipartBody1848905206981956249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977445718,"filename":"image_14012025_08_47_16_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/328cb274c1efa0118b0b5493e6655d06.jpg","text":"TemporaryFile(/tmp/multipartBody1267443588799156301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977445718,"filename":"image_14012025_08_47_07_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24579feb88f334216bf8e3ce1e03f6c9.jpg","text":"TemporaryFile(/tmp/multipartBody63493891004848574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977445718,"filename":"image_14012025_08_47_12_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c5b4c7447ca9bdf3cfc78dd74e67c9f3.jpg","text":"TemporaryFile(/tmp/multipartBody8834641022649358444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977445718,"filename":"image_14012025_08_47_18_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ebf743cd3f05681a67280489f8f73a05.jpg","text":"TemporaryFile(/tmp/multipartBody5768059099211629877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977445718,"filename":"image_14012025_08_47_10_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/193fcbb6ed104ce3b0a61246a05ee220.jpg","text":"TemporaryFile(/tmp/multipartBody4238619324842307788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977445718,"filename":"image_14012025_08_47_21_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329236230","file1":"1329236212","file0":"1329236210","file4":"1329236233","file5":"1329236236","file3":"1329236232"},"map_files_photo_id_array":[{"photo_id":"1329236236","filename":"file5"},{"photo_id":"1329236230","filename":"file2"},{"photo_id":"1329236233","filename":"file4"},{"photo_id":"1329236212","filename":"file1"},{"photo_id":"1329236210","filename":"file0"},{"photo_id":"1329236232","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329236232":["hashtag1","hashtag2"]},{"1329236210":["hashtag1","hashtag2"]},{"1329236230":["hashtag1","hashtag2"]},{"1329236233":["hashtag1","hashtag2"]},{"1329236212":["hashtag1","hashtag2"]},{"1329236236":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329236232, 1329236210, 1329236230, 1329236233, 1329236212, 1329236236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.425503969192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:44:02.961650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_25_3564.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_27_2576.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_31_3686.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_34_2685.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_36_2721.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_40_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_25_3564.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_27_2576.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_31_3686.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_34_2685.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_36_2721.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_40_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329236264","1329236258","1329236261","1329236255","1329236269","1329236259"],"photo_ids_order":["1329236255","1329236258","1329236259","1329236261","1329236264","1329236269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/46f68663190751830a8ff738acbe1c45.jpg","text":"TemporaryFile(/tmp/multipartBody2528828670257968544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977505413,"filename":"image_14012025_08_47_36_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/05f5c5983d3c73c0db84c68be91d6ae8.jpg","text":"TemporaryFile(/tmp/multipartBody4619700368606857419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977505413,"filename":"image_14012025_08_47_27_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f4c4909d3c542e94c7ff2859408fcd4.jpg","text":"TemporaryFile(/tmp/multipartBody5501999825266028624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977505413,"filename":"image_14012025_08_47_34_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/915fb9492b386367c8c2d731341d718a.jpg","text":"TemporaryFile(/tmp/multipartBody5813280240097169276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977505413,"filename":"image_14012025_08_47_25_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/480f9c55cfcfa186b5456ac7d23a835f.jpg","text":"TemporaryFile(/tmp/multipartBody6375828654603263484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977505413,"filename":"image_14012025_08_47_40_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4bc50a4c9e15629cdbb8d9dff29c0712.jpg","text":"TemporaryFile(/tmp/multipartBody746286971219812162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977505413,"filename":"image_14012025_08_47_31_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329236259","file1":"1329236258","file0":"1329236255","file4":"1329236264","file5":"1329236269","file3":"1329236261"},"map_files_photo_id_array":[{"photo_id":"1329236269","filename":"file5"},{"photo_id":"1329236259","filename":"file2"},{"photo_id":"1329236264","filename":"file4"},{"photo_id":"1329236258","filename":"file1"},{"photo_id":"1329236255","filename":"file0"},{"photo_id":"1329236261","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329236264":["hashtag1","hashtag2"]},{"1329236258":["hashtag1","hashtag2"]},{"1329236261":["hashtag1","hashtag2"]},{"1329236255":["hashtag1","hashtag2"]},{"1329236269":["hashtag1","hashtag2"]},{"1329236259":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329236264, 1329236258, 1329236261, 1329236255, 1329236269, 1329236259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.18850374221802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:45:03.328164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_43_2705.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_45_2555.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_50_4523.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_51_1578.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_57_2648.jpg', '/home/pi/Desktop/images/14012025/08/47/image_14012025_08_48_00_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_43_2705.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_45_2555.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_50_4523.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_51_1578.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_47_57_2648.jpg
/home/pi/Desktop/images/14012025/08/47/image_14012025_08_48_00_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329236654","1329236642","1329236471","1329236606","1329236485","1329236572"],"photo_ids_order":["1329236471","1329236485","1329236572","1329236606","1329236642","1329236654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/98ded6e64f8d8b79e7dce513e748fe16.jpg","text":"TemporaryFile(/tmp/multipartBody5789983041934376145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977565920,"filename":"image_14012025_08_48_00_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5319e92d0eb5fb1539eeee0db78ff30.jpg","text":"TemporaryFile(/tmp/multipartBody3516575935258386911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977565920,"filename":"image_14012025_08_47_57_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f63e75af73ac3ae70b41f8698d2c1a7c.jpg","text":"TemporaryFile(/tmp/multipartBody9096790185145634324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977565920,"filename":"image_14012025_08_47_43_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29556eccd645e08f0402f3cb6b6446fb.jpg","text":"TemporaryFile(/tmp/multipartBody344366600925997883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977565920,"filename":"image_14012025_08_47_51_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a9ebe0d54f22ca680f80a4177e7378b6.jpg","text":"TemporaryFile(/tmp/multipartBody252662141662460517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977565920,"filename":"image_14012025_08_47_45_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/50397a05337b2fb44f208898ddc65478.jpg","text":"TemporaryFile(/tmp/multipartBody2726466193323288753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977565920,"filename":"image_14012025_08_47_50_4523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329236572","file1":"1329236485","file0":"1329236471","file4":"1329236642","file5":"1329236654","file3":"1329236606"},"map_files_photo_id_array":[{"photo_id":"1329236654","filename":"file5"},{"photo_id":"1329236572","filename":"file2"},{"photo_id":"1329236642","filename":"file4"},{"photo_id":"1329236485","filename":"file1"},{"photo_id":"1329236471","filename":"file0"},{"photo_id":"1329236606","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329236654":["hashtag1","hashtag2"]},{"1329236642":["hashtag1","hashtag2"]},{"1329236471":["hashtag1","hashtag2"]},{"1329236606":["hashtag1","hashtag2"]},{"1329236485":["hashtag1","hashtag2"]},{"1329236572":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329236654, 1329236642, 1329236471, 1329236606, 1329236485, 1329236572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.07699251174927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:46:03.195154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_07_3666.jpg', '/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_12_2579.jpg', '/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_16_3636.jpg', '/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_21_2578.jpg', '/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_24_2682.jpg', '/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_30_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_07_3666.jpg
/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_12_2579.jpg
/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_16_3636.jpg
/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_21_2578.jpg
/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_24_2682.jpg
/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_30_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329236808","1329236837","1329236801","1329236851","1329236830","1329236722"],"photo_ids_order":["1329236722","1329236801","1329236808","1329236830","1329236837","1329236851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9238e0e6482839db4d6995110b7876f5.jpg","text":"TemporaryFile(/tmp/multipartBody4566017020908415090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977625622,"filename":"image_14012025_08_48_16_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b338e4dfff0c23b6375cf0737090725e.jpg","text":"TemporaryFile(/tmp/multipartBody2263782492941668229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977625622,"filename":"image_14012025_08_48_24_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9a6b067bb958e381b077b69a486f9186.jpg","text":"TemporaryFile(/tmp/multipartBody840128131180935112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977625622,"filename":"image_14012025_08_48_12_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8af9f0cf1d09d6c621569d26452a0371.jpg","text":"TemporaryFile(/tmp/multipartBody7649458478111419169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977625622,"filename":"image_14012025_08_48_30_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/91915718ebccce446c723b0df52cf32f.jpg","text":"TemporaryFile(/tmp/multipartBody3554716080052586440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977625622,"filename":"image_14012025_08_48_21_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5921a9c2f02e114abdcb8c1206ad5d50.jpg","text":"TemporaryFile(/tmp/multipartBody6738229172056506792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977625622,"filename":"image_14012025_08_48_07_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329236808","file1":"1329236801","file0":"1329236722","file4":"1329236837","file5":"1329236851","file3":"1329236830"},"map_files_photo_id_array":[{"photo_id":"1329236851","filename":"file5"},{"photo_id":"1329236808","filename":"file2"},{"photo_id":"1329236837","filename":"file4"},{"photo_id":"1329236801","filename":"file1"},{"photo_id":"1329236722","filename":"file0"},{"photo_id":"1329236830","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329236808":["hashtag1","hashtag2"]},{"1329236837":["hashtag1","hashtag2"]},{"1329236801":["hashtag1","hashtag2"]},{"1329236851":["hashtag1","hashtag2"]},{"1329236830":["hashtag1","hashtag2"]},{"1329236722":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329236808, 1329236837, 1329236801, 1329236851, 1329236830, 1329236722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.40237259864807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:47:03.547067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_42_2680.jpg', '/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_45_3660.jpg', '/home/pi/Desktop/images/14012025/08/48/image_14012025_08_49_01_3592.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_06_2734.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_10_3634.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_12_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_42_2680.jpg
/home/pi/Desktop/images/14012025/08/48/image_14012025_08_48_45_3660.jpg
/home/pi/Desktop/images/14012025/08/48/image_14012025_08_49_01_3592.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_06_2734.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_10_3634.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_12_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329237059","1329236966","1329237106","1329237202","1329237156","1329237045"],"photo_ids_order":["1329236966","1329237045","1329237059","1329237106","1329237156","1329237202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/84fa782291b1e20c08bfea1ee81100b5.jpg","text":"TemporaryFile(/tmp/multipartBody3809983867336264975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977686052,"filename":"image_14012025_08_49_01_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0af24e92a8a4a39693c28dd12090b2b4.jpg","text":"TemporaryFile(/tmp/multipartBody3634360119781921119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977686052,"filename":"image_14012025_08_48_42_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3538f85744fd2e56bb8f738a42505e0.jpg","text":"TemporaryFile(/tmp/multipartBody9197567730630016559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977686052,"filename":"image_14012025_08_49_06_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc466d4e3c17a2e48c999e93dc16489e.jpg","text":"TemporaryFile(/tmp/multipartBody8144350757276963322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977686052,"filename":"image_14012025_08_49_12_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f02469ff752f6db62d3a616d3b9bbc73.jpg","text":"TemporaryFile(/tmp/multipartBody6529202216198359192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977686052,"filename":"image_14012025_08_49_10_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bcbf5a3b7428117862e7b6bd838ac42e.jpg","text":"TemporaryFile(/tmp/multipartBody8669490497654513695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977686052,"filename":"image_14012025_08_48_45_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329237059","file1":"1329237045","file0":"1329236966","file4":"1329237156","file5":"1329237202","file3":"1329237106"},"map_files_photo_id_array":[{"photo_id":"1329237202","filename":"file5"},{"photo_id":"1329237059","filename":"file2"},{"photo_id":"1329237156","filename":"file4"},{"photo_id":"1329237045","filename":"file1"},{"photo_id":"1329236966","filename":"file0"},{"photo_id":"1329237106","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329237059":["hashtag1","hashtag2"]},{"1329236966":["hashtag1","hashtag2"]},{"1329237106":["hashtag1","hashtag2"]},{"1329237202":["hashtag1","hashtag2"]},{"1329237156":["hashtag1","hashtag2"]},{"1329237045":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329237059, 1329236966, 1329237106, 1329237202, 1329237156, 1329237045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00100612640381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:48:02.873162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_15_2687.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_19_3715.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_24_2567.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_30_3663.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_37_3609.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_42_2486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_15_2687.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_19_3715.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_24_2567.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_30_3663.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_37_3609.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_42_2486.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.35221004486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:48:22.319688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_15_2687.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_19_3715.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_24_2567.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_30_3663.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_37_3609.jpg', '/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_42_2486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_15_2687.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_19_3715.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_24_2567.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_30_3663.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_37_3609.jpg
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_42_2486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329237449","1329237431","1329237481","1329237428","1329237426","1329237435"],"photo_ids_order":["1329237426","1329237428","1329237431","1329237435","1329237449","1329237481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/877b7a584a715cafe4361d9269aa833d.jpg","text":"TemporaryFile(/tmp/multipartBody6769675035981239093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977765446,"filename":"image_14012025_08_49_37_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7ddbfda71fe883037a5e6bdcb1f52327.jpg","text":"TemporaryFile(/tmp/multipartBody8257900463763182805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977765446,"filename":"image_14012025_08_49_24_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67099c8ef17d722eecf7d8ff11fe6fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1854433912602986624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977765446,"filename":"image_14012025_08_49_42_2486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/51faa48f0ffb72149d9c31d94863d582.jpg","text":"TemporaryFile(/tmp/multipartBody1619314863170908442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977765446,"filename":"image_14012025_08_49_19_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5844ce6395f1a8c636f5230ab7fb7d1.jpg","text":"TemporaryFile(/tmp/multipartBody1522186814332257590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977765446,"filename":"image_14012025_08_49_15_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a29eef9cbdf71500099d390488639364.jpg","text":"TemporaryFile(/tmp/multipartBody2322291556186511929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977765446,"filename":"image_14012025_08_49_30_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329237431","file1":"1329237428","file0":"1329237426","file4":"1329237449","file5":"1329237481","file3":"1329237435"},"map_files_photo_id_array":[{"photo_id":"1329237481","filename":"file5"},{"photo_id":"1329237431","filename":"file2"},{"photo_id":"1329237449","filename":"file4"},{"photo_id":"1329237428","filename":"file1"},{"photo_id":"1329237426","filename":"file0"},{"photo_id":"1329237435","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329237449":["hashtag1","hashtag2"]},{"1329237431":["hashtag1","hashtag2"]},{"1329237481":["hashtag1","hashtag2"]},{"1329237428":["hashtag1","hashtag2"]},{"1329237426":["hashtag1","hashtag2"]},{"1329237435":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329237449, 1329237431, 1329237481, 1329237428, 1329237426, 1329237435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.119086265563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:49:22.714068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_46_3779.jpg', '/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_18_2663.jpg', '/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_21_3754.jpg', '/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_27_2660.jpg', '/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_30_3676.jpg', '/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_36_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/49/image_14012025_08_49_46_3779.jpg
/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_18_2663.jpg
/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_21_3754.jpg
/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_27_2660.jpg
/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_30_3676.jpg
/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_36_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329237577","1329237571","1329237573","1329237582","1329237579","1329237584"],"photo_ids_order":["1329237571","1329237573","1329237577","1329237579","1329237582","1329237584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb39a7f2ee60b0f114b56021359d7052.jpg","text":"TemporaryFile(/tmp/multipartBody2558039834956661159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977825756,"filename":"image_14012025_08_50_21_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b0f078193d57b5bba3d520722276adcc.jpg","text":"TemporaryFile(/tmp/multipartBody4095027353317547688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977825756,"filename":"image_14012025_08_49_46_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f1a363be263f2f6e70817d8a37ee98b8.jpg","text":"TemporaryFile(/tmp/multipartBody1684526533884333037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977825756,"filename":"image_14012025_08_50_18_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6111b759a86c99a6b33d352e3ca89651.jpg","text":"TemporaryFile(/tmp/multipartBody2376979812767217238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977825756,"filename":"image_14012025_08_50_30_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a13aacfef98b1fa36b8628658d6b7c4f.jpg","text":"TemporaryFile(/tmp/multipartBody728928693106432721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977825756,"filename":"image_14012025_08_50_27_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e21c57688cf0bdfb9f5176a32a68f233.jpg","text":"TemporaryFile(/tmp/multipartBody849212730463566097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977825756,"filename":"image_14012025_08_50_36_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329237577","file1":"1329237573","file0":"1329237571","file4":"1329237582","file5":"1329237584","file3":"1329237579"},"map_files_photo_id_array":[{"photo_id":"1329237584","filename":"file5"},{"photo_id":"1329237577","filename":"file2"},{"photo_id":"1329237582","filename":"file4"},{"photo_id":"1329237573","filename":"file1"},{"photo_id":"1329237571","filename":"file0"},{"photo_id":"1329237579","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329237577":["hashtag1","hashtag2"]},{"1329237571":["hashtag1","hashtag2"]},{"1329237573":["hashtag1","hashtag2"]},{"1329237582":["hashtag1","hashtag2"]},{"1329237579":["hashtag1","hashtag2"]},{"1329237584":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329237577, 1329237571, 1329237573, 1329237582, 1329237579, 1329237584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.714882373809814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:50:02.470563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_39_3588.jpg', '/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_42_2696.jpg', '/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_45_2568.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_06_2696.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_09_2759.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_12_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_39_3588.jpg
/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_42_2696.jpg
/home/pi/Desktop/images/14012025/08/50/image_14012025_08_50_45_2568.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_06_2696.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_09_2759.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_12_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329237626","1329237611","1329237604","1329237639","1329237606","1329237599"],"photo_ids_order":["1329237599","1329237604","1329237606","1329237611","1329237626","1329237639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/941472ca012242f94d3b29cd7a442157.jpg","text":"TemporaryFile(/tmp/multipartBody7441403492326805764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977864881,"filename":"image_14012025_08_51_09_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/007c3a910611e2eedff3f1d81fb97e9c.jpg","text":"TemporaryFile(/tmp/multipartBody8270299268327678844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977864881,"filename":"image_14012025_08_51_06_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/30b7b164b222695a63433eb150512727.jpg","text":"TemporaryFile(/tmp/multipartBody1992291220714022048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977864881,"filename":"image_14012025_08_50_42_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e025dbafa17951fa73d6885bb76f17f.jpg","text":"TemporaryFile(/tmp/multipartBody5483903433957939830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977864881,"filename":"image_14012025_08_51_12_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5ba1038af8325a2b54c2f8b17d0812a5.jpg","text":"TemporaryFile(/tmp/multipartBody3873303730216669097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977864881,"filename":"image_14012025_08_50_45_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e59d10bbe7bbe64489747d2b0d270b38.jpg","text":"TemporaryFile(/tmp/multipartBody6522205795299106424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977864881,"filename":"image_14012025_08_50_39_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329237606","file1":"1329237604","file0":"1329237599","file4":"1329237626","file5":"1329237639","file3":"1329237611"},"map_files_photo_id_array":[{"photo_id":"1329237639","filename":"file5"},{"photo_id":"1329237606","filename":"file2"},{"photo_id":"1329237626","filename":"file4"},{"photo_id":"1329237604","filename":"file1"},{"photo_id":"1329237599","filename":"file0"},{"photo_id":"1329237611","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329237626":["hashtag1","hashtag2"]},{"1329237611":["hashtag1","hashtag2"]},{"1329237604":["hashtag1","hashtag2"]},{"1329237639":["hashtag1","hashtag2"]},{"1329237606":["hashtag1","hashtag2"]},{"1329237599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329237626, 1329237611, 1329237604, 1329237639, 1329237606, 1329237599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.94309377670288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:51:02.825444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_15_3674.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_18_2644.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_21_2779.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_24_2870.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_27_3629.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_30_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_15_3674.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_18_2644.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_21_2779.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_24_2870.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_27_3629.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_30_2523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329237734","1329237722","1329237701","1329237700","1329237703","1329237702"],"photo_ids_order":["1329237700","1329237701","1329237702","1329237703","1329237722","1329237734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33f8d059528b0cbcbf4f4900a890462c.jpg","text":"TemporaryFile(/tmp/multipartBody8692026477964070957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977925344,"filename":"image_14012025_08_51_30_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/50f53a6b4846e31f9752120f8d678ab0.jpg","text":"TemporaryFile(/tmp/multipartBody3527915912627264983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977925344,"filename":"image_14012025_08_51_27_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74932a14ac972d46a3b09ef959e5ce65.jpg","text":"TemporaryFile(/tmp/multipartBody4953008030160920573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977925344,"filename":"image_14012025_08_51_18_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a9ce1b9d3265d6467b916ee0b38be59.jpg","text":"TemporaryFile(/tmp/multipartBody5866094107844629944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977925344,"filename":"image_14012025_08_51_15_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c8039e9471c5c2cb3fbc42119d263227.jpg","text":"TemporaryFile(/tmp/multipartBody3297278677062410306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977925344,"filename":"image_14012025_08_51_24_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5113b24019b8e49ac32d2ce02a3ebeb9.jpg","text":"TemporaryFile(/tmp/multipartBody7239813376324302410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977925344,"filename":"image_14012025_08_51_21_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329237702","file1":"1329237701","file0":"1329237700","file4":"1329237722","file5":"1329237734","file3":"1329237703"},"map_files_photo_id_array":[{"photo_id":"1329237734","filename":"file5"},{"photo_id":"1329237702","filename":"file2"},{"photo_id":"1329237722","filename":"file4"},{"photo_id":"1329237701","filename":"file1"},{"photo_id":"1329237700","filename":"file0"},{"photo_id":"1329237703","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329237734":["hashtag1","hashtag2"]},{"1329237722":["hashtag1","hashtag2"]},{"1329237701":["hashtag1","hashtag2"]},{"1329237700":["hashtag1","hashtag2"]},{"1329237703":["hashtag1","hashtag2"]},{"1329237702":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329237734, 1329237722, 1329237701, 1329237700, 1329237703, 1329237702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82598805427551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:52:02.699343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/21/12/image_15012025_21_12_28_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/21/12/image_15012025_21_12_28_2591.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329237961"],"photo_id":"1329237961","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7b75ba372493d0dad926e19dd0fee823.jpg","text":"TemporaryFile(/tmp/multipartBody8574922102231653087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736977983269,"filename":"image_15012025_21_12_28_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329237961"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329237961"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.074768304824829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:52:22.109299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_33_3752.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_36_2690.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_39_2633.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_42_3484.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_45_2632.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_48_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_33_3752.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_36_2690.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_39_2633.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_42_3484.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_45_2632.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_48_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238109","1329238051","1329238054","1329238063","1329238105","1329238108"],"photo_ids_order":["1329238051","1329238054","1329238063","1329238105","1329238108","1329238109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3e2f77785a9aadc1b224f568ffe3e7b5.jpg","text":"TemporaryFile(/tmp/multipartBody9186107066749452077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978005246,"filename":"image_14012025_08_51_48_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/382dd2caa1504de5045359b57b8044b7.jpg","text":"TemporaryFile(/tmp/multipartBody8561114006840388148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978005246,"filename":"image_14012025_08_51_33_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ad620eb0c1189853ba88a03cb8bffcc.jpg","text":"TemporaryFile(/tmp/multipartBody2112024195101660104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978005246,"filename":"image_14012025_08_51_36_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/17b8d0464521806be345de178576a77c.jpg","text":"TemporaryFile(/tmp/multipartBody2269509981444984953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978005246,"filename":"image_14012025_08_51_39_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4783068090b35f4875ec1eb9426f6ac.jpg","text":"TemporaryFile(/tmp/multipartBody4062241446666649997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978005246,"filename":"image_14012025_08_51_42_3484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/77f82605a17f1271087db4c9823efead.jpg","text":"TemporaryFile(/tmp/multipartBody8840372086840385148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978005246,"filename":"image_14012025_08_51_45_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238063","file1":"1329238054","file0":"1329238051","file4":"1329238108","file5":"1329238109","file3":"1329238105"},"map_files_photo_id_array":[{"photo_id":"1329238109","filename":"file5"},{"photo_id":"1329238063","filename":"file2"},{"photo_id":"1329238108","filename":"file4"},{"photo_id":"1329238054","filename":"file1"},{"photo_id":"1329238051","filename":"file0"},{"photo_id":"1329238105","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238109":["hashtag1","hashtag2"]},{"1329238051":["hashtag1","hashtag2"]},{"1329238054":["hashtag1","hashtag2"]},{"1329238063":["hashtag1","hashtag2"]},{"1329238105":["hashtag1","hashtag2"]},{"1329238108":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238109, 1329238051, 1329238054, 1329238063, 1329238105, 1329238108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26214289665222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:53:03.270805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_51_3589.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_54_2739.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_57_2746.jpg', '/home/pi/Desktop/images/14012025/08/51/image_14012025_08_52_00_3519.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_07_6821.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_09_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_51_3589.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_54_2739.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_51_57_2746.jpg
/home/pi/Desktop/images/14012025/08/51/image_14012025_08_52_00_3519.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_07_6821.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_09_1622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238210","1329238204","1329238207","1329238212","1329238215","1329238209"],"photo_ids_order":["1329238204","1329238207","1329238209","1329238210","1329238212","1329238215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3fdfbec111022474fd3c3c00c800aa29.jpg","text":"TemporaryFile(/tmp/multipartBody3878313512854405424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978045780,"filename":"image_14012025_08_52_00_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd533bcdb7301ff2d40befb89cff7223.jpg","text":"TemporaryFile(/tmp/multipartBody841699938291141018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978045780,"filename":"image_14012025_08_51_51_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f2387ca038e1de90b3b9e3663cb15621.jpg","text":"TemporaryFile(/tmp/multipartBody6533187421563172262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978045780,"filename":"image_14012025_08_51_54_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/17d29f5b49972e18156c9280549fcc2a.jpg","text":"TemporaryFile(/tmp/multipartBody6148529932706966860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978045780,"filename":"image_14012025_08_52_07_6821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/246689b5e5040b6aea7c59652a79a8c6.jpg","text":"TemporaryFile(/tmp/multipartBody8846006277282283473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978045780,"filename":"image_14012025_08_52_09_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8cb363e10c5268ae76126a018bb4d778.jpg","text":"TemporaryFile(/tmp/multipartBody7748670144648262429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978045780,"filename":"image_14012025_08_51_57_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238209","file1":"1329238207","file0":"1329238204","file4":"1329238212","file5":"1329238215","file3":"1329238210"},"map_files_photo_id_array":[{"photo_id":"1329238215","filename":"file5"},{"photo_id":"1329238209","filename":"file2"},{"photo_id":"1329238212","filename":"file4"},{"photo_id":"1329238207","filename":"file1"},{"photo_id":"1329238204","filename":"file0"},{"photo_id":"1329238210","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238210":["hashtag1","hashtag2"]},{"1329238204":["hashtag1","hashtag2"]},{"1329238207":["hashtag1","hashtag2"]},{"1329238212":["hashtag1","hashtag2"]},{"1329238215":["hashtag1","hashtag2"]},{"1329238209":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238210, 1329238204, 1329238207, 1329238212, 1329238215, 1329238209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.367703676223755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:54:02.868330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_10_1534.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_12_1542.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_15_3582.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_18_2829.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_21_2558.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_23_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_10_1534.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_12_1542.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_15_3582.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_18_2829.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_21_2558.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_23_2811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238252","1329238246","1329238249","1329238254","1329238247","1329238250"],"photo_ids_order":["1329238246","1329238247","1329238249","1329238250","1329238252","1329238254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c849648de8cf32ff821c77fad689c0a6.jpg","text":"TemporaryFile(/tmp/multipartBody5847838774673719295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978105298,"filename":"image_14012025_08_52_21_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3b3544a385773327135577cea737470b.jpg","text":"TemporaryFile(/tmp/multipartBody1942434738041712251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978105298,"filename":"image_14012025_08_52_10_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e68f8934f5943fac909863a703d2d413.jpg","text":"TemporaryFile(/tmp/multipartBody5418290482733529397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978105298,"filename":"image_14012025_08_52_15_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7d28e0391c0247ca13149850624aa14b.jpg","text":"TemporaryFile(/tmp/multipartBody4588052985962165157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978105298,"filename":"image_14012025_08_52_23_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/773c09465944a781ef4fad86ccd0786b.jpg","text":"TemporaryFile(/tmp/multipartBody5829952420245285054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978105298,"filename":"image_14012025_08_52_12_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1be64de13bf0cde03bd0c7ef5e593cef.jpg","text":"TemporaryFile(/tmp/multipartBody5778807786764400664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978105298,"filename":"image_14012025_08_52_18_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238249","file1":"1329238247","file0":"1329238246","file4":"1329238252","file5":"1329238254","file3":"1329238250"},"map_files_photo_id_array":[{"photo_id":"1329238254","filename":"file5"},{"photo_id":"1329238249","filename":"file2"},{"photo_id":"1329238252","filename":"file4"},{"photo_id":"1329238247","filename":"file1"},{"photo_id":"1329238246","filename":"file0"},{"photo_id":"1329238250","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238252":["hashtag1","hashtag2"]},{"1329238246":["hashtag1","hashtag2"]},{"1329238249":["hashtag1","hashtag2"]},{"1329238254":["hashtag1","hashtag2"]},{"1329238247":["hashtag1","hashtag2"]},{"1329238250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238252, 1329238246, 1329238249, 1329238254, 1329238247, 1329238250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22152495384216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:54:42.236119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_27_3607.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_30_2559.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_33_3603.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_36_2682.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_38_2552.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_42_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_27_3607.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_30_2559.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_33_3603.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_36_2682.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_38_2552.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_42_3728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238307","1329238299","1329238275","1329238284","1329238308","1329238301"],"photo_ids_order":["1329238275","1329238284","1329238299","1329238301","1329238307","1329238308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c538ee77d86b1c3a0b3a5f86d52e826.jpg","text":"TemporaryFile(/tmp/multipartBody2926074399683964066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978143602,"filename":"image_14012025_08_52_38_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/95efd3e1bbf6591a26cb45458f9988e7.jpg","text":"TemporaryFile(/tmp/multipartBody5836856879135368699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978143602,"filename":"image_14012025_08_52_33_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e64f55ced3ea404d139bc51ef3961412.jpg","text":"TemporaryFile(/tmp/multipartBody8379261717273307398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978143602,"filename":"image_14012025_08_52_27_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a4b5b768640a5739a3dd5712edbb10c8.jpg","text":"TemporaryFile(/tmp/multipartBody4238819134915586966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978143602,"filename":"image_14012025_08_52_30_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9d69a4884897501c4aaf723f5859872e.jpg","text":"TemporaryFile(/tmp/multipartBody2555687338360046128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978143602,"filename":"image_14012025_08_52_42_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f23309a36b5e4a609144dd82456401c6.jpg","text":"TemporaryFile(/tmp/multipartBody7636629212869700724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978143602,"filename":"image_14012025_08_52_36_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238299","file1":"1329238284","file0":"1329238275","file4":"1329238307","file5":"1329238308","file3":"1329238301"},"map_files_photo_id_array":[{"photo_id":"1329238308","filename":"file5"},{"photo_id":"1329238299","filename":"file2"},{"photo_id":"1329238307","filename":"file4"},{"photo_id":"1329238284","filename":"file1"},{"photo_id":"1329238275","filename":"file0"},{"photo_id":"1329238301","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238307":["hashtag1","hashtag2"]},{"1329238299":["hashtag1","hashtag2"]},{"1329238275":["hashtag1","hashtag2"]},{"1329238284":["hashtag1","hashtag2"]},{"1329238308":["hashtag1","hashtag2"]},{"1329238301":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238307, 1329238299, 1329238275, 1329238284, 1329238308, 1329238301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09156560897827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:55:22.612102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_45_2602.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_48_2826.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_51_3581.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_54_2570.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_56_2646.jpg', '/home/pi/Desktop/images/14012025/08/52/image_14012025_08_53_00_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_45_2602.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_48_2826.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_51_3581.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_54_2570.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_52_56_2646.jpg
/home/pi/Desktop/images/14012025/08/52/image_14012025_08_53_00_3576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238331","1329238477","1329238408","1329238484","1329238352","1329238337"],"photo_ids_order":["1329238331","1329238337","1329238352","1329238408","1329238477","1329238484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/292be093c54d45baca2f38d47fe81df9.jpg","text":"TemporaryFile(/tmp/multipartBody5983449529981235534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978185769,"filename":"image_14012025_08_52_45_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/699c3b097b44a78bf9ddfdaa1b6b66c3.jpg","text":"TemporaryFile(/tmp/multipartBody4229510917853614907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978185769,"filename":"image_14012025_08_52_56_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/411d1c32c34169263eecae205247ee28.jpg","text":"TemporaryFile(/tmp/multipartBody5245214429589624187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978185769,"filename":"image_14012025_08_52_54_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7277049c25ebdb4bec4b4318d8eb5f4.jpg","text":"TemporaryFile(/tmp/multipartBody6234393815138563190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978185769,"filename":"image_14012025_08_53_00_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1078487b3566b339f2350fc153341f15.jpg","text":"TemporaryFile(/tmp/multipartBody2054496806085394912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978185769,"filename":"image_14012025_08_52_51_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c67b88019e077b5b61061f660f7b95e7.jpg","text":"TemporaryFile(/tmp/multipartBody6536700987841956895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978185769,"filename":"image_14012025_08_52_48_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238352","file1":"1329238337","file0":"1329238331","file4":"1329238477","file5":"1329238484","file3":"1329238408"},"map_files_photo_id_array":[{"photo_id":"1329238484","filename":"file5"},{"photo_id":"1329238352","filename":"file2"},{"photo_id":"1329238477","filename":"file4"},{"photo_id":"1329238337","filename":"file1"},{"photo_id":"1329238331","filename":"file0"},{"photo_id":"1329238408","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238331":["hashtag1","hashtag2"]},{"1329238477":["hashtag1","hashtag2"]},{"1329238408":["hashtag1","hashtag2"]},{"1329238484":["hashtag1","hashtag2"]},{"1329238352":["hashtag1","hashtag2"]},{"1329238337":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238331, 1329238477, 1329238408, 1329238484, 1329238352, 1329238337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11982607841492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:56:02.816850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_03_2754.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_06_3621.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_09_2595.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_12_2595.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_16_4057.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_18_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_03_2754.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_06_3621.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_09_2595.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_12_2595.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_16_4057.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_18_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238616","1329238618","1329238615","1329238620","1329238617","1329238574"],"photo_ids_order":["1329238574","1329238615","1329238616","1329238617","1329238618","1329238620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f6975c1f64eedbf2d1345c0e5009abd.jpg","text":"TemporaryFile(/tmp/multipartBody5370216932207493693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978225221,"filename":"image_14012025_08_53_09_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/17871e6df0456683948a026781169440.jpg","text":"TemporaryFile(/tmp/multipartBody2884397723644421111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978225221,"filename":"image_14012025_08_53_16_4057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9ad79bf52ac2ed507935353186b7ec7f.jpg","text":"TemporaryFile(/tmp/multipartBody5127298966236347768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978225221,"filename":"image_14012025_08_53_06_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/043509257f615c06e84e2887708f8904.jpg","text":"TemporaryFile(/tmp/multipartBody5984166935539739593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978225221,"filename":"image_14012025_08_53_18_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64f83ad375d315ad13c30946f9a94ef3.jpg","text":"TemporaryFile(/tmp/multipartBody7557042881864109720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978225221,"filename":"image_14012025_08_53_12_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/75ceec9976440b0f9505bfe5fa2fddc9.jpg","text":"TemporaryFile(/tmp/multipartBody7679190224901893664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978225221,"filename":"image_14012025_08_53_03_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238616","file1":"1329238615","file0":"1329238574","file4":"1329238618","file5":"1329238620","file3":"1329238617"},"map_files_photo_id_array":[{"photo_id":"1329238620","filename":"file5"},{"photo_id":"1329238616","filename":"file2"},{"photo_id":"1329238618","filename":"file4"},{"photo_id":"1329238615","filename":"file1"},{"photo_id":"1329238574","filename":"file0"},{"photo_id":"1329238617","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238616":["hashtag1","hashtag2"]},{"1329238618":["hashtag1","hashtag2"]},{"1329238615":["hashtag1","hashtag2"]},{"1329238620":["hashtag1","hashtag2"]},{"1329238617":["hashtag1","hashtag2"]},{"1329238574":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238616, 1329238618, 1329238615, 1329238620, 1329238617, 1329238574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05117154121399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:56:42.168291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_21_2732.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_24_2710.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_27_3087.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_30_3532.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_33_2758.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_36_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_21_2732.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_24_2710.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_27_3087.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_30_3532.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_33_2758.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_36_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238633","1329238659","1329238662","1329238655","1329238646","1329238628"],"photo_ids_order":["1329238628","1329238633","1329238646","1329238655","1329238659","1329238662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5df6fc0398845f8fe05747142c2ff8e.jpg","text":"TemporaryFile(/tmp/multipartBody4880666996661225120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978263552,"filename":"image_14012025_08_53_24_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/184becb3e38d284ad1597a66b0a52fa0.jpg","text":"TemporaryFile(/tmp/multipartBody563125605390963249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978263552,"filename":"image_14012025_08_53_33_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a5ed42ed7dd679734e43d17aa3b3b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7293936266687584698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978263552,"filename":"image_14012025_08_53_36_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c34e0509571b7f3c6b0c468124cdd263.jpg","text":"TemporaryFile(/tmp/multipartBody6178353532417767668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978263552,"filename":"image_14012025_08_53_30_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2800c7a4d8520df3d89dc35acf5cbb60.jpg","text":"TemporaryFile(/tmp/multipartBody7990517956022695983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978263552,"filename":"image_14012025_08_53_27_3087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7226929e94c60fbfc168a9e4e98141be.jpg","text":"TemporaryFile(/tmp/multipartBody3502040224208147658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978263552,"filename":"image_14012025_08_53_21_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238646","file1":"1329238633","file0":"1329238628","file4":"1329238659","file5":"1329238662","file3":"1329238655"},"map_files_photo_id_array":[{"photo_id":"1329238662","filename":"file5"},{"photo_id":"1329238646","filename":"file2"},{"photo_id":"1329238659","filename":"file4"},{"photo_id":"1329238633","filename":"file1"},{"photo_id":"1329238628","filename":"file0"},{"photo_id":"1329238655","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238633":["hashtag1","hashtag2"]},{"1329238659":["hashtag1","hashtag2"]},{"1329238662":["hashtag1","hashtag2"]},{"1329238655":["hashtag1","hashtag2"]},{"1329238646":["hashtag1","hashtag2"]},{"1329238628":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238633, 1329238659, 1329238662, 1329238655, 1329238646, 1329238628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37989330291748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 22:57:22.335997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_42_2601.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_47_2805.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_51_3534.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_54_2942.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_56_2692.jpg', '/home/pi/Desktop/images/14012025/08/53/image_14012025_08_54_00_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_42_2601.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_47_2805.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_51_3534.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_54_2942.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_53_56_2692.jpg
/home/pi/Desktop/images/14012025/08/53/image_14012025_08_54_00_3625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238699","1329238684","1329238672","1329238691","1329238688","1329238670"],"photo_ids_order":["1329238670","1329238672","1329238684","1329238688","1329238691","1329238699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/35816f55cc6a7d88fab402a8edcef26f.jpg","text":"TemporaryFile(/tmp/multipartBody615080637627584451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978305500,"filename":"image_14012025_08_54_00_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/27d0745c2e4bfa8a7877ff115421d204.jpg","text":"TemporaryFile(/tmp/multipartBody6918603437945843592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978305500,"filename":"image_14012025_08_53_51_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d2f70d605f13fd62698de8d570bd8f57.jpg","text":"TemporaryFile(/tmp/multipartBody4285936477102515517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978305500,"filename":"image_14012025_08_53_47_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/21b1437f4d2ef12c1c9b9f5f6ec54988.jpg","text":"TemporaryFile(/tmp/multipartBody4482113224387182291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978305500,"filename":"image_14012025_08_53_56_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40b17a136d142cd1bbe620b6ca3a2df5.jpg","text":"TemporaryFile(/tmp/multipartBody7453804897499657471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978305500,"filename":"image_14012025_08_53_54_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd7f4f8ca69fccf97f6b6d1a1c5a6334.jpg","text":"TemporaryFile(/tmp/multipartBody7701519464533283546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978305500,"filename":"image_14012025_08_53_42_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238684","file1":"1329238672","file0":"1329238670","file4":"1329238691","file5":"1329238699","file3":"1329238688"},"map_files_photo_id_array":[{"photo_id":"1329238699","filename":"file5"},{"photo_id":"1329238684","filename":"file2"},{"photo_id":"1329238691","filename":"file4"},{"photo_id":"1329238672","filename":"file1"},{"photo_id":"1329238670","filename":"file0"},{"photo_id":"1329238688","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238699":["hashtag1","hashtag2"]},{"1329238684":["hashtag1","hashtag2"]},{"1329238672":["hashtag1","hashtag2"]},{"1329238691":["hashtag1","hashtag2"]},{"1329238688":["hashtag1","hashtag2"]},{"1329238670":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238699, 1329238684, 1329238672, 1329238691, 1329238688, 1329238670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.720664739608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 22:59:03.550583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_03_2666.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_05_2606.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_09_3704.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_12_2714.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_14_2647.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_24_3142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_03_2666.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_05_2606.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_09_3704.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_12_2714.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_14_2647.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_24_3142.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238771","1329238768","1329238777","1329238764","1329238758","1329238784"],"photo_ids_order":["1329238758","1329238764","1329238768","1329238771","1329238777","1329238784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4cee0e0433858189316b0ecc872d3161.jpg","text":"TemporaryFile(/tmp/multipartBody2308335000288859295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978406341,"filename":"image_14012025_08_54_12_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/13155b2dc70987f8386e61f477d5dc9d.jpg","text":"TemporaryFile(/tmp/multipartBody702166178349299456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978406341,"filename":"image_14012025_08_54_09_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5a5b1d14bdffc8fb1aeec3965fe44cba.jpg","text":"TemporaryFile(/tmp/multipartBody6129201928249151801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978406341,"filename":"image_14012025_08_54_14_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e1dde036d196d98aa95be1bb6947e528.jpg","text":"TemporaryFile(/tmp/multipartBody8618420943369278029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978406341,"filename":"image_14012025_08_54_05_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f9b8ba052566a0535facdcc93b43197.jpg","text":"TemporaryFile(/tmp/multipartBody998258726297850029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978406341,"filename":"image_14012025_08_54_03_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/818a0530b5203e4681ff25624b59c0b1.jpg","text":"TemporaryFile(/tmp/multipartBody4608234294115788861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978406341,"filename":"image_14012025_08_54_24_3142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238768","file1":"1329238764","file0":"1329238758","file4":"1329238777","file5":"1329238784","file3":"1329238771"},"map_files_photo_id_array":[{"photo_id":"1329238784","filename":"file5"},{"photo_id":"1329238768","filename":"file2"},{"photo_id":"1329238777","filename":"file4"},{"photo_id":"1329238764","filename":"file1"},{"photo_id":"1329238758","filename":"file0"},{"photo_id":"1329238771","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238771":["hashtag1","hashtag2"]},{"1329238768":["hashtag1","hashtag2"]},{"1329238777":["hashtag1","hashtag2"]},{"1329238764":["hashtag1","hashtag2"]},{"1329238758":["hashtag1","hashtag2"]},{"1329238784":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238771, 1329238768, 1329238777, 1329238764, 1329238758, 1329238784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69514036178589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 22:59:42.728595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_27_2862.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_29_2657.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_32_2704.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_36_3727.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_39_2591.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_41_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_27_2862.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_29_2657.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_32_2704.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_36_3727.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_39_2591.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_41_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238814","1329238801","1329238810","1329238804","1329238807","1329238818"],"photo_ids_order":["1329238801","1329238804","1329238807","1329238810","1329238814","1329238818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8dcdf6ac98943442bd05b3f0a827d474.jpg","text":"TemporaryFile(/tmp/multipartBody3163611806617877621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978444119,"filename":"image_14012025_08_54_39_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d4974e2fd02ddfe473d6dab326799ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3715201414357993839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978444119,"filename":"image_14012025_08_54_27_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/49e5f2aef22f9c4ada314177898c6f1a.jpg","text":"TemporaryFile(/tmp/multipartBody1621078286650323638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978444119,"filename":"image_14012025_08_54_36_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3150641982c5ddfd64a432750671b051.jpg","text":"TemporaryFile(/tmp/multipartBody4386631096896267282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978444119,"filename":"image_14012025_08_54_29_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/60c8af5b6f409f60d612e1ddec3ae7ea.jpg","text":"TemporaryFile(/tmp/multipartBody7886943972602969588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978444119,"filename":"image_14012025_08_54_32_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cf7f51aca1c13b3cc83cd0b9ac25584.jpg","text":"TemporaryFile(/tmp/multipartBody179645259820151674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978444119,"filename":"image_14012025_08_54_41_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238807","file1":"1329238804","file0":"1329238801","file4":"1329238814","file5":"1329238818","file3":"1329238810"},"map_files_photo_id_array":[{"photo_id":"1329238818","filename":"file5"},{"photo_id":"1329238807","filename":"file2"},{"photo_id":"1329238814","filename":"file4"},{"photo_id":"1329238804","filename":"file1"},{"photo_id":"1329238801","filename":"file0"},{"photo_id":"1329238810","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238814":["hashtag1","hashtag2"]},{"1329238801":["hashtag1","hashtag2"]},{"1329238810":["hashtag1","hashtag2"]},{"1329238804":["hashtag1","hashtag2"]},{"1329238807":["hashtag1","hashtag2"]},{"1329238818":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238814, 1329238801, 1329238810, 1329238804, 1329238807, 1329238818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60586738586426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:00:22.752042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_45_3777.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_48_2787.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_50_2624.jpg', '/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_54_3581.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_01_7209.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_03_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_45_3777.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_48_2787.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_50_2624.jpg
/home/pi/Desktop/images/14012025/08/54/image_14012025_08_54_54_3581.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_01_7209.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_03_1694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329238829","1329238834","1329238839","1329238830","1329238827","1329238841"],"photo_ids_order":["1329238827","1329238829","1329238830","1329238834","1329238839","1329238841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d88b937def38e0eb76691532742d9a6d.jpg","text":"TemporaryFile(/tmp/multipartBody8934638819551414175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978485919,"filename":"image_14012025_08_54_48_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74631dc6356c114e72a7173f2b720ec7.jpg","text":"TemporaryFile(/tmp/multipartBody6214441662396392796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978485919,"filename":"image_14012025_08_54_54_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1df4dd6e7944b4b27e1a6baaed0e008a.jpg","text":"TemporaryFile(/tmp/multipartBody5660283470323912175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978485919,"filename":"image_14012025_08_55_01_7209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fa823a2cd54a5a0e30289ab90dc89d82.jpg","text":"TemporaryFile(/tmp/multipartBody1287210436949041464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978485919,"filename":"image_14012025_08_54_50_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d470b57bdb503c01d2ed92f04c5932fc.jpg","text":"TemporaryFile(/tmp/multipartBody1053882077023013601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978485919,"filename":"image_14012025_08_54_45_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c98e57d9955ff49ef3746774f048f8e.jpg","text":"TemporaryFile(/tmp/multipartBody6808563721938444864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978485919,"filename":"image_14012025_08_55_03_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329238830","file1":"1329238829","file0":"1329238827","file4":"1329238839","file5":"1329238841","file3":"1329238834"},"map_files_photo_id_array":[{"photo_id":"1329238841","filename":"file5"},{"photo_id":"1329238830","filename":"file2"},{"photo_id":"1329238839","filename":"file4"},{"photo_id":"1329238829","filename":"file1"},{"photo_id":"1329238827","filename":"file0"},{"photo_id":"1329238834","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329238829":["hashtag1","hashtag2"]},{"1329238834":["hashtag1","hashtag2"]},{"1329238839":["hashtag1","hashtag2"]},{"1329238830":["hashtag1","hashtag2"]},{"1329238827":["hashtag1","hashtag2"]},{"1329238841":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329238829, 1329238834, 1329238839, 1329238830, 1329238827, 1329238841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41584801673889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:01:03.130794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_05_1865.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_06_1599.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_09_2719.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_12_2570.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_14_2624.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_18_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_05_1865.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_06_1599.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_09_2719.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_12_2570.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_14_2624.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_18_3558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329239041","1329239109","1329239081","1329239141","1329239036","1329239012"],"photo_ids_order":["1329239012","1329239036","1329239041","1329239081","1329239109","1329239141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2d378a739f4f015451d1b849e389bb53.jpg","text":"TemporaryFile(/tmp/multipartBody5873338155222853302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978525712,"filename":"image_14012025_08_55_09_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c1645b884051354a5c5e25dce98f2a9b.jpg","text":"TemporaryFile(/tmp/multipartBody270035068295703084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978525712,"filename":"image_14012025_08_55_14_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74723700a2a08aef2d5b6b0e4f1a1940.jpg","text":"TemporaryFile(/tmp/multipartBody182066971810673319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978525712,"filename":"image_14012025_08_55_12_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4420be82c3cbff7f2b5d44b88617e764.jpg","text":"TemporaryFile(/tmp/multipartBody4176363043147187059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978525712,"filename":"image_14012025_08_55_18_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7fa5c88eba6fce5133a46798d0702f90.jpg","text":"TemporaryFile(/tmp/multipartBody5478207074789831489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978525712,"filename":"image_14012025_08_55_06_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14052401eac8423d7ac67d1a1db3d0cc.jpg","text":"TemporaryFile(/tmp/multipartBody2338828563281289524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978525712,"filename":"image_14012025_08_55_05_1865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329239041","file1":"1329239036","file0":"1329239012","file4":"1329239109","file5":"1329239141","file3":"1329239081"},"map_files_photo_id_array":[{"photo_id":"1329239141","filename":"file5"},{"photo_id":"1329239041","filename":"file2"},{"photo_id":"1329239109","filename":"file4"},{"photo_id":"1329239036","filename":"file1"},{"photo_id":"1329239012","filename":"file0"},{"photo_id":"1329239081","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329239041":["hashtag1","hashtag2"]},{"1329239109":["hashtag1","hashtag2"]},{"1329239081":["hashtag1","hashtag2"]},{"1329239141":["hashtag1","hashtag2"]},{"1329239036":["hashtag1","hashtag2"]},{"1329239012":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329239041, 1329239109, 1329239081, 1329239141, 1329239036, 1329239012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.714770793914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:01:42.645948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_21_2847.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_23_2551.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_27_3821.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_30_2549.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_32_2659.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_54_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_21_2847.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_23_2551.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_27_3821.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_30_2549.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_32_2659.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_54_1715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329239209","1329239200","1329239196","1329239195","1329239189","1329239192"],"photo_ids_order":["1329239189","1329239192","1329239195","1329239196","1329239200","1329239209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/15a99a95b65b999bff733dc70bfdeae9.jpg","text":"TemporaryFile(/tmp/multipartBody5325294193741079608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978564015,"filename":"image_14012025_08_55_54_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4ac86803b4d8255958f0e5051625e4bf.jpg","text":"TemporaryFile(/tmp/multipartBody4163255964173122760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978564015,"filename":"image_14012025_08_55_32_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4053a7cda23223bbf7e2ff857c518dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2008964220025842463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978564015,"filename":"image_14012025_08_55_30_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80cfc5e870f913e25d5ada2b20666329.jpg","text":"TemporaryFile(/tmp/multipartBody4773537771122437886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978564015,"filename":"image_14012025_08_55_27_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/43062b40ff91529c4965c823980f89d9.jpg","text":"TemporaryFile(/tmp/multipartBody2866122295234259380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978564015,"filename":"image_14012025_08_55_21_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0a6248b181642d2fc754e479fcfefae1.jpg","text":"TemporaryFile(/tmp/multipartBody5472463632901612587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978564015,"filename":"image_14012025_08_55_23_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329239195","file1":"1329239192","file0":"1329239189","file4":"1329239200","file5":"1329239209","file3":"1329239196"},"map_files_photo_id_array":[{"photo_id":"1329239209","filename":"file5"},{"photo_id":"1329239195","filename":"file2"},{"photo_id":"1329239200","filename":"file4"},{"photo_id":"1329239192","filename":"file1"},{"photo_id":"1329239189","filename":"file0"},{"photo_id":"1329239196","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329239209":["hashtag1","hashtag2"]},{"1329239200":["hashtag1","hashtag2"]},{"1329239196":["hashtag1","hashtag2"]},{"1329239195":["hashtag1","hashtag2"]},{"1329239189":["hashtag1","hashtag2"]},{"1329239192":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329239209, 1329239200, 1329239196, 1329239195, 1329239189, 1329239192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82392644882202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:02:22.072504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_57_1649.jpg', '/home/pi/Desktop/images/14012025/08/55/image_14012025_08_56_00_2626.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_02_2626.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_06_3586.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_14_2755.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_18_3552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_55_57_1649.jpg
/home/pi/Desktop/images/14012025/08/55/image_14012025_08_56_00_2626.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_02_2626.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_06_3586.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_14_2755.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_18_3552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329239253","1329239301","1329239246","1329239261","1329239255","1329239299"],"photo_ids_order":["1329239246","1329239253","1329239255","1329239261","1329239299","1329239301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/59f1a0328d26ac7f52ad4207df89f132.jpg","text":"TemporaryFile(/tmp/multipartBody6428960883152723518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978605261,"filename":"image_14012025_08_56_00_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/076c11d555a28f38277dc49e3e23243b.jpg","text":"TemporaryFile(/tmp/multipartBody7803896245515687761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978605261,"filename":"image_14012025_08_56_18_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0d67a3361ae3c0865ecd87447115d93e.jpg","text":"TemporaryFile(/tmp/multipartBody6215792517868385391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978605261,"filename":"image_14012025_08_55_57_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c93e647e92a60c462ac1873fd6d8242.jpg","text":"TemporaryFile(/tmp/multipartBody2882978637733610964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978605261,"filename":"image_14012025_08_56_06_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/813557b9c766847ee31dca88aa86ef27.jpg","text":"TemporaryFile(/tmp/multipartBody2445241640659906614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978605261,"filename":"image_14012025_08_56_02_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67c068fe3e185685d2357942aac466a6.jpg","text":"TemporaryFile(/tmp/multipartBody8015856807007396204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978605261,"filename":"image_14012025_08_56_14_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329239255","file1":"1329239253","file0":"1329239246","file4":"1329239299","file5":"1329239301","file3":"1329239261"},"map_files_photo_id_array":[{"photo_id":"1329239301","filename":"file5"},{"photo_id":"1329239255","filename":"file2"},{"photo_id":"1329239299","filename":"file4"},{"photo_id":"1329239253","filename":"file1"},{"photo_id":"1329239246","filename":"file0"},{"photo_id":"1329239261","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329239253":["hashtag1","hashtag2"]},{"1329239301":["hashtag1","hashtag2"]},{"1329239246":["hashtag1","hashtag2"]},{"1329239261":["hashtag1","hashtag2"]},{"1329239255":["hashtag1","hashtag2"]},{"1329239299":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329239253, 1329239301, 1329239246, 1329239261, 1329239255, 1329239299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79414486885071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:03:03.435656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_20_2715.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_23_2716.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_27_3562.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_29_2521.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_33_3621.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_39_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_20_2715.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_23_2716.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_27_3562.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_29_2521.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_33_3621.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_39_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329239338","1329239332","1329239329","1329239334","1329239343","1329239315"],"photo_ids_order":["1329239315","1329239329","1329239332","1329239334","1329239338","1329239343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e57e3e89ad112696255f746660a3b60e.jpg","text":"TemporaryFile(/tmp/multipartBody6614473766380803529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978645935,"filename":"image_14012025_08_56_33_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5f49bbc7da63321a38fecf2f2a4d6b20.jpg","text":"TemporaryFile(/tmp/multipartBody1363900123471968702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978645935,"filename":"image_14012025_08_56_27_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dd0e4d3ad83c9a1a001521ea6ed763aa.jpg","text":"TemporaryFile(/tmp/multipartBody5569492513407832484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978645935,"filename":"image_14012025_08_56_23_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/23ee4565140c0f1dc36a5d47c8ebcf6a.jpg","text":"TemporaryFile(/tmp/multipartBody2696131040515708151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978645935,"filename":"image_14012025_08_56_29_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c5eee19fa3b359ea43668cc9d700ce18.jpg","text":"TemporaryFile(/tmp/multipartBody1561623707145836808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978645935,"filename":"image_14012025_08_56_39_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb6addc87cf9387cc1f22d347527dac7.jpg","text":"TemporaryFile(/tmp/multipartBody5754439742522625134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978645935,"filename":"image_14012025_08_56_20_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329239332","file1":"1329239329","file0":"1329239315","file4":"1329239338","file5":"1329239343","file3":"1329239334"},"map_files_photo_id_array":[{"photo_id":"1329239343","filename":"file5"},{"photo_id":"1329239332","filename":"file2"},{"photo_id":"1329239338","filename":"file4"},{"photo_id":"1329239329","filename":"file1"},{"photo_id":"1329239315","filename":"file0"},{"photo_id":"1329239334","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329239338":["hashtag1","hashtag2"]},{"1329239332":["hashtag1","hashtag2"]},{"1329239329":["hashtag1","hashtag2"]},{"1329239334":["hashtag1","hashtag2"]},{"1329239343":["hashtag1","hashtag2"]},{"1329239315":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329239338, 1329239332, 1329239329, 1329239334, 1329239343, 1329239315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23129963874817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:03:42.635015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_42_2700.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_48_3684.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_51_2748.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_53_2641.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_56_2724.jpg', '/home/pi/Desktop/images/14012025/08/56/image_14012025_08_57_00_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_42_2700.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_48_3684.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_51_2748.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_53_2641.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_56_56_2724.jpg
/home/pi/Desktop/images/14012025/08/56/image_14012025_08_57_00_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329239377","1329239356","1329239373","1329239375","1329239366","1329239371"],"photo_ids_order":["1329239356","1329239366","1329239371","1329239373","1329239375","1329239377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e424b27996a0dd946432b95d257fdd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3190725845020049399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978683975,"filename":"image_14012025_08_57_00_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cb32b5d947a194209d741c4c18ef6d6e.jpg","text":"TemporaryFile(/tmp/multipartBody8233094832553691428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978683975,"filename":"image_14012025_08_56_42_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/32817b4935cfcc7c8ea421fb57e34066.jpg","text":"TemporaryFile(/tmp/multipartBody8322733621598011538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978683975,"filename":"image_14012025_08_56_53_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ad4352973706170ab2fa48df401d26f8.jpg","text":"TemporaryFile(/tmp/multipartBody6299198767030001880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978683975,"filename":"image_14012025_08_56_56_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b243c21a455ef400a327c2a98bb985cd.jpg","text":"TemporaryFile(/tmp/multipartBody3642161328571223497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978683975,"filename":"image_14012025_08_56_48_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/472d38b83ceee843f61b63cc4a75016b.jpg","text":"TemporaryFile(/tmp/multipartBody4449550522881338270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978683975,"filename":"image_14012025_08_56_51_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329239371","file1":"1329239366","file0":"1329239356","file4":"1329239375","file5":"1329239377","file3":"1329239373"},"map_files_photo_id_array":[{"photo_id":"1329239377","filename":"file5"},{"photo_id":"1329239371","filename":"file2"},{"photo_id":"1329239375","filename":"file4"},{"photo_id":"1329239366","filename":"file1"},{"photo_id":"1329239356","filename":"file0"},{"photo_id":"1329239373","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329239377":["hashtag1","hashtag2"]},{"1329239356":["hashtag1","hashtag2"]},{"1329239373":["hashtag1","hashtag2"]},{"1329239375":["hashtag1","hashtag2"]},{"1329239366":["hashtag1","hashtag2"]},{"1329239371":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329239377, 1329239356, 1329239373, 1329239375, 1329239366, 1329239371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9713454246521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:04:22.120920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_02_2666.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_05_2670.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_09_3544.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_11_2564.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_18_2869.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_20_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_02_2666.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_05_2670.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_09_3544.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_11_2564.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_18_2869.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_20_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329240276","1329240285","1329240279","1329240042","1329239870","1329240224"],"photo_ids_order":["1329239870","1329240042","1329240224","1329240276","1329240279","1329240285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a8119c442b1540539d5ed1a529575e28.jpg","text":"TemporaryFile(/tmp/multipartBody1196968443432433674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978725312,"filename":"image_14012025_08_57_11_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5914c55249ee92c52dc60858fea98eda.jpg","text":"TemporaryFile(/tmp/multipartBody8246481027631412848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978725312,"filename":"image_14012025_08_57_20_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5edcc70640a3c1a4ccd3259aeed2deea.jpg","text":"TemporaryFile(/tmp/multipartBody6070846128137927563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978725312,"filename":"image_14012025_08_57_18_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f66ca9fa9bbcc13af355417f3d9465aa.jpg","text":"TemporaryFile(/tmp/multipartBody5556587497414266493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978725312,"filename":"image_14012025_08_57_05_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52b052794f03508e3c16ae5cb227f66b.jpg","text":"TemporaryFile(/tmp/multipartBody2005603932372485727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978725312,"filename":"image_14012025_08_57_02_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/074fc2a90e34c77e15ef1824f0c3f73e.jpg","text":"TemporaryFile(/tmp/multipartBody7302262149097653711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978725312,"filename":"image_14012025_08_57_09_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329240224","file1":"1329240042","file0":"1329239870","file4":"1329240279","file5":"1329240285","file3":"1329240276"},"map_files_photo_id_array":[{"photo_id":"1329240285","filename":"file5"},{"photo_id":"1329240224","filename":"file2"},{"photo_id":"1329240279","filename":"file4"},{"photo_id":"1329240042","filename":"file1"},{"photo_id":"1329239870","filename":"file0"},{"photo_id":"1329240276","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329240276":["hashtag1","hashtag2"]},{"1329240285":["hashtag1","hashtag2"]},{"1329240279":["hashtag1","hashtag2"]},{"1329240042":["hashtag1","hashtag2"]},{"1329239870":["hashtag1","hashtag2"]},{"1329240224":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329240276, 1329240285, 1329240279, 1329240042, 1329239870, 1329240224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.779863595962524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:05:22.114441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/22/51/image_15012025_22_51_42_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/22/51/image_15012025_22_51_42_2648.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329240348"],"photo_id":"1329240348","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bb7bf2f005c87951baceaee31e4a8ce0.jpg","text":"TemporaryFile(/tmp/multipartBody953465023332094095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978782635,"filename":"image_15012025_22_51_42_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329240348"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329240348"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.754507064819336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:05:42.121398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_29_2678.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_36_3732.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_38_2665.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_41_2638.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_47_2609.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_54_3818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_29_2678.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_36_3732.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_38_2665.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_41_2638.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_47_2609.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_54_3818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329240679","1329240684","1329240687","1329240681","1329240639","1329240671"],"photo_ids_order":["1329240639","1329240671","1329240679","1329240681","1329240684","1329240687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1022e4f33cb4bdb60ea6e113a1427dc6.jpg","text":"TemporaryFile(/tmp/multipartBody5923302545878655420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978803460,"filename":"image_14012025_08_57_38_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/349088a2b557f16616796e2d289ca528.jpg","text":"TemporaryFile(/tmp/multipartBody2803082182824458427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978803460,"filename":"image_14012025_08_57_47_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/18f6dc701b2718c210ea95430118481c.jpg","text":"TemporaryFile(/tmp/multipartBody2093463910317155258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978803460,"filename":"image_14012025_08_57_54_3818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f8e12a277bcbf866990fd959e44e9952.jpg","text":"TemporaryFile(/tmp/multipartBody8822986201714700926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978803460,"filename":"image_14012025_08_57_41_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a10f71430f4bb62798adbb6c9c0d609a.jpg","text":"TemporaryFile(/tmp/multipartBody7918178080025157435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978803460,"filename":"image_14012025_08_57_29_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca73f09a32082432ddfe9bc86f24b4df.jpg","text":"TemporaryFile(/tmp/multipartBody1290481135250816865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978803460,"filename":"image_14012025_08_57_36_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329240679","file1":"1329240671","file0":"1329240639","file4":"1329240684","file5":"1329240687","file3":"1329240681"},"map_files_photo_id_array":[{"photo_id":"1329240687","filename":"file5"},{"photo_id":"1329240679","filename":"file2"},{"photo_id":"1329240684","filename":"file4"},{"photo_id":"1329240671","filename":"file1"},{"photo_id":"1329240639","filename":"file0"},{"photo_id":"1329240681","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329240679":["hashtag1","hashtag2"]},{"1329240684":["hashtag1","hashtag2"]},{"1329240687":["hashtag1","hashtag2"]},{"1329240681":["hashtag1","hashtag2"]},{"1329240639":["hashtag1","hashtag2"]},{"1329240671":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329240679, 1329240684, 1329240687, 1329240681, 1329240639, 1329240671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45502853393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:06:22.177664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_57_2668.jpg', '/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_59_2654.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_06_2681.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_12_3532.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_14_2777.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_17_2862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_57_2668.jpg
/home/pi/Desktop/images/14012025/08/57/image_14012025_08_57_59_2654.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_06_2681.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_12_3532.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_14_2777.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_17_2862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329240712","1329240709","1329240696","1329240695","1329240698","1329240701"],"photo_ids_order":["1329240695","1329240696","1329240698","1329240701","1329240709","1329240712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aa40b5ea644e96b7c924c2b8cf4b7cf6.jpg","text":"TemporaryFile(/tmp/multipartBody1523575951162826983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978845337,"filename":"image_14012025_08_58_17_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/972d1c2cab627c02132c86acebc573b9.jpg","text":"TemporaryFile(/tmp/multipartBody6959294619753705282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978845337,"filename":"image_14012025_08_58_14_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/08f12e1e3ae294ea53b9af6c11f13cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3948428357938376626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978845337,"filename":"image_14012025_08_57_59_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f0c4d91164a092c06aaed4fe220c99f7.jpg","text":"TemporaryFile(/tmp/multipartBody8603689152642495456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978845337,"filename":"image_14012025_08_57_57_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffd6bff960a51c63cd7906adcf545b29.jpg","text":"TemporaryFile(/tmp/multipartBody7788926483859288748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978845337,"filename":"image_14012025_08_58_06_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1db02e7832c7f9d10ad00161c0e26a55.jpg","text":"TemporaryFile(/tmp/multipartBody4183905147017325078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978845337,"filename":"image_14012025_08_58_12_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329240698","file1":"1329240696","file0":"1329240695","file4":"1329240709","file5":"1329240712","file3":"1329240701"},"map_files_photo_id_array":[{"photo_id":"1329240712","filename":"file5"},{"photo_id":"1329240698","filename":"file2"},{"photo_id":"1329240709","filename":"file4"},{"photo_id":"1329240696","filename":"file1"},{"photo_id":"1329240695","filename":"file0"},{"photo_id":"1329240701","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329240712":["hashtag1","hashtag2"]},{"1329240709":["hashtag1","hashtag2"]},{"1329240696":["hashtag1","hashtag2"]},{"1329240695":["hashtag1","hashtag2"]},{"1329240698":["hashtag1","hashtag2"]},{"1329240701":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329240712, 1329240709, 1329240696, 1329240695, 1329240698, 1329240701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27038550376892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:07:21.877640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_20_2785.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_23_2729.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_27_3745.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_29_2729.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_32_2806.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_35_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_20_2785.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_23_2729.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_27_3745.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_29_2729.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_32_2806.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_35_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329240805","1329240802","1329240795","1329240744","1329240749","1329240799"],"photo_ids_order":["1329240744","1329240749","1329240795","1329240799","1329240802","1329240805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/89a0a73f40ac828b83d151eaeffd6a16.jpg","text":"TemporaryFile(/tmp/multipartBody72526441079399956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978905041,"filename":"image_14012025_08_58_35_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bdc9551e8cfcfdd034d72399c93f9698.jpg","text":"TemporaryFile(/tmp/multipartBody8407550980338858925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978905041,"filename":"image_14012025_08_58_32_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ae13a38369d640271d3dec81d053bc27.jpg","text":"TemporaryFile(/tmp/multipartBody6608239061713804880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978905041,"filename":"image_14012025_08_58_27_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/554583f4b8530201cc0288704b2354ed.jpg","text":"TemporaryFile(/tmp/multipartBody6636428153201714532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978905041,"filename":"image_14012025_08_58_20_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22f05dd845b643936851f55c10bdecb2.jpg","text":"TemporaryFile(/tmp/multipartBody6590432192878886620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978905041,"filename":"image_14012025_08_58_23_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/17cfaf84dea8b7b8c3dbd6a1bb94b1b7.jpg","text":"TemporaryFile(/tmp/multipartBody8844134717166916166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978905041,"filename":"image_14012025_08_58_29_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329240795","file1":"1329240749","file0":"1329240744","file4":"1329240802","file5":"1329240805","file3":"1329240799"},"map_files_photo_id_array":[{"photo_id":"1329240805","filename":"file5"},{"photo_id":"1329240795","filename":"file2"},{"photo_id":"1329240802","filename":"file4"},{"photo_id":"1329240749","filename":"file1"},{"photo_id":"1329240744","filename":"file0"},{"photo_id":"1329240799","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329240805":["hashtag1","hashtag2"]},{"1329240802":["hashtag1","hashtag2"]},{"1329240795":["hashtag1","hashtag2"]},{"1329240744":["hashtag1","hashtag2"]},{"1329240749":["hashtag1","hashtag2"]},{"1329240799":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329240805, 1329240802, 1329240795, 1329240744, 1329240749, 1329240799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01157736778259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:08:21.921219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_39_3677.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_41_2626.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_45_3608.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_50_2745.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_53_2668.jpg', '/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_56_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_39_3677.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_41_2626.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_45_3608.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_50_2745.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_53_2668.jpg
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_56_3530.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329240823","1329240829","1329240825","1329240819","1329240827","1329240821"],"photo_ids_order":["1329240819","1329240821","1329240823","1329240825","1329240827","1329240829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3d126daa962df5baa68861bbe705698.jpg","text":"TemporaryFile(/tmp/multipartBody2935171326815037905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978965050,"filename":"image_14012025_08_58_45_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e561453a138cc26577f670bd571c6787.jpg","text":"TemporaryFile(/tmp/multipartBody5120801323295385774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978965050,"filename":"image_14012025_08_58_56_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8fc70fe244fb642460408a2f2121893f.jpg","text":"TemporaryFile(/tmp/multipartBody8100983586217411127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978965050,"filename":"image_14012025_08_58_50_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24a5bc3bdcc52f7c047bf658448387f5.jpg","text":"TemporaryFile(/tmp/multipartBody2339101747739880755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978965050,"filename":"image_14012025_08_58_39_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/965ca0e9fac5b414daf8cb39c3cbd087.jpg","text":"TemporaryFile(/tmp/multipartBody5024986462218516739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978965050,"filename":"image_14012025_08_58_53_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fe031bab2f11086ab268f6f0bd5cefe4.jpg","text":"TemporaryFile(/tmp/multipartBody8544469977852896247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736978965050,"filename":"image_14012025_08_58_41_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329240823","file1":"1329240821","file0":"1329240819","file4":"1329240827","file5":"1329240829","file3":"1329240825"},"map_files_photo_id_array":[{"photo_id":"1329240829","filename":"file5"},{"photo_id":"1329240823","filename":"file2"},{"photo_id":"1329240827","filename":"file4"},{"photo_id":"1329240821","filename":"file1"},{"photo_id":"1329240819","filename":"file0"},{"photo_id":"1329240825","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329240823":["hashtag1","hashtag2"]},{"1329240829":["hashtag1","hashtag2"]},{"1329240825":["hashtag1","hashtag2"]},{"1329240819":["hashtag1","hashtag2"]},{"1329240827":["hashtag1","hashtag2"]},{"1329240821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329240823, 1329240829, 1329240825, 1329240819, 1329240827, 1329240821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86780333518982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:09:03.627825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_59_2734.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_02_2864.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_06_3538.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_08_2561.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_11_2772.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_14_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/58/image_14012025_08_58_59_2734.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_02_2864.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_06_3538.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_08_2561.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_11_2772.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_14_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329240852","1329240855","1329240840","1329240837","1329240845","1329240842"],"photo_ids_order":["1329240837","1329240840","1329240842","1329240845","1329240852","1329240855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36bb5e1b8ec02bd4b4479c3bdb52a30f.jpg","text":"TemporaryFile(/tmp/multipartBody6533660944365862441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979006271,"filename":"image_14012025_08_59_11_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2b2a522e3148fc86a477d8f81de615bd.jpg","text":"TemporaryFile(/tmp/multipartBody4046682253959692856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979006271,"filename":"image_14012025_08_59_14_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/337a2eb96cdd31023a121857560591fd.jpg","text":"TemporaryFile(/tmp/multipartBody6079328387082344808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979006271,"filename":"image_14012025_08_59_02_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4479b26a946fbdb9ba9e4b504d7fc117.jpg","text":"TemporaryFile(/tmp/multipartBody9064403709714885860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979006271,"filename":"image_14012025_08_58_59_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c3d7441386212d2a7fe117216e9cc9ab.jpg","text":"TemporaryFile(/tmp/multipartBody4847825053756372648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979006271,"filename":"image_14012025_08_59_08_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b47a4119786dfcbbf8c57f8fbec85ba1.jpg","text":"TemporaryFile(/tmp/multipartBody8938620777640260195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979006271,"filename":"image_14012025_08_59_06_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329240842","file1":"1329240840","file0":"1329240837","file4":"1329240852","file5":"1329240855","file3":"1329240845"},"map_files_photo_id_array":[{"photo_id":"1329240855","filename":"file5"},{"photo_id":"1329240842","filename":"file2"},{"photo_id":"1329240852","filename":"file4"},{"photo_id":"1329240840","filename":"file1"},{"photo_id":"1329240837","filename":"file0"},{"photo_id":"1329240845","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329240852":["hashtag1","hashtag2"]},{"1329240855":["hashtag1","hashtag2"]},{"1329240840":["hashtag1","hashtag2"]},{"1329240837":["hashtag1","hashtag2"]},{"1329240845":["hashtag1","hashtag2"]},{"1329240842":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329240852, 1329240855, 1329240840, 1329240837, 1329240845, 1329240842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.778021812438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:09:42.668760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_23_3674.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_29_2649.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_32_3576.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_47_2542.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_50_3650.jpg', '/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_57_3508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_23_3674.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_29_2649.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_32_3576.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_47_2542.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_50_3650.jpg
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_57_3508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329240889","1329240859","1329240861","1329240878","1329240863","1329240866"],"photo_ids_order":["1329240859","1329240861","1329240863","1329240866","1329240878","1329240889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/aff234144b9eacf4323cbe81e8b56af6.jpg","text":"TemporaryFile(/tmp/multipartBody5359157481495859140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979044040,"filename":"image_14012025_08_59_57_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/454536b07a7d3d41870683c7fdd4e45b.jpg","text":"TemporaryFile(/tmp/multipartBody6883808348050743954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979044040,"filename":"image_14012025_08_59_23_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3ce62ace85d4801938d62c1af10f1fc.jpg","text":"TemporaryFile(/tmp/multipartBody6171714696171959575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979044040,"filename":"image_14012025_08_59_29_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/379068fff21dc43c824b4e34dfb6f4ba.jpg","text":"TemporaryFile(/tmp/multipartBody4925592454310178801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979044040,"filename":"image_14012025_08_59_50_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24c18cdc78c7cbc5b03645dfcb431b05.jpg","text":"TemporaryFile(/tmp/multipartBody6852285330221140828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979044040,"filename":"image_14012025_08_59_32_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a89e7195f9ae16bd11e00e0754afa413.jpg","text":"TemporaryFile(/tmp/multipartBody1413011417032983467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979044040,"filename":"image_14012025_08_59_47_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329240863","file1":"1329240861","file0":"1329240859","file4":"1329240878","file5":"1329240889","file3":"1329240866"},"map_files_photo_id_array":[{"photo_id":"1329240889","filename":"file5"},{"photo_id":"1329240863","filename":"file2"},{"photo_id":"1329240878","filename":"file4"},{"photo_id":"1329240861","filename":"file1"},{"photo_id":"1329240859","filename":"file0"},{"photo_id":"1329240866","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329240889":["hashtag1","hashtag2"]},{"1329240859":["hashtag1","hashtag2"]},{"1329240861":["hashtag1","hashtag2"]},{"1329240878":["hashtag1","hashtag2"]},{"1329240863":["hashtag1","hashtag2"]},{"1329240866":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329240889, 1329240859, 1329240861, 1329240878, 1329240863, 1329240866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.885562896728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:10:22.699931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_59_2656.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_07_3011.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_11_3765.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_13_2581.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_16_2707.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_20_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/08/59/image_14012025_08_59_59_2656.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_07_3011.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_11_3765.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_13_2581.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_16_2707.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_20_3735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329240916","1329240925","1329241061","1329241001","1329240920","1329240914"],"photo_ids_order":["1329240914","1329240916","1329240920","1329240925","1329241001","1329241061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c22032916cb04db9a1e57b05681a630c.jpg","text":"TemporaryFile(/tmp/multipartBody4814212887973728876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979085862,"filename":"image_14012025_09_00_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/078fbd564ed908ecd58ccd306af4e713.jpg","text":"TemporaryFile(/tmp/multipartBody3976412600417247736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979085862,"filename":"image_14012025_09_00_13_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8b07876b588e82d9dbc125876e5a17fc.jpg","text":"TemporaryFile(/tmp/multipartBody2264741890642756514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979085862,"filename":"image_14012025_09_00_20_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/64326f2aec1044b19902074b6101cf0c.jpg","text":"TemporaryFile(/tmp/multipartBody2203388897221340548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979085862,"filename":"image_14012025_09_00_16_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3027a5d24a4a4b7322a895f5ca20f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6657309322626044586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979085862,"filename":"image_14012025_09_00_11_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14d2556e5763a393c65d581560375c6d.jpg","text":"TemporaryFile(/tmp/multipartBody3344200425379060205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979085862,"filename":"image_14012025_08_59_59_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329240920","file1":"1329240916","file0":"1329240914","file4":"1329241001","file5":"1329241061","file3":"1329240925"},"map_files_photo_id_array":[{"photo_id":"1329241061","filename":"file5"},{"photo_id":"1329240920","filename":"file2"},{"photo_id":"1329241001","filename":"file4"},{"photo_id":"1329240916","filename":"file1"},{"photo_id":"1329240914","filename":"file0"},{"photo_id":"1329240925","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329240916":["hashtag1","hashtag2"]},{"1329240925":["hashtag1","hashtag2"]},{"1329241061":["hashtag1","hashtag2"]},{"1329241001":["hashtag1","hashtag2"]},{"1329240920":["hashtag1","hashtag2"]},{"1329240914":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329240916, 1329240925, 1329241061, 1329241001, 1329240920, 1329240914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.482821226119995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:11:22.249385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_23_2590.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_29_3610.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_32_2771.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_40_2562.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_44_3526.jpg', '/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_47_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_23_2590.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_29_3610.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_32_2771.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_40_2562.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_44_3526.jpg
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_47_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329241590","1329241731","1329241803","1329241664","1329241925","1329241879"],"photo_ids_order":["1329241590","1329241664","1329241731","1329241803","1329241879","1329241925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b6b3d2be2bd4c66e5cae030bd508c9fc.jpg","text":"TemporaryFile(/tmp/multipartBody1741977703964329321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979145624,"filename":"image_14012025_09_00_23_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/095796cd5936de18fe7fa9c31546a2b3.jpg","text":"TemporaryFile(/tmp/multipartBody107394560476863800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979145624,"filename":"image_14012025_09_00_32_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0e9a34295d195bf8287f5bb67bacfc4a.jpg","text":"TemporaryFile(/tmp/multipartBody1083107824286998001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979145624,"filename":"image_14012025_09_00_40_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a5d469188de0fbd09985d3e1a0fb24b.jpg","text":"TemporaryFile(/tmp/multipartBody8601023483134098043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979145624,"filename":"image_14012025_09_00_29_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/132713d0ba6db97120f5dbd7fb97e6b4.jpg","text":"TemporaryFile(/tmp/multipartBody2613864241842718045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979145624,"filename":"image_14012025_09_00_47_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b2739e956442e9d3320cc048790fdb65.jpg","text":"TemporaryFile(/tmp/multipartBody6146454042786999403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979145624,"filename":"image_14012025_09_00_44_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329241731","file1":"1329241664","file0":"1329241590","file4":"1329241879","file5":"1329241925","file3":"1329241803"},"map_files_photo_id_array":[{"photo_id":"1329241925","filename":"file5"},{"photo_id":"1329241731","filename":"file2"},{"photo_id":"1329241879","filename":"file4"},{"photo_id":"1329241664","filename":"file1"},{"photo_id":"1329241590","filename":"file0"},{"photo_id":"1329241803","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329241590":["hashtag1","hashtag2"]},{"1329241731":["hashtag1","hashtag2"]},{"1329241803":["hashtag1","hashtag2"]},{"1329241664":["hashtag1","hashtag2"]},{"1329241925":["hashtag1","hashtag2"]},{"1329241879":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329241590, 1329241731, 1329241803, 1329241664, 1329241925, 1329241879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.789557456970215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:12:03.010570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_53_3721.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_01_2599.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_05_3794.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_08_2681.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_10_2630.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_13_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/00/image_14012025_09_00_53_3721.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_01_2599.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_05_3794.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_08_2681.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_10_2630.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_13_2877.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329242076","1329242229","1329242232","1329242225","1329242164","1329242227"],"photo_ids_order":["1329242076","1329242164","1329242225","1329242227","1329242229","1329242232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9e67bd5be4244902b673ac67631c65f2.jpg","text":"TemporaryFile(/tmp/multipartBody6902152613551161899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979185517,"filename":"image_14012025_09_00_53_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ba4619d64c52ef37b185925de880b28c.jpg","text":"TemporaryFile(/tmp/multipartBody7891569954394237398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979185517,"filename":"image_14012025_09_01_10_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00b729e22889cd9ecd911823d0e13c10.jpg","text":"TemporaryFile(/tmp/multipartBody6697293313229425393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979185517,"filename":"image_14012025_09_01_13_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bd4ce9d78c7cdec26d661ef47579796b.jpg","text":"TemporaryFile(/tmp/multipartBody4062509009284420120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979185517,"filename":"image_14012025_09_01_05_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f51f25760ed4a31014caa0c0667d586a.jpg","text":"TemporaryFile(/tmp/multipartBody711814442271098164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979185517,"filename":"image_14012025_09_01_01_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/50bc7e5de7bd161dd20c6e2edcbba08b.jpg","text":"TemporaryFile(/tmp/multipartBody8258564603680659617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979185517,"filename":"image_14012025_09_01_08_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329242225","file1":"1329242164","file0":"1329242076","file4":"1329242229","file5":"1329242232","file3":"1329242227"},"map_files_photo_id_array":[{"photo_id":"1329242232","filename":"file5"},{"photo_id":"1329242225","filename":"file2"},{"photo_id":"1329242229","filename":"file4"},{"photo_id":"1329242164","filename":"file1"},{"photo_id":"1329242076","filename":"file0"},{"photo_id":"1329242227","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329242076":["hashtag1","hashtag2"]},{"1329242229":["hashtag1","hashtag2"]},{"1329242232":["hashtag1","hashtag2"]},{"1329242225":["hashtag1","hashtag2"]},{"1329242164":["hashtag1","hashtag2"]},{"1329242227":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329242076, 1329242229, 1329242232, 1329242225, 1329242164, 1329242227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41950511932373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:12:42.374475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_17_3620.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_19_2522.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_22_2803.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_26_3622.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_28_2692.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_31_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_17_3620.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_19_2522.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_22_2803.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_26_3622.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_28_2692.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_31_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329242690","1329242681","1329242636","1329242450","1329242398","1329242563"],"photo_ids_order":["1329242398","1329242450","1329242563","1329242636","1329242681","1329242690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0c163e9ee1fffcd77b3ce13b58322618.jpg","text":"TemporaryFile(/tmp/multipartBody83635177013190318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979223732,"filename":"image_14012025_09_01_31_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e3b086f59927a2bbed51703de398665f.jpg","text":"TemporaryFile(/tmp/multipartBody8531780704026150612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979223732,"filename":"image_14012025_09_01_28_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/265d186218396f04d9e92ef68001921e.jpg","text":"TemporaryFile(/tmp/multipartBody1524621765649858923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979223732,"filename":"image_14012025_09_01_26_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c3fa8f54489b76ccb5e3049f9f51ebeb.jpg","text":"TemporaryFile(/tmp/multipartBody5951324978035527380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979223732,"filename":"image_14012025_09_01_19_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7f629b367039e88abec1d392bfaa03e.jpg","text":"TemporaryFile(/tmp/multipartBody4345670532422674670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979223732,"filename":"image_14012025_09_01_17_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/01242c9709a0272c192a34f8db39e6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1576735463688415632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979223732,"filename":"image_14012025_09_01_22_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329242563","file1":"1329242450","file0":"1329242398","file4":"1329242681","file5":"1329242690","file3":"1329242636"},"map_files_photo_id_array":[{"photo_id":"1329242690","filename":"file5"},{"photo_id":"1329242563","filename":"file2"},{"photo_id":"1329242681","filename":"file4"},{"photo_id":"1329242450","filename":"file1"},{"photo_id":"1329242398","filename":"file0"},{"photo_id":"1329242636","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329242690":["hashtag1","hashtag2"]},{"1329242681":["hashtag1","hashtag2"]},{"1329242636":["hashtag1","hashtag2"]},{"1329242450":["hashtag1","hashtag2"]},{"1329242398":["hashtag1","hashtag2"]},{"1329242563":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329242690, 1329242681, 1329242636, 1329242450, 1329242398, 1329242563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66394758224487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:13:22.350777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_35_3671.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_38_2797.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_40_2575.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_44_3556.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_46_2602.jpg', '/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_56_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_35_3671.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_38_2797.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_40_2575.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_44_3556.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_46_2602.jpg
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_56_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329242784","1329242778","1329242780","1329242810","1329242776","1329242848"],"photo_ids_order":["1329242776","1329242778","1329242780","1329242784","1329242810","1329242848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7de6f2a4a347959ae8ec355925077ec.jpg","text":"TemporaryFile(/tmp/multipartBody7667155629378467350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979265490,"filename":"image_14012025_09_01_44_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b7a10eaa441813f2e6943065d2690d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3474192395791948130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979265490,"filename":"image_14012025_09_01_38_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8fcb390f75f3b4cb69a39acb0a896161.jpg","text":"TemporaryFile(/tmp/multipartBody9124322723542286681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979265490,"filename":"image_14012025_09_01_40_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73b3a87c77c0f386d8be1cc0073bc532.jpg","text":"TemporaryFile(/tmp/multipartBody7526453361282577674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979265490,"filename":"image_14012025_09_01_46_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/46a23358198a67a52f19580e34513c8b.jpg","text":"TemporaryFile(/tmp/multipartBody1668492877664136595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979265490,"filename":"image_14012025_09_01_35_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d13e65190598ebadccbac5ab447d6126.jpg","text":"TemporaryFile(/tmp/multipartBody5852101840026468900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979265490,"filename":"image_14012025_09_01_56_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329242780","file1":"1329242778","file0":"1329242776","file4":"1329242810","file5":"1329242848","file3":"1329242784"},"map_files_photo_id_array":[{"photo_id":"1329242848","filename":"file5"},{"photo_id":"1329242780","filename":"file2"},{"photo_id":"1329242810","filename":"file4"},{"photo_id":"1329242778","filename":"file1"},{"photo_id":"1329242776","filename":"file0"},{"photo_id":"1329242784","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329242784":["hashtag1","hashtag2"]},{"1329242778":["hashtag1","hashtag2"]},{"1329242780":["hashtag1","hashtag2"]},{"1329242810":["hashtag1","hashtag2"]},{"1329242776":["hashtag1","hashtag2"]},{"1329242848":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329242784, 1329242778, 1329242780, 1329242810, 1329242776, 1329242848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.317415952682495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:14:03.008209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_58_2648.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_02_3569.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_07_2649.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_11_3544.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_13_2563.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_22_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/01/image_14012025_09_01_58_2648.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_02_3569.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_07_2649.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_11_3544.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_13_2563.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_22_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329242985","1329242988","1329242987","1329242992","1329242989","1329242983"],"photo_ids_order":["1329242983","1329242985","1329242987","1329242988","1329242989","1329242992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8145d4d0028f16cc7bf0f07ba0df88c0.jpg","text":"TemporaryFile(/tmp/multipartBody5997339717599680355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979305485,"filename":"image_14012025_09_02_02_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fde7831d60b22d6476add842ff3b7762.jpg","text":"TemporaryFile(/tmp/multipartBody2784680352812733840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979305485,"filename":"image_14012025_09_02_11_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b1cca2af8dbeb8f004cadcbcd5b17f21.jpg","text":"TemporaryFile(/tmp/multipartBody4198775714401936837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979305485,"filename":"image_14012025_09_02_07_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6519eaf6bcb31d4d676fb759306f9fae.jpg","text":"TemporaryFile(/tmp/multipartBody7217590498325828660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979305485,"filename":"image_14012025_09_02_22_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c90b168f6a1380362994ffc26a2e66c4.jpg","text":"TemporaryFile(/tmp/multipartBody2906312369866954198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979305485,"filename":"image_14012025_09_02_13_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/409ef40b2ed774edad841551e94873bb.jpg","text":"TemporaryFile(/tmp/multipartBody3818185855338102421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979305485,"filename":"image_14012025_09_01_58_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329242987","file1":"1329242985","file0":"1329242983","file4":"1329242989","file5":"1329242992","file3":"1329242988"},"map_files_photo_id_array":[{"photo_id":"1329242992","filename":"file5"},{"photo_id":"1329242987","filename":"file2"},{"photo_id":"1329242989","filename":"file4"},{"photo_id":"1329242985","filename":"file1"},{"photo_id":"1329242983","filename":"file0"},{"photo_id":"1329242988","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329242985":["hashtag1","hashtag2"]},{"1329242988":["hashtag1","hashtag2"]},{"1329242987":["hashtag1","hashtag2"]},{"1329242992":["hashtag1","hashtag2"]},{"1329242989":["hashtag1","hashtag2"]},{"1329242983":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329242985, 1329242988, 1329242987, 1329242992, 1329242989, 1329242983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.727797508239746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:14:42.240169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_29_3631.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_35_3585.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_38_2710.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_40_2533.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_44_3760.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_47_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_29_3631.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_35_3585.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_38_2710.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_40_2533.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_44_3760.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_47_2783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329243033","1329243012","1329243009","1329243050","1329243041","1329243097"],"photo_ids_order":["1329243009","1329243012","1329243033","1329243041","1329243050","1329243097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e9706eaceabddc66d85f1d5eddd85f9.jpg","text":"TemporaryFile(/tmp/multipartBody7186497532289560600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979343605,"filename":"image_14012025_09_02_38_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ec6f7f5edec7154f252236a4c952887.jpg","text":"TemporaryFile(/tmp/multipartBody6216543523297920899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979343605,"filename":"image_14012025_09_02_35_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a00a094043dfa96c327c4067e029409.jpg","text":"TemporaryFile(/tmp/multipartBody3153619105343739084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979343605,"filename":"image_14012025_09_02_29_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffb629747d525f1a290a033d757b92e2.jpg","text":"TemporaryFile(/tmp/multipartBody6686263582856294251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979343605,"filename":"image_14012025_09_02_44_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a59bb362a90faf51b928966e40f6fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3435286730372151607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979343605,"filename":"image_14012025_09_02_40_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/89efd21fc05adbf0a1179bc2c1bcb78d.jpg","text":"TemporaryFile(/tmp/multipartBody3615467265190596872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979343605,"filename":"image_14012025_09_02_47_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329243033","file1":"1329243012","file0":"1329243009","file4":"1329243050","file5":"1329243097","file3":"1329243041"},"map_files_photo_id_array":[{"photo_id":"1329243097","filename":"file5"},{"photo_id":"1329243033","filename":"file2"},{"photo_id":"1329243050","filename":"file4"},{"photo_id":"1329243012","filename":"file1"},{"photo_id":"1329243009","filename":"file0"},{"photo_id":"1329243041","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329243033":["hashtag1","hashtag2"]},{"1329243012":["hashtag1","hashtag2"]},{"1329243009":["hashtag1","hashtag2"]},{"1329243050":["hashtag1","hashtag2"]},{"1329243041":["hashtag1","hashtag2"]},{"1329243097":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329243033, 1329243012, 1329243009, 1329243050, 1329243041, 1329243097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.820311307907104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:15:21.985535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_52_2978.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_55_2602.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_59_3828.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_01_2741.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_04_2721.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_07_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_52_2978.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_55_2602.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_59_3828.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_01_2741.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_04_2721.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_07_2638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.0916388034820557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:15:42.013631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_52_2978.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_55_2602.jpg', '/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_59_3828.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_01_2741.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_04_2721.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_07_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_52_2978.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_55_2602.jpg
/home/pi/Desktop/images/14012025/09/02/image_14012025_09_02_59_3828.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_01_2741.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_04_2721.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_07_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329243398","1329243494","1329243395","1329243391","1329243412","1329243360"],"photo_ids_order":["1329243360","1329243391","1329243395","1329243398","1329243412","1329243494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5fb9bb800c9802e67c856c11ddc38582.jpg","text":"TemporaryFile(/tmp/multipartBody1990566445515793500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979403376,"filename":"image_14012025_09_03_01_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/54889aecc27f85a45d0b1dde72dd7f70.jpg","text":"TemporaryFile(/tmp/multipartBody7503975057577209008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979403376,"filename":"image_14012025_09_03_07_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02174712b2d5be0f6b25698b999b6b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5504743921237062642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979403376,"filename":"image_14012025_09_02_59_3828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffcb892f13343ef28627f25f6ba10183.jpg","text":"TemporaryFile(/tmp/multipartBody932114967316800670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979403376,"filename":"image_14012025_09_02_55_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48d470e9affb38f27573a093370735b4.jpg","text":"TemporaryFile(/tmp/multipartBody8618375009388114987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979403376,"filename":"image_14012025_09_03_04_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/37aede2c2b2db15e4218a7ea2703981b.jpg","text":"TemporaryFile(/tmp/multipartBody5314666276846735348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979403376,"filename":"image_14012025_09_02_52_2978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329243395","file1":"1329243391","file0":"1329243360","file4":"1329243412","file5":"1329243494","file3":"1329243398"},"map_files_photo_id_array":[{"photo_id":"1329243494","filename":"file5"},{"photo_id":"1329243395","filename":"file2"},{"photo_id":"1329243412","filename":"file4"},{"photo_id":"1329243391","filename":"file1"},{"photo_id":"1329243360","filename":"file0"},{"photo_id":"1329243398","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329243398":["hashtag1","hashtag2"]},{"1329243494":["hashtag1","hashtag2"]},{"1329243395":["hashtag1","hashtag2"]},{"1329243391":["hashtag1","hashtag2"]},{"1329243412":["hashtag1","hashtag2"]},{"1329243360":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329243398, 1329243494, 1329243395, 1329243391, 1329243412, 1329243360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5502347946167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:16:22.099430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_10_3628.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_13_2670.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_16_2700.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_22_2756.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_25_2713.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_31_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_10_3628.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_13_2670.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_16_2700.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_22_2756.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_25_2713.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_31_2690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.0750458240509033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:16:41.973448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_10_3628.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_13_2670.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_16_2700.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_22_2756.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_25_2713.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_31_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_10_3628.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_13_2670.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_16_2700.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_22_2756.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_25_2713.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_31_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329243782","1329243698","1329243785","1329243751","1329243706","1329243786"],"photo_ids_order":["1329243698","1329243706","1329243751","1329243782","1329243785","1329243786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/187b95927387b968895e4523199d4228.jpg","text":"TemporaryFile(/tmp/multipartBody926465941530051703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979463358,"filename":"image_14012025_09_03_22_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fadab197b8feb475b0181a494e1bb3b9.jpg","text":"TemporaryFile(/tmp/multipartBody1955316245170378289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979463358,"filename":"image_14012025_09_03_10_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/19d69af335aa6894ed01be0fa9493b00.jpg","text":"TemporaryFile(/tmp/multipartBody4105721419467395852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979463358,"filename":"image_14012025_09_03_25_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52cfa3df4262a183d41adb92c71a510c.jpg","text":"TemporaryFile(/tmp/multipartBody3808006245359496221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979463358,"filename":"image_14012025_09_03_16_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9ab76cdbc6ee2c5f750b52b879257152.jpg","text":"TemporaryFile(/tmp/multipartBody2447265571460460921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979463358,"filename":"image_14012025_09_03_13_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29cbd4f8ca91958b6d8b96b1866c4c5f.jpg","text":"TemporaryFile(/tmp/multipartBody4697111931050459008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979463358,"filename":"image_14012025_09_03_31_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329243751","file1":"1329243706","file0":"1329243698","file4":"1329243785","file5":"1329243786","file3":"1329243782"},"map_files_photo_id_array":[{"photo_id":"1329243786","filename":"file5"},{"photo_id":"1329243751","filename":"file2"},{"photo_id":"1329243785","filename":"file4"},{"photo_id":"1329243706","filename":"file1"},{"photo_id":"1329243698","filename":"file0"},{"photo_id":"1329243782","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329243782":["hashtag1","hashtag2"]},{"1329243698":["hashtag1","hashtag2"]},{"1329243785":["hashtag1","hashtag2"]},{"1329243751":["hashtag1","hashtag2"]},{"1329243706":["hashtag1","hashtag2"]},{"1329243786":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329243782, 1329243698, 1329243785, 1329243751, 1329243706, 1329243786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.938756227493286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:17:22.665917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_37_2551.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_41_3712.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_43_2692.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_50_3799.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_52_2646.jpg', '/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_55_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_37_2551.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_41_3712.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_43_2692.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_50_3799.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_52_2646.jpg
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_55_2815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329243807","1329243803","1329243796","1329243805","1329243798","1329243802"],"photo_ids_order":["1329243796","1329243798","1329243802","1329243803","1329243805","1329243807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1db805c2ec0489ed580b4797ab31a136.jpg","text":"TemporaryFile(/tmp/multipartBody8888872264380690162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979505803,"filename":"image_14012025_09_03_55_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/826dee01906f002b2a5bbc422d869d69.jpg","text":"TemporaryFile(/tmp/multipartBody7665269445951775186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979505803,"filename":"image_14012025_09_03_50_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/671655a08e8e7b887e78130fc175c72a.jpg","text":"TemporaryFile(/tmp/multipartBody291143152101028138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979505803,"filename":"image_14012025_09_03_37_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/011dd911b17fe2ef480cf98909aae7a2.jpg","text":"TemporaryFile(/tmp/multipartBody4457399829084671895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979505803,"filename":"image_14012025_09_03_52_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f432e59e1642b898b594fd3fa3ad50f4.jpg","text":"TemporaryFile(/tmp/multipartBody8447975962763405335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979505803,"filename":"image_14012025_09_03_41_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1c9edd575e3e7017aefa21f4d8f289be.jpg","text":"TemporaryFile(/tmp/multipartBody3883024417573961179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979505803,"filename":"image_14012025_09_03_43_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329243802","file1":"1329243798","file0":"1329243796","file4":"1329243805","file5":"1329243807","file3":"1329243803"},"map_files_photo_id_array":[{"photo_id":"1329243807","filename":"file5"},{"photo_id":"1329243802","filename":"file2"},{"photo_id":"1329243805","filename":"file4"},{"photo_id":"1329243798","filename":"file1"},{"photo_id":"1329243796","filename":"file0"},{"photo_id":"1329243803","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329243807":["hashtag1","hashtag2"]},{"1329243803":["hashtag1","hashtag2"]},{"1329243796":["hashtag1","hashtag2"]},{"1329243805":["hashtag1","hashtag2"]},{"1329243798":["hashtag1","hashtag2"]},{"1329243802":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329243807, 1329243803, 1329243796, 1329243805, 1329243798, 1329243802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71900916099548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:18:03.255332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_58_2915.jpg', '/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_01_2746.jpg', '/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_04_3527.jpg', '/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_07_2674.jpg', '/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_11_3635.jpg', '/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_13_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/03/image_14012025_09_03_58_2915.jpg
/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_01_2746.jpg
/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_04_3527.jpg
/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_07_2674.jpg
/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_11_3635.jpg
/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_13_2581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329244091","1329243954","1329243817","1329244257","1329243814","1329243858"],"photo_ids_order":["1329243814","1329243817","1329243858","1329243954","1329244091","1329244257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f6eed276826abc8f02d0f1311667977.jpg","text":"TemporaryFile(/tmp/multipartBody298736083965096149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979545691,"filename":"image_14012025_09_04_11_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/987668290d569844a2ff4dd1fb3583b3.jpg","text":"TemporaryFile(/tmp/multipartBody7232370004995439052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979545691,"filename":"image_14012025_09_04_07_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c0d9ec9b05059ddbf1c693dff2d1cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8363859652707373619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979545691,"filename":"image_14012025_09_04_01_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4a361d3773eabe4d27e24f4e1ee67f34.jpg","text":"TemporaryFile(/tmp/multipartBody1068936703491092140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979545691,"filename":"image_14012025_09_04_13_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2a59e96472a97a10a977fc3af4437bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2612718357524192624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979545691,"filename":"image_14012025_09_03_58_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/441ff4286a4cda9460df5308670cb23e.jpg","text":"TemporaryFile(/tmp/multipartBody7326592851319665193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979545691,"filename":"image_14012025_09_04_04_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329243858","file1":"1329243817","file0":"1329243814","file4":"1329244091","file5":"1329244257","file3":"1329243954"},"map_files_photo_id_array":[{"photo_id":"1329244257","filename":"file5"},{"photo_id":"1329243858","filename":"file2"},{"photo_id":"1329244091","filename":"file4"},{"photo_id":"1329243817","filename":"file1"},{"photo_id":"1329243814","filename":"file0"},{"photo_id":"1329243954","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329244091":["hashtag1","hashtag2"]},{"1329243954":["hashtag1","hashtag2"]},{"1329243817":["hashtag1","hashtag2"]},{"1329244257":["hashtag1","hashtag2"]},{"1329243814":["hashtag1","hashtag2"]},{"1329243858":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329244091, 1329243954, 1329243817, 1329244257, 1329243814, 1329243858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0983829498291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:18:42.714428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_16_2575.jpg', '/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_20_3750.jpg', '/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_29_3741.jpg', '/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_40_2930.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_01_2699.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_04_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_16_2575.jpg
/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_20_3750.jpg
/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_29_3741.jpg
/home/pi/Desktop/images/14012025/09/04/image_14012025_09_04_40_2930.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_01_2699.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_04_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329244460","1329244423","1329244432","1329244455","1329244458","1329244437"],"photo_ids_order":["1329244423","1329244432","1329244437","1329244455","1329244458","1329244460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/80e7b3d5c48a415a5c414751e195a04d.jpg","text":"TemporaryFile(/tmp/multipartBody5001974998669350675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979584070,"filename":"image_14012025_09_05_04_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/141166a971122d77538399a830996d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4044266673297503586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979584070,"filename":"image_14012025_09_04_16_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2bd41f228b8a42e485d55ab52bf2af63.jpg","text":"TemporaryFile(/tmp/multipartBody3433844430126456501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979584070,"filename":"image_14012025_09_04_20_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f7ec52994c58161f118d7ec34694cbf0.jpg","text":"TemporaryFile(/tmp/multipartBody2760190329578061940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979584070,"filename":"image_14012025_09_04_40_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/738df220c2e98e8e3ba5d2af3c993cfd.jpg","text":"TemporaryFile(/tmp/multipartBody5452754806677879735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979584070,"filename":"image_14012025_09_05_01_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ba87d75394a493fdd33b719423931834.jpg","text":"TemporaryFile(/tmp/multipartBody4244994194933201275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979584070,"filename":"image_14012025_09_04_29_3741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329244437","file1":"1329244432","file0":"1329244423","file4":"1329244458","file5":"1329244460","file3":"1329244455"},"map_files_photo_id_array":[{"photo_id":"1329244460","filename":"file5"},{"photo_id":"1329244437","filename":"file2"},{"photo_id":"1329244458","filename":"file4"},{"photo_id":"1329244432","filename":"file1"},{"photo_id":"1329244423","filename":"file0"},{"photo_id":"1329244455","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329244460":["hashtag1","hashtag2"]},{"1329244423":["hashtag1","hashtag2"]},{"1329244432":["hashtag1","hashtag2"]},{"1329244455":["hashtag1","hashtag2"]},{"1329244458":["hashtag1","hashtag2"]},{"1329244437":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329244460, 1329244423, 1329244432, 1329244455, 1329244458, 1329244437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.668678283691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:19:21.928072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_07_3581.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_15_7406.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_34_2680.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_37_2952.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_40_3576.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_46_3504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_07_3581.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_15_7406.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_34_2680.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_37_2952.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_40_3576.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_46_3504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329244704","1329244763","1329244745","1329244696","1329244771","1329244657"],"photo_ids_order":["1329244657","1329244696","1329244704","1329244745","1329244763","1329244771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cd9bfbb1be6b56d77c5ad4eab2619c83.jpg","text":"TemporaryFile(/tmp/multipartBody4334441057295855639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979625019,"filename":"image_14012025_09_05_34_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/caf6dfc9b4784b5dbeff1d83f3afb1ec.jpg","text":"TemporaryFile(/tmp/multipartBody6573148795507347084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979625019,"filename":"image_14012025_09_05_40_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3d5de955b41461dff0caa9538cf39da.jpg","text":"TemporaryFile(/tmp/multipartBody2820303401127645516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979625019,"filename":"image_14012025_09_05_37_2952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fc73ea7a4375106ad3c2bb5028d84073.jpg","text":"TemporaryFile(/tmp/multipartBody3594676706129614815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979625019,"filename":"image_14012025_09_05_15_7406.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9f39f4f7ec2b6de6aa325d5ae54d8123.jpg","text":"TemporaryFile(/tmp/multipartBody986955940277877063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979625019,"filename":"image_14012025_09_05_46_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bb769a3a23530567e511c27e1506fc45.jpg","text":"TemporaryFile(/tmp/multipartBody5360178523166931781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979625019,"filename":"image_14012025_09_05_07_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329244704","file1":"1329244696","file0":"1329244657","file4":"1329244763","file5":"1329244771","file3":"1329244745"},"map_files_photo_id_array":[{"photo_id":"1329244771","filename":"file5"},{"photo_id":"1329244704","filename":"file2"},{"photo_id":"1329244763","filename":"file4"},{"photo_id":"1329244696","filename":"file1"},{"photo_id":"1329244657","filename":"file0"},{"photo_id":"1329244745","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329244704":["hashtag1","hashtag2"]},{"1329244763":["hashtag1","hashtag2"]},{"1329244745":["hashtag1","hashtag2"]},{"1329244696":["hashtag1","hashtag2"]},{"1329244771":["hashtag1","hashtag2"]},{"1329244657":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329244704, 1329244763, 1329244745, 1329244696, 1329244771, 1329244657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.12295866012573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:20:22.382863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_49_2644.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_52_2776.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_55_2795.jpg', '/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_58_3618.jpg', '/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_01_2551.jpg', '/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_04_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_49_2644.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_52_2776.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_55_2795.jpg
/home/pi/Desktop/images/14012025/09/05/image_14012025_09_05_58_3618.jpg
/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_01_2551.jpg
/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_04_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329244793","1329244796","1329244784","1329244778","1329244789","1329244776"],"photo_ids_order":["1329244776","1329244778","1329244784","1329244789","1329244793","1329244796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c5e160a6ee1c3280dac7fdd7827b019.jpg","text":"TemporaryFile(/tmp/multipartBody8254223336538900794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979685548,"filename":"image_14012025_09_06_01_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1aff03e03be6c5ed5aa6c051aaef8e56.jpg","text":"TemporaryFile(/tmp/multipartBody5707128125957520869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979685548,"filename":"image_14012025_09_06_04_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8033d54c6060feb74dcec3aea2c57d77.jpg","text":"TemporaryFile(/tmp/multipartBody4412722009500004161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979685548,"filename":"image_14012025_09_05_55_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16508febcfdce11e9b3ea99b1febc2e8.jpg","text":"TemporaryFile(/tmp/multipartBody4367587358407864965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979685548,"filename":"image_14012025_09_05_52_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cc7b9d6766e93c1f98f78762a79c839c.jpg","text":"TemporaryFile(/tmp/multipartBody6903938130333090481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979685548,"filename":"image_14012025_09_05_58_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/993af85c4ee9a10c7ae1e6524667041d.jpg","text":"TemporaryFile(/tmp/multipartBody3509013328643800994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979685548,"filename":"image_14012025_09_05_49_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329244784","file1":"1329244778","file0":"1329244776","file4":"1329244793","file5":"1329244796","file3":"1329244789"},"map_files_photo_id_array":[{"photo_id":"1329244796","filename":"file5"},{"photo_id":"1329244784","filename":"file2"},{"photo_id":"1329244793","filename":"file4"},{"photo_id":"1329244778","filename":"file1"},{"photo_id":"1329244776","filename":"file0"},{"photo_id":"1329244789","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329244793":["hashtag1","hashtag2"]},{"1329244796":["hashtag1","hashtag2"]},{"1329244784":["hashtag1","hashtag2"]},{"1329244778":["hashtag1","hashtag2"]},{"1329244789":["hashtag1","hashtag2"]},{"1329244776":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329244793, 1329244796, 1329244784, 1329244778, 1329244789, 1329244776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27886176109314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:21:03.014372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_28_2871.jpg', '/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_46_3664.jpg', '/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_55_3797.jpg', '/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_58_2765.jpg', '/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_04_2836.jpg', '/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_07_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_28_2871.jpg
/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_46_3664.jpg
/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_55_3797.jpg
/home/pi/Desktop/images/14012025/09/06/image_14012025_09_06_58_2765.jpg
/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_04_2836.jpg
/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_07_3546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329244985","1329244964","1329245021","1329244904","1329245023","1329244962"],"photo_ids_order":["1329244904","1329244962","1329244964","1329244985","1329245021","1329245023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f9cda368fe3b212c70ad2ef416285d16.jpg","text":"TemporaryFile(/tmp/multipartBody6830544788359304951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979725608,"filename":"image_14012025_09_06_58_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ddd07e89b8023db8601fa1c22cb2e50a.jpg","text":"TemporaryFile(/tmp/multipartBody919838299180071990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979725608,"filename":"image_14012025_09_06_55_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f16d21ff9f92eda0fee035bc01b8e78e.jpg","text":"TemporaryFile(/tmp/multipartBody4103091936921509418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979725608,"filename":"image_14012025_09_07_04_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be034cb78c02b558aa88c38014af029f.jpg","text":"TemporaryFile(/tmp/multipartBody3179720590913677945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979725608,"filename":"image_14012025_09_06_28_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d806f4a08adc224a7db855ac8f435d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4381360780740927201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979725608,"filename":"image_14012025_09_07_07_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a4df540e512c69d258cc7a146300ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4677795586695608540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979725608,"filename":"image_14012025_09_06_46_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329244964","file1":"1329244962","file0":"1329244904","file4":"1329245021","file5":"1329245023","file3":"1329244985"},"map_files_photo_id_array":[{"photo_id":"1329245023","filename":"file5"},{"photo_id":"1329244964","filename":"file2"},{"photo_id":"1329245021","filename":"file4"},{"photo_id":"1329244962","filename":"file1"},{"photo_id":"1329244904","filename":"file0"},{"photo_id":"1329244985","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329244985":["hashtag1","hashtag2"]},{"1329244964":["hashtag1","hashtag2"]},{"1329245021":["hashtag1","hashtag2"]},{"1329244904":["hashtag1","hashtag2"]},{"1329245023":["hashtag1","hashtag2"]},{"1329244962":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329244985, 1329244964, 1329245021, 1329244904, 1329245023, 1329244962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7017080783844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:21:42.297255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_10_2740.jpg', '/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_13_2576.jpg', '/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_16_3561.jpg', '/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_25_3659.jpg', '/home/pi/Desktop/images/14012025/09/08/image_14012025_09_08_28_2767.jpg', '/home/pi/Desktop/images/14012025/09/08/image_14012025_09_08_30_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_10_2740.jpg
/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_13_2576.jpg
/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_16_3561.jpg
/home/pi/Desktop/images/14012025/09/07/image_14012025_09_07_25_3659.jpg
/home/pi/Desktop/images/14012025/09/08/image_14012025_09_08_28_2767.jpg
/home/pi/Desktop/images/14012025/09/08/image_14012025_09_08_30_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245147","1329245105","1329245155","1329245143","1329245152","1329245064"],"photo_ids_order":["1329245064","1329245105","1329245143","1329245147","1329245152","1329245155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4817bda2e4587e24dccdf03c332289eb.jpg","text":"TemporaryFile(/tmp/multipartBody5170234609370953000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979763702,"filename":"image_14012025_09_07_25_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e4bf6efd0fcf2948ed36139dce56bb2f.jpg","text":"TemporaryFile(/tmp/multipartBody2247330089836222744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979763702,"filename":"image_14012025_09_07_13_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/093eda56d06f52554413961f025292cb.jpg","text":"TemporaryFile(/tmp/multipartBody4219365022795059665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979763702,"filename":"image_14012025_09_08_30_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/24c2a8a2e9e15ede108d177e7e9ce66b.jpg","text":"TemporaryFile(/tmp/multipartBody7066002561003750094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979763702,"filename":"image_14012025_09_07_16_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ddb58d4b001f4890705118d0b3653887.jpg","text":"TemporaryFile(/tmp/multipartBody1237134420005035297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979763702,"filename":"image_14012025_09_08_28_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6eebca9092174687fd2d648d67e2a279.jpg","text":"TemporaryFile(/tmp/multipartBody2311119446225498695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979763702,"filename":"image_14012025_09_07_10_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245143","file1":"1329245105","file0":"1329245064","file4":"1329245152","file5":"1329245155","file3":"1329245147"},"map_files_photo_id_array":[{"photo_id":"1329245155","filename":"file5"},{"photo_id":"1329245143","filename":"file2"},{"photo_id":"1329245152","filename":"file4"},{"photo_id":"1329245105","filename":"file1"},{"photo_id":"1329245064","filename":"file0"},{"photo_id":"1329245147","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245147":["hashtag1","hashtag2"]},{"1329245105":["hashtag1","hashtag2"]},{"1329245155":["hashtag1","hashtag2"]},{"1329245143":["hashtag1","hashtag2"]},{"1329245152":["hashtag1","hashtag2"]},{"1329245064":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245147, 1329245105, 1329245155, 1329245143, 1329245152, 1329245064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.951112270355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:22:42.692675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/08/image_14012025_09_08_34_3528.jpg', '/home/pi/Desktop/images/14012025/09/09/image_14012025_09_10_01_3627.jpg', '/home/pi/Desktop/images/14012025/09/10/image_14012025_09_10_04_2698.jpg', '/home/pi/Desktop/images/14012025/09/10/image_14012025_09_10_33_2561.jpg', '/home/pi/Desktop/images/14012025/09/12/image_14012025_09_12_45_2531.jpg', '/home/pi/Desktop/images/14012025/09/14/image_14012025_09_14_24_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/08/image_14012025_09_08_34_3528.jpg
/home/pi/Desktop/images/14012025/09/09/image_14012025_09_10_01_3627.jpg
/home/pi/Desktop/images/14012025/09/10/image_14012025_09_10_04_2698.jpg
/home/pi/Desktop/images/14012025/09/10/image_14012025_09_10_33_2561.jpg
/home/pi/Desktop/images/14012025/09/12/image_14012025_09_12_45_2531.jpg
/home/pi/Desktop/images/14012025/09/14/image_14012025_09_14_24_2618.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.321812391281128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:23:03.557605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/08/image_14012025_09_08_34_3528.jpg', '/home/pi/Desktop/images/14012025/09/09/image_14012025_09_10_01_3627.jpg', '/home/pi/Desktop/images/14012025/09/10/image_14012025_09_10_04_2698.jpg', '/home/pi/Desktop/images/14012025/09/10/image_14012025_09_10_33_2561.jpg', '/home/pi/Desktop/images/14012025/09/12/image_14012025_09_12_45_2531.jpg', '/home/pi/Desktop/images/14012025/09/14/image_14012025_09_14_24_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/08/image_14012025_09_08_34_3528.jpg
/home/pi/Desktop/images/14012025/09/09/image_14012025_09_10_01_3627.jpg
/home/pi/Desktop/images/14012025/09/10/image_14012025_09_10_04_2698.jpg
/home/pi/Desktop/images/14012025/09/10/image_14012025_09_10_33_2561.jpg
/home/pi/Desktop/images/14012025/09/12/image_14012025_09_12_45_2531.jpg
/home/pi/Desktop/images/14012025/09/14/image_14012025_09_14_24_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245252","1329245255","1329245254","1329245245","1329245248","1329245250"],"photo_ids_order":["1329245245","1329245248","1329245250","1329245252","1329245254","1329245255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f7c5ac6f8668064e52a6b6fbecb9115f.jpg","text":"TemporaryFile(/tmp/multipartBody7432808472217039316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979846074,"filename":"image_14012025_09_10_33_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c9d676f4e8c02e6aeae6076874337618.jpg","text":"TemporaryFile(/tmp/multipartBody6180210647709740333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979846074,"filename":"image_14012025_09_14_24_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca4362e436f2a3be8d8b19b6550da7ff.jpg","text":"TemporaryFile(/tmp/multipartBody7404428011193229485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979846074,"filename":"image_14012025_09_12_45_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b6f5ca90f6430424bed53b02e9a82c29.jpg","text":"TemporaryFile(/tmp/multipartBody289564558711122039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979846074,"filename":"image_14012025_09_08_34_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/979390db7a7c1cd79a2be5b6fda33b54.jpg","text":"TemporaryFile(/tmp/multipartBody6537839307493031872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979846074,"filename":"image_14012025_09_10_01_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/162826a07e71a0de237afbc4c9b6697c.jpg","text":"TemporaryFile(/tmp/multipartBody8680869385781424974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979846074,"filename":"image_14012025_09_10_04_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245250","file1":"1329245248","file0":"1329245245","file4":"1329245254","file5":"1329245255","file3":"1329245252"},"map_files_photo_id_array":[{"photo_id":"1329245255","filename":"file5"},{"photo_id":"1329245250","filename":"file2"},{"photo_id":"1329245254","filename":"file4"},{"photo_id":"1329245248","filename":"file1"},{"photo_id":"1329245245","filename":"file0"},{"photo_id":"1329245252","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245252":["hashtag1","hashtag2"]},{"1329245255":["hashtag1","hashtag2"]},{"1329245254":["hashtag1","hashtag2"]},{"1329245245":["hashtag1","hashtag2"]},{"1329245248":["hashtag1","hashtag2"]},{"1329245250":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245252, 1329245255, 1329245254, 1329245245, 1329245248, 1329245250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94348096847534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:24:02.786676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/16/image_14012025_09_16_15_2511.jpg', '/home/pi/Desktop/images/14012025/09/18/image_14012025_09_18_27_3590.jpg', '/home/pi/Desktop/images/14012025/09/21/image_14012025_09_21_02_2752.jpg', '/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_14_2815.jpg', '/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_17_2752.jpg', '/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_21_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/16/image_14012025_09_16_15_2511.jpg
/home/pi/Desktop/images/14012025/09/18/image_14012025_09_18_27_3590.jpg
/home/pi/Desktop/images/14012025/09/21/image_14012025_09_21_02_2752.jpg
/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_14_2815.jpg
/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_17_2752.jpg
/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_21_3733.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.4722321033477783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:24:21.960118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/16/image_14012025_09_16_15_2511.jpg', '/home/pi/Desktop/images/14012025/09/18/image_14012025_09_18_27_3590.jpg', '/home/pi/Desktop/images/14012025/09/21/image_14012025_09_21_02_2752.jpg', '/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_14_2815.jpg', '/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_17_2752.jpg', '/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_21_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/16/image_14012025_09_16_15_2511.jpg
/home/pi/Desktop/images/14012025/09/18/image_14012025_09_18_27_3590.jpg
/home/pi/Desktop/images/14012025/09/21/image_14012025_09_21_02_2752.jpg
/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_14_2815.jpg
/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_17_2752.jpg
/home/pi/Desktop/images/14012025/09/23/image_14012025_09_23_21_3733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245303","1329245295","1329245298","1329245292","1329245301","1329245307"],"photo_ids_order":["1329245292","1329245295","1329245298","1329245301","1329245303","1329245307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b617c4997e4e8c227aafaab1361f7178.jpg","text":"TemporaryFile(/tmp/multipartBody2503195835042440329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979925025,"filename":"image_14012025_09_23_17_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/572d24493b37021d3da8c0ccd1790125.jpg","text":"TemporaryFile(/tmp/multipartBody5507541966613374632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979925025,"filename":"image_14012025_09_18_27_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3bf1bd8e88d6f0fd01b00c760eb75546.jpg","text":"TemporaryFile(/tmp/multipartBody8361080136638445714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979925025,"filename":"image_14012025_09_21_02_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fee5ed49fc60ed4091e4a24cc21f96a2.jpg","text":"TemporaryFile(/tmp/multipartBody2365779502790553509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979925025,"filename":"image_14012025_09_16_15_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab145dd4427a45a3339bf563ff7f1207.jpg","text":"TemporaryFile(/tmp/multipartBody24856914371242727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979925025,"filename":"image_14012025_09_23_14_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e75a13e17bd1726b6306c806ab748f28.jpg","text":"TemporaryFile(/tmp/multipartBody7401884563108811348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979925025,"filename":"image_14012025_09_23_21_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245298","file1":"1329245295","file0":"1329245292","file4":"1329245303","file5":"1329245307","file3":"1329245301"},"map_files_photo_id_array":[{"photo_id":"1329245307","filename":"file5"},{"photo_id":"1329245298","filename":"file2"},{"photo_id":"1329245303","filename":"file4"},{"photo_id":"1329245295","filename":"file1"},{"photo_id":"1329245292","filename":"file0"},{"photo_id":"1329245301","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245303":["hashtag1","hashtag2"]},{"1329245295":["hashtag1","hashtag2"]},{"1329245298":["hashtag1","hashtag2"]},{"1329245292":["hashtag1","hashtag2"]},{"1329245301":["hashtag1","hashtag2"]},{"1329245307":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245303, 1329245295, 1329245298, 1329245292, 1329245301, 1329245307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97165131568909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:25:03.307439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/24/image_14012025_09_24_29_2607.jpg', '/home/pi/Desktop/images/14012025/09/24/image_14012025_09_24_59_2758.jpg', '/home/pi/Desktop/images/14012025/09/25/image_14012025_09_25_02_2673.jpg', '/home/pi/Desktop/images/14012025/09/25/image_14012025_09_25_05_3637.jpg', '/home/pi/Desktop/images/14012025/09/25/image_14012025_09_25_08_2686.jpg', '/home/pi/Desktop/images/14012025/09/25/image_14012025_09_25_11_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/24/image_14012025_09_24_29_2607.jpg
/home/pi/Desktop/images/14012025/09/24/image_14012025_09_24_59_2758.jpg
/home/pi/Desktop/images/14012025/09/25/image_14012025_09_25_02_2673.jpg
/home/pi/Desktop/images/14012025/09/25/image_14012025_09_25_05_3637.jpg
/home/pi/Desktop/images/14012025/09/25/image_14012025_09_25_08_2686.jpg
/home/pi/Desktop/images/14012025/09/25/image_14012025_09_25_11_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245330","1329245323","1329245317","1329245314","1329245340","1329245343"],"photo_ids_order":["1329245314","1329245317","1329245323","1329245330","1329245340","1329245343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1e8ad7322b641d6b3ee400b92f332e01.jpg","text":"TemporaryFile(/tmp/multipartBody7102202405568950898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979965833,"filename":"image_14012025_09_25_05_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/797a3f39cb1e680972abbd688d0803d0.jpg","text":"TemporaryFile(/tmp/multipartBody6220347918713848424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979965833,"filename":"image_14012025_09_25_02_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87c2f88a3a163dba0e4fa79971b1a1d1.jpg","text":"TemporaryFile(/tmp/multipartBody4139501980777568384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979965833,"filename":"image_14012025_09_24_59_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/65a55e0eafc408fe4dc5391eadfce69b.jpg","text":"TemporaryFile(/tmp/multipartBody7334801157563669229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979965833,"filename":"image_14012025_09_24_29_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de3ef49e7576cef082b8873bfdaf9987.jpg","text":"TemporaryFile(/tmp/multipartBody7556034585204522758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979965833,"filename":"image_14012025_09_25_08_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/49b482a09e7fa206b48b65582bbce57f.jpg","text":"TemporaryFile(/tmp/multipartBody5452996455994742581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736979965833,"filename":"image_14012025_09_25_11_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245323","file1":"1329245317","file0":"1329245314","file4":"1329245340","file5":"1329245343","file3":"1329245330"},"map_files_photo_id_array":[{"photo_id":"1329245343","filename":"file5"},{"photo_id":"1329245323","filename":"file2"},{"photo_id":"1329245340","filename":"file4"},{"photo_id":"1329245317","filename":"file1"},{"photo_id":"1329245314","filename":"file0"},{"photo_id":"1329245330","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245330":["hashtag1","hashtag2"]},{"1329245323":["hashtag1","hashtag2"]},{"1329245317":["hashtag1","hashtag2"]},{"1329245314":["hashtag1","hashtag2"]},{"1329245340":["hashtag1","hashtag2"]},{"1329245343":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245330, 1329245323, 1329245317, 1329245314, 1329245340, 1329245343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.968098878860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:25:42.543944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/28/image_14012025_09_28_08_2667.jpg', '/home/pi/Desktop/images/14012025/09/28/image_14012025_09_28_11_3627.jpg', '/home/pi/Desktop/images/14012025/09/28/image_14012025_09_28_14_2599.jpg', '/home/pi/Desktop/images/14012025/09/28/image_14012025_09_28_16_2636.jpg', '/home/pi/Desktop/images/14012025/09/30/image_14012025_09_30_59_3693.jpg', '/home/pi/Desktop/images/14012025/09/31/image_14012025_09_31_02_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/28/image_14012025_09_28_08_2667.jpg
/home/pi/Desktop/images/14012025/09/28/image_14012025_09_28_11_3627.jpg
/home/pi/Desktop/images/14012025/09/28/image_14012025_09_28_14_2599.jpg
/home/pi/Desktop/images/14012025/09/28/image_14012025_09_28_16_2636.jpg
/home/pi/Desktop/images/14012025/09/30/image_14012025_09_30_59_3693.jpg
/home/pi/Desktop/images/14012025/09/31/image_14012025_09_31_02_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245365","1329245362","1329245359","1329245370","1329245373","1329245367"],"photo_ids_order":["1329245359","1329245362","1329245365","1329245367","1329245370","1329245373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a4ea21344bf08e66dcb67e357c84dfe4.jpg","text":"TemporaryFile(/tmp/multipartBody1292965368476682601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980003922,"filename":"image_14012025_09_28_14_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06c259d353193d51266f409427f004fe.jpg","text":"TemporaryFile(/tmp/multipartBody1682012596694926617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980003922,"filename":"image_14012025_09_28_11_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/34aa88c78cdf20219202c73623b2d94a.jpg","text":"TemporaryFile(/tmp/multipartBody6669377445416288886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980003922,"filename":"image_14012025_09_28_08_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/840a10ed604719dbd0826e098e822722.jpg","text":"TemporaryFile(/tmp/multipartBody105246206473225141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980003922,"filename":"image_14012025_09_30_59_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8f66cbc67d1a0935a03c00b55a00a0fa.jpg","text":"TemporaryFile(/tmp/multipartBody5338047505299195192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980003922,"filename":"image_14012025_09_31_02_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8464f635996e4458e55d2c18e539ae0c.jpg","text":"TemporaryFile(/tmp/multipartBody6209055151157357756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980003922,"filename":"image_14012025_09_28_16_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245365","file1":"1329245362","file0":"1329245359","file4":"1329245370","file5":"1329245373","file3":"1329245367"},"map_files_photo_id_array":[{"photo_id":"1329245373","filename":"file5"},{"photo_id":"1329245365","filename":"file2"},{"photo_id":"1329245370","filename":"file4"},{"photo_id":"1329245362","filename":"file1"},{"photo_id":"1329245359","filename":"file0"},{"photo_id":"1329245367","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245365":["hashtag1","hashtag2"]},{"1329245362":["hashtag1","hashtag2"]},{"1329245359":["hashtag1","hashtag2"]},{"1329245370":["hashtag1","hashtag2"]},{"1329245373":["hashtag1","hashtag2"]},{"1329245367":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245365, 1329245362, 1329245359, 1329245370, 1329245373, 1329245367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93609094619751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:26:22.040460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/31/image_14012025_09_31_08_3630.jpg', '/home/pi/Desktop/images/14012025/09/31/image_14012025_09_31_52_2712.jpg', '/home/pi/Desktop/images/14012025/09/31/image_14012025_09_31_59_2841.jpg', '/home/pi/Desktop/images/14012025/09/32/image_14012025_09_32_19_2615.jpg', '/home/pi/Desktop/images/14012025/09/33/image_14012025_09_33_26_3623.jpg', '/home/pi/Desktop/images/14012025/09/33/image_14012025_09_33_37_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/31/image_14012025_09_31_08_3630.jpg
/home/pi/Desktop/images/14012025/09/31/image_14012025_09_31_52_2712.jpg
/home/pi/Desktop/images/14012025/09/31/image_14012025_09_31_59_2841.jpg
/home/pi/Desktop/images/14012025/09/32/image_14012025_09_32_19_2615.jpg
/home/pi/Desktop/images/14012025/09/33/image_14012025_09_33_26_3623.jpg
/home/pi/Desktop/images/14012025/09/33/image_14012025_09_33_37_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245423","1329245420","1329245416","1329245425","1329245415","1329245418"],"photo_ids_order":["1329245415","1329245416","1329245418","1329245420","1329245423","1329245425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/afa6466b46dac5228cfa51e6f6ffb5d7.jpg","text":"TemporaryFile(/tmp/multipartBody8187738114270259431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980045244,"filename":"image_14012025_09_33_26_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1962fafaf2c3ca11eb13ff725d532228.jpg","text":"TemporaryFile(/tmp/multipartBody1691717466914404476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980045244,"filename":"image_14012025_09_32_19_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f254a6b0eb1741122e0a628101f6acf.jpg","text":"TemporaryFile(/tmp/multipartBody2705463321919400497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980045244,"filename":"image_14012025_09_31_52_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/31c242d47e3e2b1fe38af6365176039d.jpg","text":"TemporaryFile(/tmp/multipartBody5527288925504149579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980045244,"filename":"image_14012025_09_33_37_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8d70025f0416e66d4831eab56d629321.jpg","text":"TemporaryFile(/tmp/multipartBody1071941089312580952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980045244,"filename":"image_14012025_09_31_08_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/001468be9d0d65e14492b0799c581684.jpg","text":"TemporaryFile(/tmp/multipartBody3920606077852451868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980045244,"filename":"image_14012025_09_31_59_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245418","file1":"1329245416","file0":"1329245415","file4":"1329245423","file5":"1329245425","file3":"1329245420"},"map_files_photo_id_array":[{"photo_id":"1329245425","filename":"file5"},{"photo_id":"1329245418","filename":"file2"},{"photo_id":"1329245423","filename":"file4"},{"photo_id":"1329245416","filename":"file1"},{"photo_id":"1329245415","filename":"file0"},{"photo_id":"1329245420","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245423":["hashtag1","hashtag2"]},{"1329245420":["hashtag1","hashtag2"]},{"1329245416":["hashtag1","hashtag2"]},{"1329245425":["hashtag1","hashtag2"]},{"1329245415":["hashtag1","hashtag2"]},{"1329245418":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245423, 1329245420, 1329245416, 1329245425, 1329245415, 1329245418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06876230239868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:27:02.658860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/33/image_14012025_09_33_58_2728.jpg', '/home/pi/Desktop/images/14012025/09/35/image_14012025_09_35_10_2829.jpg', '/home/pi/Desktop/images/14012025/09/35/image_14012025_09_36_01_3689.jpg', '/home/pi/Desktop/images/14012025/09/36/image_14012025_09_36_37_2666.jpg', '/home/pi/Desktop/images/14012025/09/37/image_14012025_09_37_22_3558.jpg', '/home/pi/Desktop/images/14012025/09/37/image_14012025_09_37_36_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/33/image_14012025_09_33_58_2728.jpg
/home/pi/Desktop/images/14012025/09/35/image_14012025_09_35_10_2829.jpg
/home/pi/Desktop/images/14012025/09/35/image_14012025_09_36_01_3689.jpg
/home/pi/Desktop/images/14012025/09/36/image_14012025_09_36_37_2666.jpg
/home/pi/Desktop/images/14012025/09/37/image_14012025_09_37_22_3558.jpg
/home/pi/Desktop/images/14012025/09/37/image_14012025_09_37_36_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245459","1329245453","1329245455","1329245457","1329245445","1329245442"],"photo_ids_order":["1329245442","1329245445","1329245453","1329245455","1329245457","1329245459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ed28c5eaa21444e0f4bd36209356fb63.jpg","text":"TemporaryFile(/tmp/multipartBody5515953024852647422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980085234,"filename":"image_14012025_09_37_36_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e7a382966fac2010d7d838e1d5b78344.jpg","text":"TemporaryFile(/tmp/multipartBody6203451097787409375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980085234,"filename":"image_14012025_09_36_01_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fa1b32526d662d46849a1a539f5953e6.jpg","text":"TemporaryFile(/tmp/multipartBody8538125877889513659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980085234,"filename":"image_14012025_09_36_37_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b07b9539219803c60419f2adfff9ea70.jpg","text":"TemporaryFile(/tmp/multipartBody8461672417298635686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980085234,"filename":"image_14012025_09_37_22_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/882096ce5a90e6f6584bf5bd3bb5dc1d.jpg","text":"TemporaryFile(/tmp/multipartBody5646206420683366445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980085234,"filename":"image_14012025_09_35_10_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4d3d9b3e3fa85c82c412a2fffee5eb58.jpg","text":"TemporaryFile(/tmp/multipartBody2132586654500991513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980085234,"filename":"image_14012025_09_33_58_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245453","file1":"1329245445","file0":"1329245442","file4":"1329245457","file5":"1329245459","file3":"1329245455"},"map_files_photo_id_array":[{"photo_id":"1329245459","filename":"file5"},{"photo_id":"1329245453","filename":"file2"},{"photo_id":"1329245457","filename":"file4"},{"photo_id":"1329245445","filename":"file1"},{"photo_id":"1329245442","filename":"file0"},{"photo_id":"1329245455","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245459":["hashtag1","hashtag2"]},{"1329245453":["hashtag1","hashtag2"]},{"1329245455":["hashtag1","hashtag2"]},{"1329245457":["hashtag1","hashtag2"]},{"1329245445":["hashtag1","hashtag2"]},{"1329245442":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245459, 1329245453, 1329245455, 1329245457, 1329245445, 1329245442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.002052783966064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:27:41.925184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/38/image_14012025_09_38_52_2684.jpg', '/home/pi/Desktop/images/14012025/09/40/image_14012025_09_40_19_3716.jpg', '/home/pi/Desktop/images/14012025/09/42/image_14012025_09_42_13_2805.jpg', '/home/pi/Desktop/images/14012025/09/48/image_14012025_09_48_42_2654.jpg', '/home/pi/Desktop/images/14012025/09/49/image_14012025_09_49_27_3613.jpg', '/home/pi/Desktop/images/14012025/09/50/image_14012025_09_50_07_3880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/38/image_14012025_09_38_52_2684.jpg
/home/pi/Desktop/images/14012025/09/40/image_14012025_09_40_19_3716.jpg
/home/pi/Desktop/images/14012025/09/42/image_14012025_09_42_13_2805.jpg
/home/pi/Desktop/images/14012025/09/48/image_14012025_09_48_42_2654.jpg
/home/pi/Desktop/images/14012025/09/49/image_14012025_09_49_27_3613.jpg
/home/pi/Desktop/images/14012025/09/50/image_14012025_09_50_07_3880.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245482","1329245478","1329245469","1329245498","1329245474","1329245462"],"photo_ids_order":["1329245462","1329245469","1329245474","1329245478","1329245482","1329245498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f51df8b33aff8d8087480f24d74bc21b.jpg","text":"TemporaryFile(/tmp/multipartBody2956665807956621715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980123347,"filename":"image_14012025_09_49_27_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/adefec0cc8ae870985c397253a4a8e0e.jpg","text":"TemporaryFile(/tmp/multipartBody4028560867825463241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980123347,"filename":"image_14012025_09_48_42_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/442ea220d1a1040ec59266eda5dc6e25.jpg","text":"TemporaryFile(/tmp/multipartBody4988028435953296081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980123347,"filename":"image_14012025_09_40_19_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3350814c245cdf85247896b38d2a0f91.jpg","text":"TemporaryFile(/tmp/multipartBody5123764623404092978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980123347,"filename":"image_14012025_09_50_07_3880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c7468c4d8e05cfde4298391beac38117.jpg","text":"TemporaryFile(/tmp/multipartBody8878890722358766046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980123347,"filename":"image_14012025_09_42_13_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/25715ab79391bf2bb5ab727864452c0a.jpg","text":"TemporaryFile(/tmp/multipartBody992380128182408545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980123347,"filename":"image_14012025_09_38_52_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245474","file1":"1329245469","file0":"1329245462","file4":"1329245482","file5":"1329245498","file3":"1329245478"},"map_files_photo_id_array":[{"photo_id":"1329245498","filename":"file5"},{"photo_id":"1329245474","filename":"file2"},{"photo_id":"1329245482","filename":"file4"},{"photo_id":"1329245469","filename":"file1"},{"photo_id":"1329245462","filename":"file0"},{"photo_id":"1329245478","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245482":["hashtag1","hashtag2"]},{"1329245478":["hashtag1","hashtag2"]},{"1329245469":["hashtag1","hashtag2"]},{"1329245498":["hashtag1","hashtag2"]},{"1329245474":["hashtag1","hashtag2"]},{"1329245462":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245482, 1329245478, 1329245469, 1329245498, 1329245474, 1329245462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02937984466553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:28:22.396304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/53/image_14012025_09_53_06_3637.jpg', '/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_20_2728.jpg', '/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_23_3205.jpg', '/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_27_3653.jpg', '/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_29_2731.jpg', '/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_35_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/53/image_14012025_09_53_06_3637.jpg
/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_20_2728.jpg
/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_23_3205.jpg
/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_27_3653.jpg
/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_29_2731.jpg
/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_35_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245531","1329245577","1329245607","1329245529","1329245579","1329245604"],"photo_ids_order":["1329245529","1329245531","1329245577","1329245579","1329245604","1329245607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/beced7229ebbdc2fd7331a7048b31891.jpg","text":"TemporaryFile(/tmp/multipartBody1094755450708620882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980165643,"filename":"image_14012025_09_55_20_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5f1a1fdd918f09ae25d34df46a5be08a.jpg","text":"TemporaryFile(/tmp/multipartBody5938978706929463720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980165643,"filename":"image_14012025_09_55_23_3205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d584d9cfba9f08f7f47347378ada81e4.jpg","text":"TemporaryFile(/tmp/multipartBody7053849912039347831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980165643,"filename":"image_14012025_09_55_35_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9741efddf99b3f3c29ccffdbb631e58f.jpg","text":"TemporaryFile(/tmp/multipartBody8219224739417194043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980165643,"filename":"image_14012025_09_53_06_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bd4c7047ddc3bfe9b9c22121a42256a6.jpg","text":"TemporaryFile(/tmp/multipartBody7892196213822887725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980165643,"filename":"image_14012025_09_55_27_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eb49b96255b421670f5158a60ca44de7.jpg","text":"TemporaryFile(/tmp/multipartBody6789642624727063079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980165643,"filename":"image_14012025_09_55_29_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245577","file1":"1329245531","file0":"1329245529","file4":"1329245604","file5":"1329245607","file3":"1329245579"},"map_files_photo_id_array":[{"photo_id":"1329245607","filename":"file5"},{"photo_id":"1329245577","filename":"file2"},{"photo_id":"1329245604","filename":"file4"},{"photo_id":"1329245531","filename":"file1"},{"photo_id":"1329245529","filename":"file0"},{"photo_id":"1329245579","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245531":["hashtag1","hashtag2"]},{"1329245577":["hashtag1","hashtag2"]},{"1329245607":["hashtag1","hashtag2"]},{"1329245529":["hashtag1","hashtag2"]},{"1329245579":["hashtag1","hashtag2"]},{"1329245604":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245531, 1329245577, 1329245607, 1329245529, 1329245579, 1329245604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.556981563568115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:29:03.073377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_39_3760.jpg', '/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_44_2566.jpg', '/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_53_2839.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_11_2803.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_14_2759.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_17_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_39_3760.jpg
/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_44_2566.jpg
/home/pi/Desktop/images/14012025/09/55/image_14012025_09_55_53_2839.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_11_2803.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_14_2759.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_17_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329245639","1329245950","1329245632","1329245626","1329245750","1329245831"],"photo_ids_order":["1329245626","1329245632","1329245639","1329245750","1329245831","1329245950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/562e6eb529f02d4c83740f288c720c5b.jpg","text":"TemporaryFile(/tmp/multipartBody4837434361289665211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980205849,"filename":"image_14012025_09_55_53_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d99fbe2ed0a9ba1cdb5775f7ae87d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody5896866497350854037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980205849,"filename":"image_14012025_09_57_17_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0fdf67522f088d75a6009aff8b4891f2.jpg","text":"TemporaryFile(/tmp/multipartBody5277070630816446251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980205849,"filename":"image_14012025_09_55_44_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/96d3b0ed1ae3581967d44c724e4c5325.jpg","text":"TemporaryFile(/tmp/multipartBody7086346210671439376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980205849,"filename":"image_14012025_09_55_39_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d662b00ffa21064b6e64c6e6341ca67f.jpg","text":"TemporaryFile(/tmp/multipartBody5310535128599736700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980205849,"filename":"image_14012025_09_57_11_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/35cce1f9bc5e2d6fc19c4798d66f6da8.jpg","text":"TemporaryFile(/tmp/multipartBody4894117734796513252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980205849,"filename":"image_14012025_09_57_14_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329245639","file1":"1329245632","file0":"1329245626","file4":"1329245831","file5":"1329245950","file3":"1329245750"},"map_files_photo_id_array":[{"photo_id":"1329245950","filename":"file5"},{"photo_id":"1329245639","filename":"file2"},{"photo_id":"1329245831","filename":"file4"},{"photo_id":"1329245632","filename":"file1"},{"photo_id":"1329245626","filename":"file0"},{"photo_id":"1329245750","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329245639":["hashtag1","hashtag2"]},{"1329245950":["hashtag1","hashtag2"]},{"1329245632":["hashtag1","hashtag2"]},{"1329245626":["hashtag1","hashtag2"]},{"1329245750":["hashtag1","hashtag2"]},{"1329245831":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329245639, 1329245950, 1329245632, 1329245626, 1329245750, 1329245831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95996570587158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:29:42.052343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_20_2639.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_23_3559.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_26_2660.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_29_2705.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_32_3599.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_35_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_20_2639.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_23_3559.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_26_2660.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_29_2705.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_32_3599.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_35_2594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329246597","1329246421","1329246601","1329246354","1329246581","1329246599"],"photo_ids_order":["1329246354","1329246421","1329246581","1329246597","1329246599","1329246601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5882908bcbcf5e4587febb160cbfaf2a.jpg","text":"TemporaryFile(/tmp/multipartBody6912756252569655013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980243488,"filename":"image_14012025_09_57_29_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4274849894d233ac774549c06a0b20e2.jpg","text":"TemporaryFile(/tmp/multipartBody6303078895364699510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980243488,"filename":"image_14012025_09_57_23_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3ecb379872e1fa336dc9f4313c39ad89.jpg","text":"TemporaryFile(/tmp/multipartBody7634019122608440172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980243488,"filename":"image_14012025_09_57_35_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6bc5b7eab92a77870c9e3e5a9bf5c49f.jpg","text":"TemporaryFile(/tmp/multipartBody3864706803705460771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980243488,"filename":"image_14012025_09_57_20_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/df417428d84c46376b1711371d9fad0d.jpg","text":"TemporaryFile(/tmp/multipartBody8090094759657656555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980243488,"filename":"image_14012025_09_57_26_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5b9105e49a1a83ca867a90c7a71dd2db.jpg","text":"TemporaryFile(/tmp/multipartBody6321311965548528007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980243488,"filename":"image_14012025_09_57_32_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329246581","file1":"1329246421","file0":"1329246354","file4":"1329246599","file5":"1329246601","file3":"1329246597"},"map_files_photo_id_array":[{"photo_id":"1329246601","filename":"file5"},{"photo_id":"1329246581","filename":"file2"},{"photo_id":"1329246599","filename":"file4"},{"photo_id":"1329246421","filename":"file1"},{"photo_id":"1329246354","filename":"file0"},{"photo_id":"1329246597","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329246597":["hashtag1","hashtag2"]},{"1329246421":["hashtag1","hashtag2"]},{"1329246601":["hashtag1","hashtag2"]},{"1329246354":["hashtag1","hashtag2"]},{"1329246581":["hashtag1","hashtag2"]},{"1329246599":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329246597, 1329246421, 1329246601, 1329246354, 1329246581, 1329246599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69404482841492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:30:21.993264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_38_2684.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_41_3706.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_44_2655.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_50_3739.jpg', '/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_59_3658.jpg', '/home/pi/Desktop/images/14012025/09/58/image_14012025_09_58_16_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_38_2684.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_41_3706.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_44_2655.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_50_3739.jpg
/home/pi/Desktop/images/14012025/09/57/image_14012025_09_57_59_3658.jpg
/home/pi/Desktop/images/14012025/09/58/image_14012025_09_58_16_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329246858","1329246729","1329246971","1329246926","1329246905","1329246821"],"photo_ids_order":["1329246729","1329246821","1329246858","1329246905","1329246926","1329246971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b6cf7072e252b0994b6f401777c3c6d5.jpg","text":"TemporaryFile(/tmp/multipartBody2886914772249216118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980285262,"filename":"image_14012025_09_57_44_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6eeb7daced4c706c69b09ced79e84aa2.jpg","text":"TemporaryFile(/tmp/multipartBody6545445921543815185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980285262,"filename":"image_14012025_09_57_38_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f50b81adf4af1e4382cc35e9778f44a.jpg","text":"TemporaryFile(/tmp/multipartBody570455740712684997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980285262,"filename":"image_14012025_09_58_16_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7a2736cf97fedcbfbe33457d71c46c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8090217134901485904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980285262,"filename":"image_14012025_09_57_59_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/634ffe93e0d66c9abe356dcd8488ea98.jpg","text":"TemporaryFile(/tmp/multipartBody2630965581725473203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980285262,"filename":"image_14012025_09_57_50_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/89c4ed40acfc26450732ab85bbb2bdfb.jpg","text":"TemporaryFile(/tmp/multipartBody8961965932443260584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980285262,"filename":"image_14012025_09_57_41_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329246858","file1":"1329246821","file0":"1329246729","file4":"1329246926","file5":"1329246971","file3":"1329246905"},"map_files_photo_id_array":[{"photo_id":"1329246971","filename":"file5"},{"photo_id":"1329246858","filename":"file2"},{"photo_id":"1329246926","filename":"file4"},{"photo_id":"1329246821","filename":"file1"},{"photo_id":"1329246729","filename":"file0"},{"photo_id":"1329246905","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329246858":["hashtag1","hashtag2"]},{"1329246729":["hashtag1","hashtag2"]},{"1329246971":["hashtag1","hashtag2"]},{"1329246926":["hashtag1","hashtag2"]},{"1329246905":["hashtag1","hashtag2"]},{"1329246821":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329246858, 1329246729, 1329246971, 1329246926, 1329246905, 1329246821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.781078815460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:31:03.368971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/09/58/image_14012025_09_58_26_2893.jpg', '/home/pi/Desktop/images/14012025/09/58/image_14012025_09_58_32_2747.jpg', '/home/pi/Desktop/images/14012025/09/59/image_14012025_09_59_05_2777.jpg', '/home/pi/Desktop/images/14012025/09/59/image_14012025_09_59_38_2745.jpg', '/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_09_3012.jpg', '/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_12_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/09/58/image_14012025_09_58_26_2893.jpg
/home/pi/Desktop/images/14012025/09/58/image_14012025_09_58_32_2747.jpg
/home/pi/Desktop/images/14012025/09/59/image_14012025_09_59_05_2777.jpg
/home/pi/Desktop/images/14012025/09/59/image_14012025_09_59_38_2745.jpg
/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_09_3012.jpg
/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_12_3631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329247762","1329247377","1329247557","1329247475","1329247661","1329247319"],"photo_ids_order":["1329247319","1329247377","1329247475","1329247557","1329247661","1329247762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5800fa5d7189e958df67def3e9210536.jpg","text":"TemporaryFile(/tmp/multipartBody5038198995718253078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980326012,"filename":"image_14012025_10_00_12_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/71a18cf72c038cb7a669f1f17b8e900b.jpg","text":"TemporaryFile(/tmp/multipartBody5507720678894159150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980326012,"filename":"image_14012025_09_58_32_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/57119985e961174f147b684db772d289.jpg","text":"TemporaryFile(/tmp/multipartBody813802202737745063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980326012,"filename":"image_14012025_09_59_38_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/eccf4528c5c6d3e24477ec2e3f5dad60.jpg","text":"TemporaryFile(/tmp/multipartBody5562275381371844881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980326012,"filename":"image_14012025_09_59_05_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c3f7afa4e71f4f667225cde7e3a87ea.jpg","text":"TemporaryFile(/tmp/multipartBody6040483841961350247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980326012,"filename":"image_14012025_10_00_09_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e2793b0875b9aa70bde8867e8bdda07c.jpg","text":"TemporaryFile(/tmp/multipartBody8197768754740725754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980326012,"filename":"image_14012025_09_58_26_2893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329247475","file1":"1329247377","file0":"1329247319","file4":"1329247661","file5":"1329247762","file3":"1329247557"},"map_files_photo_id_array":[{"photo_id":"1329247762","filename":"file5"},{"photo_id":"1329247475","filename":"file2"},{"photo_id":"1329247661","filename":"file4"},{"photo_id":"1329247377","filename":"file1"},{"photo_id":"1329247319","filename":"file0"},{"photo_id":"1329247557","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329247762":["hashtag1","hashtag2"]},{"1329247377":["hashtag1","hashtag2"]},{"1329247557":["hashtag1","hashtag2"]},{"1329247475":["hashtag1","hashtag2"]},{"1329247661":["hashtag1","hashtag2"]},{"1329247319":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329247762, 1329247377, 1329247557, 1329247475, 1329247661, 1329247319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.925073862075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:32:02.795869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_21_2687.jpg', '/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_27_2820.jpg', '/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_34_3723.jpg', '/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_36_2707.jpg', '/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_45_2697.jpg', '/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_12_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_21_2687.jpg
/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_27_2820.jpg
/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_34_3723.jpg
/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_36_2707.jpg
/home/pi/Desktop/images/14012025/10/00/image_14012025_10_00_45_2697.jpg
/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_12_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329248354","1329248336","1329248356","1329248359","1329248350","1329248344"],"photo_ids_order":["1329248336","1329248344","1329248350","1329248354","1329248356","1329248359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/554b54861c57b97b182cda36ee03bdb4.jpg","text":"TemporaryFile(/tmp/multipartBody3398611024003767385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980385327,"filename":"image_14012025_10_00_36_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f442af73450afeae073e863f5775050b.jpg","text":"TemporaryFile(/tmp/multipartBody4780037230312975690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980385327,"filename":"image_14012025_10_00_21_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/803aabd344c20c1c21144aa564f3102b.jpg","text":"TemporaryFile(/tmp/multipartBody559535941233569116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980385327,"filename":"image_14012025_10_00_45_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/33d46b905e773f58d15a573568bb2c12.jpg","text":"TemporaryFile(/tmp/multipartBody8595692900152949429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980385327,"filename":"image_14012025_10_01_12_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a844bbb81057e6cff0c24ba60f04a996.jpg","text":"TemporaryFile(/tmp/multipartBody2611611655100415573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980385327,"filename":"image_14012025_10_00_34_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/744cd513e6568b1fafe62cc3277a23f0.jpg","text":"TemporaryFile(/tmp/multipartBody157969761708346529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980385327,"filename":"image_14012025_10_00_27_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329248350","file1":"1329248344","file0":"1329248336","file4":"1329248356","file5":"1329248359","file3":"1329248354"},"map_files_photo_id_array":[{"photo_id":"1329248359","filename":"file5"},{"photo_id":"1329248350","filename":"file2"},{"photo_id":"1329248356","filename":"file4"},{"photo_id":"1329248344","filename":"file1"},{"photo_id":"1329248336","filename":"file0"},{"photo_id":"1329248354","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329248354":["hashtag1","hashtag2"]},{"1329248336":["hashtag1","hashtag2"]},{"1329248356":["hashtag1","hashtag2"]},{"1329248359":["hashtag1","hashtag2"]},{"1329248350":["hashtag1","hashtag2"]},{"1329248344":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329248354, 1329248336, 1329248356, 1329248359, 1329248350, 1329248344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1512131690979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:33:03.087342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_21_2652.jpg', '/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_24_2582.jpg', '/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_27_3618.jpg', '/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_30_2600.jpg', '/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_33_2833.jpg', '/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_39_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_21_2652.jpg
/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_24_2582.jpg
/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_27_3618.jpg
/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_30_2600.jpg
/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_33_2833.jpg
/home/pi/Desktop/images/14012025/10/01/image_14012025_10_01_39_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329248506","1329248571","1329248433","1329248616","1329248644","1329248614"],"photo_ids_order":["1329248433","1329248506","1329248571","1329248614","1329248616","1329248644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b55f2aa2715d653f763295f6ce5038a2.jpg","text":"TemporaryFile(/tmp/multipartBody4487865416320800714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980445702,"filename":"image_14012025_10_01_24_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a77024364cb1a2e8305fc97ae7a647ac.jpg","text":"TemporaryFile(/tmp/multipartBody1513694882643785527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980445702,"filename":"image_14012025_10_01_27_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/55a5187a416929256866469e94123e54.jpg","text":"TemporaryFile(/tmp/multipartBody1212712216658849678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980445702,"filename":"image_14012025_10_01_21_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bce35f2e437385aca638de71ba600e25.jpg","text":"TemporaryFile(/tmp/multipartBody8242054648394826483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980445702,"filename":"image_14012025_10_01_33_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2e6948ddd4625f7c28d7463dac79f86f.jpg","text":"TemporaryFile(/tmp/multipartBody3700089190980995395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980445702,"filename":"image_14012025_10_01_39_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40c9a02275967953658196cf79212ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8091908332047840467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980445702,"filename":"image_14012025_10_01_30_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329248571","file1":"1329248506","file0":"1329248433","file4":"1329248616","file5":"1329248644","file3":"1329248614"},"map_files_photo_id_array":[{"photo_id":"1329248644","filename":"file5"},{"photo_id":"1329248571","filename":"file2"},{"photo_id":"1329248616","filename":"file4"},{"photo_id":"1329248506","filename":"file1"},{"photo_id":"1329248433","filename":"file0"},{"photo_id":"1329248614","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329248506":["hashtag1","hashtag2"]},{"1329248571":["hashtag1","hashtag2"]},{"1329248433":["hashtag1","hashtag2"]},{"1329248616":["hashtag1","hashtag2"]},{"1329248644":["hashtag1","hashtag2"]},{"1329248614":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329248506, 1329248571, 1329248433, 1329248616, 1329248644, 1329248614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74451160430908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:33:42.468488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
  port_id : 19643171
  datou_current_id : 2486238
in upload_from_sqlite, uploading in 19643171
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15012025/23/05/image_15012025_23_05_15_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2486238&datou=0
/home/pi/Desktop/images/15012025/23/05/image_15012025_23_05_15_2678.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329248653"],"photo_id":"1329248653","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/470da888d818bcb570821d29fccfaad7.jpg","text":"TemporaryFile(/tmp/multipartBody8025364644061562615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980483024,"filename":"image_15012025_23_05_15_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1329248653"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1329248653"}],"hashtags":[],"portfolio_id":"19643171","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.077869653701782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:34:03.104665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_12_2705.jpg', '/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_24_2720.jpg', '/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_27_3622.jpg', '/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_30_2652.jpg', '/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_33_2739.jpg', '/home/pi/Desktop/images/14012025/10/06/image_14012025_10_06_53_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_12_2705.jpg
/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_24_2720.jpg
/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_27_3622.jpg
/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_30_2652.jpg
/home/pi/Desktop/images/14012025/10/02/image_14012025_10_02_33_2739.jpg
/home/pi/Desktop/images/14012025/10/06/image_14012025_10_06_53_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329248667","1329248670","1329248897","1329248762","1329248821","1329248691"],"photo_ids_order":["1329248667","1329248670","1329248691","1329248762","1329248821","1329248897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/89daa49d406406475b37208ead4bb3b8.jpg","text":"TemporaryFile(/tmp/multipartBody3980875630541284687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980505653,"filename":"image_14012025_10_02_12_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0316e00239826f7eb3b98776938a2d71.jpg","text":"TemporaryFile(/tmp/multipartBody6169653412626596616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980505653,"filename":"image_14012025_10_02_24_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06d347b58b2bf8e1beb306e8a6acd341.jpg","text":"TemporaryFile(/tmp/multipartBody8027402920200427937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980505653,"filename":"image_14012025_10_06_53_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/146c92308f65d2f043eb9afa477089a2.jpg","text":"TemporaryFile(/tmp/multipartBody4259950340162563852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980505653,"filename":"image_14012025_10_02_30_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a8fd4e0a38998059050f97761a42b0c.jpg","text":"TemporaryFile(/tmp/multipartBody2973977625511492000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980505653,"filename":"image_14012025_10_02_33_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c337567be74edbba562c222264f7f63c.jpg","text":"TemporaryFile(/tmp/multipartBody2598806870926902999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980505653,"filename":"image_14012025_10_02_27_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329248691","file1":"1329248670","file0":"1329248667","file4":"1329248821","file5":"1329248897","file3":"1329248762"},"map_files_photo_id_array":[{"photo_id":"1329248897","filename":"file5"},{"photo_id":"1329248691","filename":"file2"},{"photo_id":"1329248821","filename":"file4"},{"photo_id":"1329248670","filename":"file1"},{"photo_id":"1329248667","filename":"file0"},{"photo_id":"1329248762","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329248667":["hashtag1","hashtag2"]},{"1329248670":["hashtag1","hashtag2"]},{"1329248897":["hashtag1","hashtag2"]},{"1329248762":["hashtag1","hashtag2"]},{"1329248821":["hashtag1","hashtag2"]},{"1329248691":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329248667, 1329248670, 1329248897, 1329248762, 1329248821, 1329248691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70334506034851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:34:42.356729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/07/image_14012025_10_07_46_2643.jpg', '/home/pi/Desktop/images/14012025/10/09/image_14012025_10_09_34_2731.jpg', '/home/pi/Desktop/images/14012025/10/09/image_14012025_10_09_40_2669.jpg', '/home/pi/Desktop/images/14012025/10/11/image_14012025_10_11_28_3723.jpg', '/home/pi/Desktop/images/14012025/10/13/image_14012025_10_13_33_2556.jpg', '/home/pi/Desktop/images/14012025/10/16/image_14012025_10_16_46_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/07/image_14012025_10_07_46_2643.jpg
/home/pi/Desktop/images/14012025/10/09/image_14012025_10_09_34_2731.jpg
/home/pi/Desktop/images/14012025/10/09/image_14012025_10_09_40_2669.jpg
/home/pi/Desktop/images/14012025/10/11/image_14012025_10_11_28_3723.jpg
/home/pi/Desktop/images/14012025/10/13/image_14012025_10_13_33_2556.jpg
/home/pi/Desktop/images/14012025/10/16/image_14012025_10_16_46_2649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329248919","1329248921","1329248917","1329248929","1329248914","1329248908"],"photo_ids_order":["1329248908","1329248914","1329248917","1329248919","1329248921","1329248929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2b08b3eb64fdce383c988563f4edf5e3.jpg","text":"TemporaryFile(/tmp/multipartBody7201594051401996523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980543754,"filename":"image_14012025_10_11_28_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/74f2b3f7c331540ffb497d31d10e078b.jpg","text":"TemporaryFile(/tmp/multipartBody1458207497783551074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980543754,"filename":"image_14012025_10_13_33_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/855741543b4f1a5f40b8c3d1bbd7fc6e.jpg","text":"TemporaryFile(/tmp/multipartBody9168547078368121837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980543754,"filename":"image_14012025_10_09_40_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8a52ac49b783da8a61720010a73f9d0f.jpg","text":"TemporaryFile(/tmp/multipartBody828582239687565870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980543754,"filename":"image_14012025_10_16_46_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/36f9d4f12fbc0dd19a2bd94c3db6991a.jpg","text":"TemporaryFile(/tmp/multipartBody1521809331025047123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980543754,"filename":"image_14012025_10_09_34_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dfe68a69ddec3b62a07d0b2d49543382.jpg","text":"TemporaryFile(/tmp/multipartBody531461508996722193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980543754,"filename":"image_14012025_10_07_46_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329248917","file1":"1329248914","file0":"1329248908","file4":"1329248921","file5":"1329248929","file3":"1329248919"},"map_files_photo_id_array":[{"photo_id":"1329248929","filename":"file5"},{"photo_id":"1329248917","filename":"file2"},{"photo_id":"1329248921","filename":"file4"},{"photo_id":"1329248914","filename":"file1"},{"photo_id":"1329248908","filename":"file0"},{"photo_id":"1329248919","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329248919":["hashtag1","hashtag2"]},{"1329248921":["hashtag1","hashtag2"]},{"1329248917":["hashtag1","hashtag2"]},{"1329248929":["hashtag1","hashtag2"]},{"1329248914":["hashtag1","hashtag2"]},{"1329248908":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329248919, 1329248921, 1329248917, 1329248929, 1329248914, 1329248908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21903109550476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:35:21.842847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/16/image_14012025_10_16_58_2769.jpg', '/home/pi/Desktop/images/14012025/10/17/image_14012025_10_17_06_2610.jpg', '/home/pi/Desktop/images/14012025/10/17/image_14012025_10_18_00_2799.jpg', '/home/pi/Desktop/images/14012025/10/18/image_14012025_10_18_09_2588.jpg', '/home/pi/Desktop/images/14012025/10/23/image_14012025_10_23_44_3735.jpg', '/home/pi/Desktop/images/14012025/10/23/image_14012025_10_23_46_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/16/image_14012025_10_16_58_2769.jpg
/home/pi/Desktop/images/14012025/10/17/image_14012025_10_17_06_2610.jpg
/home/pi/Desktop/images/14012025/10/17/image_14012025_10_18_00_2799.jpg
/home/pi/Desktop/images/14012025/10/18/image_14012025_10_18_09_2588.jpg
/home/pi/Desktop/images/14012025/10/23/image_14012025_10_23_44_3735.jpg
/home/pi/Desktop/images/14012025/10/23/image_14012025_10_23_46_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329249030","1329248934","1329248937","1329248953","1329248941","1329249106"],"photo_ids_order":["1329248934","1329248937","1329248941","1329248953","1329249030","1329249106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fca8dc61f389d489ae8e3aef38305f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7619692377346277688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980585110,"filename":"image_14012025_10_23_44_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca885f24c6dff50a1f389811256fb7d2.jpg","text":"TemporaryFile(/tmp/multipartBody3179472643509203002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980585110,"filename":"image_14012025_10_16_58_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06ad4347a9057678540fcaf7ee5170af.jpg","text":"TemporaryFile(/tmp/multipartBody3385234380319330631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980585110,"filename":"image_14012025_10_17_06_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ce94654d6ab292c3e5964452b44dde00.jpg","text":"TemporaryFile(/tmp/multipartBody507248999600476562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980585110,"filename":"image_14012025_10_18_09_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/44cdab2e48e88f632e4b28bad2b37fd6.jpg","text":"TemporaryFile(/tmp/multipartBody948553582078202415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980585110,"filename":"image_14012025_10_18_00_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/67ad24acc546a90a2b117fce577b8ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2908137722746347937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980585110,"filename":"image_14012025_10_23_46_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329248941","file1":"1329248937","file0":"1329248934","file4":"1329249030","file5":"1329249106","file3":"1329248953"},"map_files_photo_id_array":[{"photo_id":"1329249106","filename":"file5"},{"photo_id":"1329248941","filename":"file2"},{"photo_id":"1329249030","filename":"file4"},{"photo_id":"1329248937","filename":"file1"},{"photo_id":"1329248934","filename":"file0"},{"photo_id":"1329248953","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329249030":["hashtag1","hashtag2"]},{"1329248934":["hashtag1","hashtag2"]},{"1329248937":["hashtag1","hashtag2"]},{"1329248953":["hashtag1","hashtag2"]},{"1329248941":["hashtag1","hashtag2"]},{"1329249106":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329249030, 1329248934, 1329248937, 1329248953, 1329248941, 1329249106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62258338928223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:36:02.590143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/27/image_14012025_10_27_16_2712.jpg', '/home/pi/Desktop/images/14012025/10/27/image_14012025_10_27_25_2724.jpg', '/home/pi/Desktop/images/14012025/10/27/image_14012025_10_27_49_2720.jpg', '/home/pi/Desktop/images/14012025/10/27/image_14012025_10_27_54_2813.jpg', '/home/pi/Desktop/images/14012025/10/28/image_14012025_10_28_07_2618.jpg', '/home/pi/Desktop/images/14012025/10/28/image_14012025_10_28_25_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/27/image_14012025_10_27_16_2712.jpg
/home/pi/Desktop/images/14012025/10/27/image_14012025_10_27_25_2724.jpg
/home/pi/Desktop/images/14012025/10/27/image_14012025_10_27_49_2720.jpg
/home/pi/Desktop/images/14012025/10/27/image_14012025_10_27_54_2813.jpg
/home/pi/Desktop/images/14012025/10/28/image_14012025_10_28_07_2618.jpg
/home/pi/Desktop/images/14012025/10/28/image_14012025_10_28_25_2746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329249284","1329249289","1329249286","1329249288","1329249282","1329249285"],"photo_ids_order":["1329249282","1329249284","1329249285","1329249286","1329249288","1329249289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6d57d8fb1c20cb83e126e885b574d9f3.jpg","text":"TemporaryFile(/tmp/multipartBody446460164686908294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980625109,"filename":"image_14012025_10_27_25_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1d226503d59e1aff711258539c579f74.jpg","text":"TemporaryFile(/tmp/multipartBody1822945872563051692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980625109,"filename":"image_14012025_10_28_25_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/12ee3dc94282b02c2157c562a79daa1e.jpg","text":"TemporaryFile(/tmp/multipartBody688670544510784133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980625109,"filename":"image_14012025_10_27_54_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4becb01ab2c4aff87986148edc06ac7e.jpg","text":"TemporaryFile(/tmp/multipartBody3407695577738743922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980625109,"filename":"image_14012025_10_28_07_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da9def91dc258d7ca020f08d4bf43c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2324432470564557926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980625109,"filename":"image_14012025_10_27_16_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4dafd7a7f44dcdc76b6e7cb4bb8ac631.jpg","text":"TemporaryFile(/tmp/multipartBody5837474674202823593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980625109,"filename":"image_14012025_10_27_49_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329249285","file1":"1329249284","file0":"1329249282","file4":"1329249288","file5":"1329249289","file3":"1329249286"},"map_files_photo_id_array":[{"photo_id":"1329249289","filename":"file5"},{"photo_id":"1329249285","filename":"file2"},{"photo_id":"1329249288","filename":"file4"},{"photo_id":"1329249284","filename":"file1"},{"photo_id":"1329249282","filename":"file0"},{"photo_id":"1329249286","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329249284":["hashtag1","hashtag2"]},{"1329249289":["hashtag1","hashtag2"]},{"1329249286":["hashtag1","hashtag2"]},{"1329249288":["hashtag1","hashtag2"]},{"1329249282":["hashtag1","hashtag2"]},{"1329249285":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329249284, 1329249289, 1329249286, 1329249288, 1329249282, 1329249285)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.056995153427124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:37:02.947111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/29/image_14012025_10_29_16_3690.jpg', '/home/pi/Desktop/images/14012025/10/29/image_14012025_10_29_21_2698.jpg', '/home/pi/Desktop/images/14012025/10/29/image_14012025_10_29_39_2553.jpg', '/home/pi/Desktop/images/14012025/10/30/image_14012025_10_30_17_2895.jpg', '/home/pi/Desktop/images/14012025/10/31/image_14012025_10_31_11_2710.jpg', '/home/pi/Desktop/images/14012025/10/31/image_14012025_10_31_14_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/29/image_14012025_10_29_16_3690.jpg
/home/pi/Desktop/images/14012025/10/29/image_14012025_10_29_21_2698.jpg
/home/pi/Desktop/images/14012025/10/29/image_14012025_10_29_39_2553.jpg
/home/pi/Desktop/images/14012025/10/30/image_14012025_10_30_17_2895.jpg
/home/pi/Desktop/images/14012025/10/31/image_14012025_10_31_11_2710.jpg
/home/pi/Desktop/images/14012025/10/31/image_14012025_10_31_14_3614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329249572","1329249643","1329249565","1329249573","1329249675","1329249576"],"photo_ids_order":["1329249565","1329249572","1329249573","1329249576","1329249643","1329249675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ec4c1939e413eaf1722366e368620e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6333055482306291890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980685525,"filename":"image_14012025_10_29_21_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/edf50cb61c7e87387d31d367f58d7f8f.jpg","text":"TemporaryFile(/tmp/multipartBody8696968395198939399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980685525,"filename":"image_14012025_10_31_11_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b821999b94c244f8155db70cecbb0a39.jpg","text":"TemporaryFile(/tmp/multipartBody4921361318688151240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980685525,"filename":"image_14012025_10_29_16_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/63f2981387e86a32443cfa5a90d4e70e.jpg","text":"TemporaryFile(/tmp/multipartBody6030459060259487841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980685525,"filename":"image_14012025_10_29_39_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a534fd2f4b998027ffac51559833bad8.jpg","text":"TemporaryFile(/tmp/multipartBody3857325716947472614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980685525,"filename":"image_14012025_10_31_14_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab76aa8b31ed5e54f45d88486ceb928f.jpg","text":"TemporaryFile(/tmp/multipartBody2746035170362183650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980685525,"filename":"image_14012025_10_30_17_2895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329249573","file1":"1329249572","file0":"1329249565","file4":"1329249643","file5":"1329249675","file3":"1329249576"},"map_files_photo_id_array":[{"photo_id":"1329249675","filename":"file5"},{"photo_id":"1329249573","filename":"file2"},{"photo_id":"1329249643","filename":"file4"},{"photo_id":"1329249572","filename":"file1"},{"photo_id":"1329249565","filename":"file0"},{"photo_id":"1329249576","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329249572":["hashtag1","hashtag2"]},{"1329249643":["hashtag1","hashtag2"]},{"1329249565":["hashtag1","hashtag2"]},{"1329249573":["hashtag1","hashtag2"]},{"1329249675":["hashtag1","hashtag2"]},{"1329249576":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329249572, 1329249643, 1329249565, 1329249573, 1329249675, 1329249576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.101935625076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:37:42.159139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/31/image_14012025_10_31_47_2749.jpg', '/home/pi/Desktop/images/14012025/10/32/image_14012025_10_32_17_2630.jpg', '/home/pi/Desktop/images/14012025/10/32/image_14012025_10_32_29_2715.jpg', '/home/pi/Desktop/images/14012025/10/32/image_14012025_10_32_32_3732.jpg', '/home/pi/Desktop/images/14012025/10/33/image_14012025_10_33_53_2699.jpg', '/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_02_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/31/image_14012025_10_31_47_2749.jpg
/home/pi/Desktop/images/14012025/10/32/image_14012025_10_32_17_2630.jpg
/home/pi/Desktop/images/14012025/10/32/image_14012025_10_32_29_2715.jpg
/home/pi/Desktop/images/14012025/10/32/image_14012025_10_32_32_3732.jpg
/home/pi/Desktop/images/14012025/10/33/image_14012025_10_33_53_2699.jpg
/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_02_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329249741","1329249738","1329249770","1329249728","1329249745","1329249808"],"photo_ids_order":["1329249728","1329249738","1329249741","1329249745","1329249770","1329249808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bfbb7d6a2e84901218e3aafb9a73a146.jpg","text":"TemporaryFile(/tmp/multipartBody6789278021058740678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980723569,"filename":"image_14012025_10_32_29_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c353962055d86b31c21154a84d82b5e5.jpg","text":"TemporaryFile(/tmp/multipartBody5635753390716954703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980723569,"filename":"image_14012025_10_32_17_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc787914212a081ac088bf4d6a24eabc.jpg","text":"TemporaryFile(/tmp/multipartBody4679607855474599394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980723569,"filename":"image_14012025_10_33_53_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0ed5510bcf7081341de33e2da5f88e3c.jpg","text":"TemporaryFile(/tmp/multipartBody576916317648243909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980723569,"filename":"image_14012025_10_31_47_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/273d1d313976bebecf20b0cc600777f2.jpg","text":"TemporaryFile(/tmp/multipartBody3395491613006644377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980723569,"filename":"image_14012025_10_32_32_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2625eef0302c3e573e9652dc8a378728.jpg","text":"TemporaryFile(/tmp/multipartBody3110650799203269320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980723569,"filename":"image_14012025_10_34_02_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329249741","file1":"1329249738","file0":"1329249728","file4":"1329249770","file5":"1329249808","file3":"1329249745"},"map_files_photo_id_array":[{"photo_id":"1329249808","filename":"file5"},{"photo_id":"1329249741","filename":"file2"},{"photo_id":"1329249770","filename":"file4"},{"photo_id":"1329249738","filename":"file1"},{"photo_id":"1329249728","filename":"file0"},{"photo_id":"1329249745","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329249741":["hashtag1","hashtag2"]},{"1329249738":["hashtag1","hashtag2"]},{"1329249770":["hashtag1","hashtag2"]},{"1329249728":["hashtag1","hashtag2"]},{"1329249745":["hashtag1","hashtag2"]},{"1329249808":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329249741, 1329249738, 1329249770, 1329249728, 1329249745, 1329249808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33733344078064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:38:21.800324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_05_2806.jpg', '/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_08_2732.jpg', '/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_20_3809.jpg', '/home/pi/Desktop/images/14012025/10/37/image_14012025_10_37_20_3722.jpg', '/home/pi/Desktop/images/14012025/10/41/image_14012025_10_41_22_3778.jpg', '/home/pi/Desktop/images/14012025/10/46/image_14012025_10_46_49_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_05_2806.jpg
/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_08_2732.jpg
/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_20_3809.jpg
/home/pi/Desktop/images/14012025/10/37/image_14012025_10_37_20_3722.jpg
/home/pi/Desktop/images/14012025/10/41/image_14012025_10_41_22_3778.jpg
/home/pi/Desktop/images/14012025/10/46/image_14012025_10_46_49_2575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.1777448654174805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:38:41.753363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_05_2806.jpg', '/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_08_2732.jpg', '/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_20_3809.jpg', '/home/pi/Desktop/images/14012025/10/37/image_14012025_10_37_20_3722.jpg', '/home/pi/Desktop/images/14012025/10/41/image_14012025_10_41_22_3778.jpg', '/home/pi/Desktop/images/14012025/10/46/image_14012025_10_46_49_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_05_2806.jpg
/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_08_2732.jpg
/home/pi/Desktop/images/14012025/10/34/image_14012025_10_34_20_3809.jpg
/home/pi/Desktop/images/14012025/10/37/image_14012025_10_37_20_3722.jpg
/home/pi/Desktop/images/14012025/10/41/image_14012025_10_41_22_3778.jpg
/home/pi/Desktop/images/14012025/10/46/image_14012025_10_46_49_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329249840","1329249824","1329249848","1329249832","1329249841","1329249846"],"photo_ids_order":["1329249824","1329249832","1329249840","1329249841","1329249846","1329249848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea786c5ea472867b62a0d1a64443d2a0.jpg","text":"TemporaryFile(/tmp/multipartBody2356228119877537964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980783183,"filename":"image_14012025_10_34_20_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/da5113771c3cbf3288739d50e2cb8a60.jpg","text":"TemporaryFile(/tmp/multipartBody5027084051728511055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980783183,"filename":"image_14012025_10_34_05_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a1aed4bdaf96257de76f26ce9200257e.jpg","text":"TemporaryFile(/tmp/multipartBody8466469270477646197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980783183,"filename":"image_14012025_10_46_49_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fd362cbc903a3c0d26b1080366d0727d.jpg","text":"TemporaryFile(/tmp/multipartBody6101872328189459090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980783183,"filename":"image_14012025_10_34_08_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f3ad7dfa8edbcb702b59693c3de75d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1288110782539678995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980783183,"filename":"image_14012025_10_37_20_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6de20eda118bca5667f0b13d2b25fc67.jpg","text":"TemporaryFile(/tmp/multipartBody6277561760442271576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980783183,"filename":"image_14012025_10_41_22_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329249840","file1":"1329249832","file0":"1329249824","file4":"1329249846","file5":"1329249848","file3":"1329249841"},"map_files_photo_id_array":[{"photo_id":"1329249848","filename":"file5"},{"photo_id":"1329249840","filename":"file2"},{"photo_id":"1329249846","filename":"file4"},{"photo_id":"1329249832","filename":"file1"},{"photo_id":"1329249824","filename":"file0"},{"photo_id":"1329249841","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329249840":["hashtag1","hashtag2"]},{"1329249824":["hashtag1","hashtag2"]},{"1329249848":["hashtag1","hashtag2"]},{"1329249832":["hashtag1","hashtag2"]},{"1329249841":["hashtag1","hashtag2"]},{"1329249846":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329249840, 1329249824, 1329249848, 1329249832, 1329249841, 1329249846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12673473358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:39:22.445885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/51/image_14012025_10_51_11_3690.jpg', '/home/pi/Desktop/images/14012025/10/52/image_14012025_10_52_59_3809.jpg', '/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_28_2803.jpg', '/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_31_2875.jpg', '/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_34_2796.jpg', '/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_38_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/51/image_14012025_10_51_11_3690.jpg
/home/pi/Desktop/images/14012025/10/52/image_14012025_10_52_59_3809.jpg
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_28_2803.jpg
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_31_2875.jpg
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_34_2796.jpg
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_38_3701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329249887","1329249881","1329249878","1329249863","1329249911","1329249883"],"photo_ids_order":["1329249863","1329249878","1329249881","1329249883","1329249887","1329249911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1acdf54778d45169eacbafe7347ca507.jpg","text":"TemporaryFile(/tmp/multipartBody8681306741935595655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980825573,"filename":"image_14012025_10_53_34_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dec865db261d563200979f96ee24af44.jpg","text":"TemporaryFile(/tmp/multipartBody7372899161012013173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980825573,"filename":"image_14012025_10_53_28_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2f0303e4ac7a3108bbf31ca364f07682.jpg","text":"TemporaryFile(/tmp/multipartBody2944273144795561376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980825573,"filename":"image_14012025_10_52_59_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7888e959a71b1a5d70482cc04ddd46ab.jpg","text":"TemporaryFile(/tmp/multipartBody1403545792581046897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980825573,"filename":"image_14012025_10_51_11_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/9b30280f523fdf71e7e2709edec48487.jpg","text":"TemporaryFile(/tmp/multipartBody8884696830830464563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980825573,"filename":"image_14012025_10_53_38_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/78b330cba1fe65cd79e4e110a6901447.jpg","text":"TemporaryFile(/tmp/multipartBody4097081537063327894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980825573,"filename":"image_14012025_10_53_31_2875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329249881","file1":"1329249878","file0":"1329249863","file4":"1329249887","file5":"1329249911","file3":"1329249883"},"map_files_photo_id_array":[{"photo_id":"1329249911","filename":"file5"},{"photo_id":"1329249881","filename":"file2"},{"photo_id":"1329249887","filename":"file4"},{"photo_id":"1329249878","filename":"file1"},{"photo_id":"1329249863","filename":"file0"},{"photo_id":"1329249883","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329249887":["hashtag1","hashtag2"]},{"1329249881":["hashtag1","hashtag2"]},{"1329249878":["hashtag1","hashtag2"]},{"1329249863":["hashtag1","hashtag2"]},{"1329249911":["hashtag1","hashtag2"]},{"1329249883":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329249887, 1329249881, 1329249878, 1329249863, 1329249911, 1329249883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.921706676483154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:40:21.912823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_40_2606.jpg', '/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_43_2551.jpg', '/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_47_3742.jpg', '/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_49_2662.jpg', '/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_52_2606.jpg', '/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_55_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_40_2606.jpg
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_43_2551.jpg
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_47_3742.jpg
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_49_2662.jpg
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_52_2606.jpg
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_55_3673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250068","1329249989","1329250109","1329249987","1329250135","1329250138"],"photo_ids_order":["1329249987","1329249989","1329250068","1329250109","1329250135","1329250138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/06dc9ce0bd965ad672c7a764f9550aa9.jpg","text":"TemporaryFile(/tmp/multipartBody2628806814754128148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980885138,"filename":"image_14012025_10_53_47_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0d3d2cb3e260214872b75d09a6acf985.jpg","text":"TemporaryFile(/tmp/multipartBody241725591627334960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980885138,"filename":"image_14012025_10_53_43_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/8be8b50209950851fc27ff9afa4ea9f7.jpg","text":"TemporaryFile(/tmp/multipartBody3655447875764401432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980885138,"filename":"image_14012025_10_53_49_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/00018b466075f590500776edc328cbd7.jpg","text":"TemporaryFile(/tmp/multipartBody7593639290232035290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980885138,"filename":"image_14012025_10_53_40_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/330b3f593ffc9e8791b83e49cd93af82.jpg","text":"TemporaryFile(/tmp/multipartBody4317553513154441727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980885138,"filename":"image_14012025_10_53_52_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2aa8d483a491daf7d9e45b6e06bac496.jpg","text":"TemporaryFile(/tmp/multipartBody6961666873709410080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980885138,"filename":"image_14012025_10_53_55_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250068","file1":"1329249989","file0":"1329249987","file4":"1329250135","file5":"1329250138","file3":"1329250109"},"map_files_photo_id_array":[{"photo_id":"1329250138","filename":"file5"},{"photo_id":"1329250068","filename":"file2"},{"photo_id":"1329250135","filename":"file4"},{"photo_id":"1329249989","filename":"file1"},{"photo_id":"1329249987","filename":"file0"},{"photo_id":"1329250109","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250068":["hashtag1","hashtag2"]},{"1329249989":["hashtag1","hashtag2"]},{"1329250109":["hashtag1","hashtag2"]},{"1329249987":["hashtag1","hashtag2"]},{"1329250135":["hashtag1","hashtag2"]},{"1329250138":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250068, 1329249989, 1329250109, 1329249987, 1329250135, 1329250138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84461069107056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:41:03.241124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_58_2665.jpg', '/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_01_2907.jpg', '/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_04_2608.jpg', '/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_07_3714.jpg', '/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_10_2705.jpg', '/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_16_3773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/53/image_14012025_10_53_58_2665.jpg
/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_01_2907.jpg
/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_04_2608.jpg
/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_07_3714.jpg
/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_10_2705.jpg
/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_16_3773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250194","1329250188","1329250190","1329250193","1329250192","1329250191"],"photo_ids_order":["1329250188","1329250190","1329250191","1329250192","1329250193","1329250194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d8912f89e5aeffa238e56595017c40b1.jpg","text":"TemporaryFile(/tmp/multipartBody7233671775842452042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980925915,"filename":"image_14012025_10_54_16_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dbc7f969c4cbb76fc785b35e497cea50.jpg","text":"TemporaryFile(/tmp/multipartBody2173578201907966017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980925915,"filename":"image_14012025_10_53_58_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/45ff8940860fb3ff1465f6cdb201e363.jpg","text":"TemporaryFile(/tmp/multipartBody2252587152189718983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980925915,"filename":"image_14012025_10_54_01_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7ec6b429cb827210e1b74335766f554b.jpg","text":"TemporaryFile(/tmp/multipartBody7071362833807771556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980925915,"filename":"image_14012025_10_54_10_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c1b0068c18c444238efbeaa48a07aa27.jpg","text":"TemporaryFile(/tmp/multipartBody3079113495831857307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980925915,"filename":"image_14012025_10_54_07_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6c8e2996c8b1e37278dee1367b0f8dc8.jpg","text":"TemporaryFile(/tmp/multipartBody4588005823263315093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980925915,"filename":"image_14012025_10_54_04_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250191","file1":"1329250190","file0":"1329250188","file4":"1329250193","file5":"1329250194","file3":"1329250192"},"map_files_photo_id_array":[{"photo_id":"1329250194","filename":"file5"},{"photo_id":"1329250191","filename":"file2"},{"photo_id":"1329250193","filename":"file4"},{"photo_id":"1329250190","filename":"file1"},{"photo_id":"1329250188","filename":"file0"},{"photo_id":"1329250192","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250194":["hashtag1","hashtag2"]},{"1329250188":["hashtag1","hashtag2"]},{"1329250190":["hashtag1","hashtag2"]},{"1329250193":["hashtag1","hashtag2"]},{"1329250192":["hashtag1","hashtag2"]},{"1329250191":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250194, 1329250188, 1329250190, 1329250193, 1329250192, 1329250191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.089394330978394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:41:42.664214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_28_3581.jpg', '/home/pi/Desktop/images/14012025/10/55/image_14012025_10_55_07_3011.jpg', '/home/pi/Desktop/images/14012025/10/55/image_14012025_10_55_38_2722.jpg', '/home/pi/Desktop/images/14012025/10/58/image_14012025_10_58_02_2753.jpg', '/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_17_3770.jpg', '/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_19_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/54/image_14012025_10_54_28_3581.jpg
/home/pi/Desktop/images/14012025/10/55/image_14012025_10_55_07_3011.jpg
/home/pi/Desktop/images/14012025/10/55/image_14012025_10_55_38_2722.jpg
/home/pi/Desktop/images/14012025/10/58/image_14012025_10_58_02_2753.jpg
/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_17_3770.jpg
/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_19_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250219","1329250212","1329250206","1329250221","1329250209","1329250202"],"photo_ids_order":["1329250202","1329250206","1329250209","1329250212","1329250219","1329250221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d0bd7eae80c2941d74040526d4d406b0.jpg","text":"TemporaryFile(/tmp/multipartBody3016002982610080761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980964100,"filename":"image_14012025_10_59_17_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be10ba5bcabc692ab7ed5ebfa89407e2.jpg","text":"TemporaryFile(/tmp/multipartBody4857551205156214912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980964100,"filename":"image_14012025_10_58_02_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f48a600fcfc6f9ab988423f870a22a4e.jpg","text":"TemporaryFile(/tmp/multipartBody7865626985588358405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980964100,"filename":"image_14012025_10_55_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2c7c6f57f1397a401312c4624e784897.jpg","text":"TemporaryFile(/tmp/multipartBody8430787003856100426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980964100,"filename":"image_14012025_10_59_19_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dc70eede815b9fcc01e7cf4a30e05897.jpg","text":"TemporaryFile(/tmp/multipartBody5376696722877538279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980964100,"filename":"image_14012025_10_55_38_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c00a845f555399c427cac2a6f90c5b88.jpg","text":"TemporaryFile(/tmp/multipartBody5215657815534408270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736980964100,"filename":"image_14012025_10_54_28_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250209","file1":"1329250206","file0":"1329250202","file4":"1329250219","file5":"1329250221","file3":"1329250212"},"map_files_photo_id_array":[{"photo_id":"1329250221","filename":"file5"},{"photo_id":"1329250209","filename":"file2"},{"photo_id":"1329250219","filename":"file4"},{"photo_id":"1329250206","filename":"file1"},{"photo_id":"1329250202","filename":"file0"},{"photo_id":"1329250212","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250219":["hashtag1","hashtag2"]},{"1329250212":["hashtag1","hashtag2"]},{"1329250206":["hashtag1","hashtag2"]},{"1329250221":["hashtag1","hashtag2"]},{"1329250209":["hashtag1","hashtag2"]},{"1329250202":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250219, 1329250212, 1329250206, 1329250221, 1329250209, 1329250202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17918395996094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:42:22.315132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_22_2816.jpg', '/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_25_2660.jpg', '/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_28_3634.jpg', '/home/pi/Desktop/images/14012025/11/00/image_14012025_11_00_07_3011.jpg', '/home/pi/Desktop/images/14012025/11/00/image_14012025_11_00_35_3615.jpg', '/home/pi/Desktop/images/14012025/11/02/image_14012025_11_02_04_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_22_2816.jpg
/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_25_2660.jpg
/home/pi/Desktop/images/14012025/10/59/image_14012025_10_59_28_3634.jpg
/home/pi/Desktop/images/14012025/11/00/image_14012025_11_00_07_3011.jpg
/home/pi/Desktop/images/14012025/11/00/image_14012025_11_00_35_3615.jpg
/home/pi/Desktop/images/14012025/11/02/image_14012025_11_02_04_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250242","1329250251","1329250232","1329250238","1329250246","1329250234"],"photo_ids_order":["1329250232","1329250234","1329250238","1329250242","1329250246","1329250251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a689f081a9b681278d3fcec85245197f.jpg","text":"TemporaryFile(/tmp/multipartBody7289885930522555577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981005519,"filename":"image_14012025_11_00_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/cadd51c96e822c8a11fe02830dca4440.jpg","text":"TemporaryFile(/tmp/multipartBody5634013297961907592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981005519,"filename":"image_14012025_11_02_04_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5410eccd5e497132a89bb5aadd1b80a4.jpg","text":"TemporaryFile(/tmp/multipartBody2111144583629446471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981005519,"filename":"image_14012025_10_59_22_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/40e83da8f44fadc7eea21e199e1b06a2.jpg","text":"TemporaryFile(/tmp/multipartBody8454464958166923034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981005519,"filename":"image_14012025_10_59_28_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/99102d6715826c1fa0670daacd7708cd.jpg","text":"TemporaryFile(/tmp/multipartBody7811849446718676212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981005519,"filename":"image_14012025_11_00_35_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/56b4203b36aee6fef486b2d46468ea1a.jpg","text":"TemporaryFile(/tmp/multipartBody642995531104708981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981005519,"filename":"image_14012025_10_59_25_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250238","file1":"1329250234","file0":"1329250232","file4":"1329250246","file5":"1329250251","file3":"1329250242"},"map_files_photo_id_array":[{"photo_id":"1329250251","filename":"file5"},{"photo_id":"1329250238","filename":"file2"},{"photo_id":"1329250246","filename":"file4"},{"photo_id":"1329250234","filename":"file1"},{"photo_id":"1329250232","filename":"file0"},{"photo_id":"1329250242","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250242":["hashtag1","hashtag2"]},{"1329250251":["hashtag1","hashtag2"]},{"1329250232":["hashtag1","hashtag2"]},{"1329250238":["hashtag1","hashtag2"]},{"1329250246":["hashtag1","hashtag2"]},{"1329250234":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250242, 1329250251, 1329250232, 1329250238, 1329250246, 1329250234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46644425392151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:43:03.025667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/02/image_14012025_11_02_49_2856.jpg', '/home/pi/Desktop/images/14012025/11/04/image_14012025_11_04_40_2732.jpg', '/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_34_2689.jpg', '/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_37_2931.jpg', '/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_41_3676.jpg', '/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_43_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/02/image_14012025_11_02_49_2856.jpg
/home/pi/Desktop/images/14012025/11/04/image_14012025_11_04_40_2732.jpg
/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_34_2689.jpg
/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_37_2931.jpg
/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_41_3676.jpg
/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_43_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250318","1329250281","1329250314","1329250283","1329250316","1329250279"],"photo_ids_order":["1329250279","1329250281","1329250283","1329250314","1329250316","1329250318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6227fff37cc22deb57b5983f536d7991.jpg","text":"TemporaryFile(/tmp/multipartBody7148876075500922427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981045661,"filename":"image_14012025_11_06_43_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/58769cff5dc5cb0485880c916a4be31b.jpg","text":"TemporaryFile(/tmp/multipartBody2135223505596959623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981045661,"filename":"image_14012025_11_04_40_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/faae67e7726d33966eb89f943210e7aa.jpg","text":"TemporaryFile(/tmp/multipartBody2343457242453378006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981045661,"filename":"image_14012025_11_06_37_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3c7dccb3cb4931f87aa7dc40dc6fa45b.jpg","text":"TemporaryFile(/tmp/multipartBody8662664350700961220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981045661,"filename":"image_14012025_11_06_34_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/83c97fc34f3bad1365ae7791f0c9f4e2.jpg","text":"TemporaryFile(/tmp/multipartBody6072707145435759244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981045661,"filename":"image_14012025_11_06_41_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/16039b5d712debba7d029c3047dfc04b.jpg","text":"TemporaryFile(/tmp/multipartBody5160134080261603183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981045661,"filename":"image_14012025_11_02_49_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250283","file1":"1329250281","file0":"1329250279","file4":"1329250316","file5":"1329250318","file3":"1329250314"},"map_files_photo_id_array":[{"photo_id":"1329250318","filename":"file5"},{"photo_id":"1329250283","filename":"file2"},{"photo_id":"1329250316","filename":"file4"},{"photo_id":"1329250281","filename":"file1"},{"photo_id":"1329250279","filename":"file0"},{"photo_id":"1329250314","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250318":["hashtag1","hashtag2"]},{"1329250281":["hashtag1","hashtag2"]},{"1329250314":["hashtag1","hashtag2"]},{"1329250283":["hashtag1","hashtag2"]},{"1329250316":["hashtag1","hashtag2"]},{"1329250279":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250318, 1329250281, 1329250314, 1329250283, 1329250316, 1329250279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22736215591431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:44:03.618762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_47_3676.jpg', '/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_50_2681.jpg', '/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_53_2740.jpg', '/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_55_2796.jpg', '/home/pi/Desktop/images/14012025/11/07/image_14012025_11_07_10_2726.jpg', '/home/pi/Desktop/images/14012025/11/08/image_14012025_11_08_26_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_47_3676.jpg
/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_50_2681.jpg
/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_53_2740.jpg
/home/pi/Desktop/images/14012025/11/06/image_14012025_11_06_55_2796.jpg
/home/pi/Desktop/images/14012025/11/07/image_14012025_11_07_10_2726.jpg
/home/pi/Desktop/images/14012025/11/08/image_14012025_11_08_26_2761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250346","1329250354","1329250357","1329250351","1329250345","1329250348"],"photo_ids_order":["1329250345","1329250346","1329250348","1329250351","1329250354","1329250357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f054f94f3f43da52dc0c33fc93fb05ee.jpg","text":"TemporaryFile(/tmp/multipartBody8040173549313644870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981106240,"filename":"image_14012025_11_06_50_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5815e428abde131af2e5c335da53b504.jpg","text":"TemporaryFile(/tmp/multipartBody3678406727523082847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981106240,"filename":"image_14012025_11_07_10_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/322b7fa52d303cf9e519e73a4c796175.jpg","text":"TemporaryFile(/tmp/multipartBody5370819345443614723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981106240,"filename":"image_14012025_11_08_26_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d61ef3afdf6f48909c0d955f67cd3b80.jpg","text":"TemporaryFile(/tmp/multipartBody2496394463414903671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981106240,"filename":"image_14012025_11_06_55_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/965a5b8ef8fc89b15304408803758a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5599567237784480501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981106240,"filename":"image_14012025_11_06_47_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab92504eeb2f9fa824e91a1307110a8a.jpg","text":"TemporaryFile(/tmp/multipartBody1665042437138634431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981106240,"filename":"image_14012025_11_06_53_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250348","file1":"1329250346","file0":"1329250345","file4":"1329250354","file5":"1329250357","file3":"1329250351"},"map_files_photo_id_array":[{"photo_id":"1329250357","filename":"file5"},{"photo_id":"1329250348","filename":"file2"},{"photo_id":"1329250354","filename":"file4"},{"photo_id":"1329250346","filename":"file1"},{"photo_id":"1329250345","filename":"file0"},{"photo_id":"1329250351","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250346":["hashtag1","hashtag2"]},{"1329250354":["hashtag1","hashtag2"]},{"1329250357":["hashtag1","hashtag2"]},{"1329250351":["hashtag1","hashtag2"]},{"1329250345":["hashtag1","hashtag2"]},{"1329250348":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250346, 1329250354, 1329250357, 1329250351, 1329250345, 1329250348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.90973401069641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:45:03.215466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/09/image_14012025_11_09_44_3699.jpg', '/home/pi/Desktop/images/14012025/11/09/image_14012025_11_09_46_2745.jpg', '/home/pi/Desktop/images/14012025/11/09/image_14012025_11_09_49_2840.jpg', '/home/pi/Desktop/images/14012025/11/09/image_14012025_11_09_52_2837.jpg', '/home/pi/Desktop/images/14012025/11/10/image_14012025_11_10_32_3817.jpg', '/home/pi/Desktop/images/14012025/11/11/image_14012025_11_11_29_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/09/image_14012025_11_09_44_3699.jpg
/home/pi/Desktop/images/14012025/11/09/image_14012025_11_09_46_2745.jpg
/home/pi/Desktop/images/14012025/11/09/image_14012025_11_09_49_2840.jpg
/home/pi/Desktop/images/14012025/11/09/image_14012025_11_09_52_2837.jpg
/home/pi/Desktop/images/14012025/11/10/image_14012025_11_10_32_3817.jpg
/home/pi/Desktop/images/14012025/11/11/image_14012025_11_11_29_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250485","1329250545","1329250367","1329250547","1329250369","1329250516"],"photo_ids_order":["1329250367","1329250369","1329250485","1329250516","1329250545","1329250547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/46eb753a5067813bb7d1582b27216eab.jpg","text":"TemporaryFile(/tmp/multipartBody5248433378443754891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981165853,"filename":"image_14012025_11_09_49_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7de567f7ed1584b13a3b970b0997805f.jpg","text":"TemporaryFile(/tmp/multipartBody6127659207730475069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981165853,"filename":"image_14012025_11_10_32_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c62d4d6e5a1841d193d0a55e448095ea.jpg","text":"TemporaryFile(/tmp/multipartBody3400326878042586736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981165853,"filename":"image_14012025_11_09_44_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b92ebbfff6e4ee75b62b4f7e273a736f.jpg","text":"TemporaryFile(/tmp/multipartBody5947404679318331165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981165853,"filename":"image_14012025_11_11_29_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3a6cd54c3127b81120fca28496953861.jpg","text":"TemporaryFile(/tmp/multipartBody7038687634622677489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981165853,"filename":"image_14012025_11_09_46_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a1183a15b025f7d2f4b8539ed5252f46.jpg","text":"TemporaryFile(/tmp/multipartBody5381836962144046149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981165853,"filename":"image_14012025_11_09_52_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250485","file1":"1329250369","file0":"1329250367","file4":"1329250545","file5":"1329250547","file3":"1329250516"},"map_files_photo_id_array":[{"photo_id":"1329250547","filename":"file5"},{"photo_id":"1329250485","filename":"file2"},{"photo_id":"1329250545","filename":"file4"},{"photo_id":"1329250369","filename":"file1"},{"photo_id":"1329250367","filename":"file0"},{"photo_id":"1329250516","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250485":["hashtag1","hashtag2"]},{"1329250545":["hashtag1","hashtag2"]},{"1329250367":["hashtag1","hashtag2"]},{"1329250547":["hashtag1","hashtag2"]},{"1329250369":["hashtag1","hashtag2"]},{"1329250516":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250485, 1329250545, 1329250367, 1329250547, 1329250369, 1329250516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.615360736846924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:45:42.499614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/12/image_14012025_11_12_32_2879.jpg', '/home/pi/Desktop/images/14012025/11/13/image_14012025_11_13_41_2553.jpg', '/home/pi/Desktop/images/14012025/11/15/image_14012025_11_15_17_3664.jpg', '/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_14_3583.jpg', '/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_37_2894.jpg', '/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_41_3781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/12/image_14012025_11_12_32_2879.jpg
/home/pi/Desktop/images/14012025/11/13/image_14012025_11_13_41_2553.jpg
/home/pi/Desktop/images/14012025/11/15/image_14012025_11_15_17_3664.jpg
/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_14_3583.jpg
/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_37_2894.jpg
/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_41_3781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250609","1329250629","1329250622","1329250601","1329250603","1329250606"],"photo_ids_order":["1329250601","1329250603","1329250606","1329250609","1329250622","1329250629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fae330c254c1d0ce40ab6d68b11effbb.jpg","text":"TemporaryFile(/tmp/multipartBody5872587988725760339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981203970,"filename":"image_14012025_11_17_14_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f69cfdd6d7d49e76bbb9092e6244c113.jpg","text":"TemporaryFile(/tmp/multipartBody5493703452539837297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981203970,"filename":"image_14012025_11_17_41_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/87dd601bc4eb9f1b224616f445f49ccd.jpg","text":"TemporaryFile(/tmp/multipartBody1872937094869333991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981203970,"filename":"image_14012025_11_17_37_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/65d50f7fd7664387719445fe19554162.jpg","text":"TemporaryFile(/tmp/multipartBody5268255033939658025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981203970,"filename":"image_14012025_11_12_32_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/858676d9c42e9f5153c048ed89687250.jpg","text":"TemporaryFile(/tmp/multipartBody184053185127693329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981203970,"filename":"image_14012025_11_13_41_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0cf0aff9647eecb04040112851ef138b.jpg","text":"TemporaryFile(/tmp/multipartBody8211559630832136052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981203970,"filename":"image_14012025_11_15_17_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250606","file1":"1329250603","file0":"1329250601","file4":"1329250622","file5":"1329250629","file3":"1329250609"},"map_files_photo_id_array":[{"photo_id":"1329250629","filename":"file5"},{"photo_id":"1329250606","filename":"file2"},{"photo_id":"1329250622","filename":"file4"},{"photo_id":"1329250603","filename":"file1"},{"photo_id":"1329250601","filename":"file0"},{"photo_id":"1329250609","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250609":["hashtag1","hashtag2"]},{"1329250629":["hashtag1","hashtag2"]},{"1329250622":["hashtag1","hashtag2"]},{"1329250601":["hashtag1","hashtag2"]},{"1329250603":["hashtag1","hashtag2"]},{"1329250606":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250609, 1329250629, 1329250622, 1329250601, 1329250603, 1329250606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.505189418792725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:46:22.074933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_44_2603.jpg', '/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_47_3573.jpg', '/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_50_2634.jpg', '/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_52_2766.jpg', '/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_55_2729.jpg', '/home/pi/Desktop/images/14012025/11/19/image_14012025_11_19_52_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_44_2603.jpg
/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_47_3573.jpg
/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_50_2634.jpg
/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_52_2766.jpg
/home/pi/Desktop/images/14012025/11/17/image_14012025_11_17_55_2729.jpg
/home/pi/Desktop/images/14012025/11/19/image_14012025_11_19_52_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250677","1329250662","1329250659","1329250673","1329250669","1329250680"],"photo_ids_order":["1329250659","1329250662","1329250669","1329250673","1329250677","1329250680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3133a46aa0d3c0d87b1e39a028a43061.jpg","text":"TemporaryFile(/tmp/multipartBody7148114839322503539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981245382,"filename":"image_14012025_11_17_55_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d07d9329b04db925a675675b4b061bad.jpg","text":"TemporaryFile(/tmp/multipartBody8774083098198473644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981245382,"filename":"image_14012025_11_17_47_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/366c3275250ccd509e7772df5f80ef0e.jpg","text":"TemporaryFile(/tmp/multipartBody6531009728843350656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981245382,"filename":"image_14012025_11_17_44_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/bc1fcfcc76cd14715aa392cafc4202bc.jpg","text":"TemporaryFile(/tmp/multipartBody8636061964185716707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981245382,"filename":"image_14012025_11_17_52_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/251b24c61df051708cd0d7d3ae38f406.jpg","text":"TemporaryFile(/tmp/multipartBody5606171534390131519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981245382,"filename":"image_14012025_11_17_50_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7c5651d5911fa8bae8149fd4adaa83aa.jpg","text":"TemporaryFile(/tmp/multipartBody139599918784405200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981245382,"filename":"image_14012025_11_19_52_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250669","file1":"1329250662","file0":"1329250659","file4":"1329250677","file5":"1329250680","file3":"1329250673"},"map_files_photo_id_array":[{"photo_id":"1329250680","filename":"file5"},{"photo_id":"1329250669","filename":"file2"},{"photo_id":"1329250677","filename":"file4"},{"photo_id":"1329250662","filename":"file1"},{"photo_id":"1329250659","filename":"file0"},{"photo_id":"1329250673","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250677":["hashtag1","hashtag2"]},{"1329250662":["hashtag1","hashtag2"]},{"1329250659":["hashtag1","hashtag2"]},{"1329250673":["hashtag1","hashtag2"]},{"1329250669":["hashtag1","hashtag2"]},{"1329250680":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250677, 1329250662, 1329250659, 1329250673, 1329250669, 1329250680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91002535820007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:47:02.952059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/21/image_14012025_11_21_23_3595.jpg', '/home/pi/Desktop/images/14012025/11/21/image_14012025_11_21_58_2725.jpg', '/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_01_2858.jpg', '/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_05_3778.jpg', '/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_07_2556.jpg', '/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_10_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/21/image_14012025_11_21_23_3595.jpg
/home/pi/Desktop/images/14012025/11/21/image_14012025_11_21_58_2725.jpg
/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_01_2858.jpg
/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_05_3778.jpg
/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_07_2556.jpg
/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_10_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250708","1329250710","1329250697","1329250703","1329250699","1329250705"],"photo_ids_order":["1329250697","1329250699","1329250703","1329250705","1329250708","1329250710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab0090a064467e7c112e052d162d3f41.jpg","text":"TemporaryFile(/tmp/multipartBody1765096930921217974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981285561,"filename":"image_14012025_11_22_07_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5f5a93b0045a5e3a3985b007b8ff7986.jpg","text":"TemporaryFile(/tmp/multipartBody1647241048361041666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981285561,"filename":"image_14012025_11_22_10_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ac2f0204bbc53d1d90f95f8d151f0b75.jpg","text":"TemporaryFile(/tmp/multipartBody6288851272259164637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981285561,"filename":"image_14012025_11_21_23_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/df74179f79e74f6963feda0f7e17f395.jpg","text":"TemporaryFile(/tmp/multipartBody201571433169992133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981285561,"filename":"image_14012025_11_22_01_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f76196fe0c733a2b42f56e89f0c9a234.jpg","text":"TemporaryFile(/tmp/multipartBody7854636483692611354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981285561,"filename":"image_14012025_11_21_58_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3f925ab18b5c9931658d4e0be143b679.jpg","text":"TemporaryFile(/tmp/multipartBody8156746849503858130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981285561,"filename":"image_14012025_11_22_05_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250703","file1":"1329250699","file0":"1329250697","file4":"1329250708","file5":"1329250710","file3":"1329250705"},"map_files_photo_id_array":[{"photo_id":"1329250710","filename":"file5"},{"photo_id":"1329250703","filename":"file2"},{"photo_id":"1329250708","filename":"file4"},{"photo_id":"1329250699","filename":"file1"},{"photo_id":"1329250697","filename":"file0"},{"photo_id":"1329250705","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250708":["hashtag1","hashtag2"]},{"1329250710":["hashtag1","hashtag2"]},{"1329250697":["hashtag1","hashtag2"]},{"1329250703":["hashtag1","hashtag2"]},{"1329250699":["hashtag1","hashtag2"]},{"1329250705":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250708, 1329250710, 1329250697, 1329250703, 1329250699, 1329250705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47229361534119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:47:42.221117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_14_3672.jpg', '/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_16_2623.jpg', '/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_46_2941.jpg', '/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_26_3873.jpg', '/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_28_2748.jpg', '/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_31_2871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_14_3672.jpg
/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_16_2623.jpg
/home/pi/Desktop/images/14012025/11/22/image_14012025_11_22_46_2941.jpg
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_26_3873.jpg
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_28_2748.jpg
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_31_2871.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250731","1329250724","1329250733","1329250741","1329250735","1329250738"],"photo_ids_order":["1329250724","1329250731","1329250733","1329250735","1329250738","1329250741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/43bc755230e17efb7f1b2d0d20c58fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3953899154629080590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981323719,"filename":"image_14012025_11_22_16_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/583ec490a39ac47aa6b6035b54617471.jpg","text":"TemporaryFile(/tmp/multipartBody3330840024559639207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981323719,"filename":"image_14012025_11_22_14_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/22f1f5ed36c98fab9dfe67a672a98331.jpg","text":"TemporaryFile(/tmp/multipartBody778197096339883604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981323719,"filename":"image_14012025_11_22_46_2941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0f28504accfa30c2ea18b37353982773.jpg","text":"TemporaryFile(/tmp/multipartBody7114768809208583531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981323719,"filename":"image_14012025_11_23_31_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/edb446d26c8b08e2b4b0d6656bfe05de.jpg","text":"TemporaryFile(/tmp/multipartBody5512512692738228261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981323719,"filename":"image_14012025_11_23_26_3873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/66e503fc48af219a184b13ea6982d0ed.jpg","text":"TemporaryFile(/tmp/multipartBody180915248667765319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981323719,"filename":"image_14012025_11_23_28_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250733","file1":"1329250731","file0":"1329250724","file4":"1329250738","file5":"1329250741","file3":"1329250735"},"map_files_photo_id_array":[{"photo_id":"1329250741","filename":"file5"},{"photo_id":"1329250733","filename":"file2"},{"photo_id":"1329250738","filename":"file4"},{"photo_id":"1329250731","filename":"file1"},{"photo_id":"1329250724","filename":"file0"},{"photo_id":"1329250735","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250731":["hashtag1","hashtag2"]},{"1329250724":["hashtag1","hashtag2"]},{"1329250733":["hashtag1","hashtag2"]},{"1329250741":["hashtag1","hashtag2"]},{"1329250735":["hashtag1","hashtag2"]},{"1329250738":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250731, 1329250724, 1329250733, 1329250741, 1329250735, 1329250738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16152024269104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:48:22.703137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_34_2659.jpg', '/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_38_3701.jpg', '/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_40_2596.jpg', '/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_43_2816.jpg', '/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_49_3617.jpg', '/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_52_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_34_2659.jpg
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_38_3701.jpg
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_40_2596.jpg
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_43_2816.jpg
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_49_3617.jpg
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_23_52_2819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329250755","1329250767","1329250775","1329250760","1329250763","1329250757"],"photo_ids_order":["1329250755","1329250757","1329250760","1329250763","1329250767","1329250775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4f643b46f35ec7145f76d1a1fdd50684.jpg","text":"TemporaryFile(/tmp/multipartBody1738878420975674086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981365935,"filename":"image_14012025_11_23_34_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/82dedc7e69717afb68daddc938494cce.jpg","text":"TemporaryFile(/tmp/multipartBody1243380697763040965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981365935,"filename":"image_14012025_11_23_49_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/1775f61704c7ba357421a9742fcfe1e5.jpg","text":"TemporaryFile(/tmp/multipartBody1358249760888425130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981365935,"filename":"image_14012025_11_23_52_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/e0d0cc6d2affa697645c1cf729ff23e8.jpg","text":"TemporaryFile(/tmp/multipartBody7531244267169516978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981365935,"filename":"image_14012025_11_23_40_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/de39bb02cbcaf1e6038bbcb36d930d90.jpg","text":"TemporaryFile(/tmp/multipartBody8854322918283218322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981365935,"filename":"image_14012025_11_23_43_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/2ce0a4db3dcba0a2f6d6463e5b8f6492.jpg","text":"TemporaryFile(/tmp/multipartBody7656204104775724643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981365935,"filename":"image_14012025_11_23_38_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329250760","file1":"1329250757","file0":"1329250755","file4":"1329250767","file5":"1329250775","file3":"1329250763"},"map_files_photo_id_array":[{"photo_id":"1329250775","filename":"file5"},{"photo_id":"1329250760","filename":"file2"},{"photo_id":"1329250767","filename":"file4"},{"photo_id":"1329250757","filename":"file1"},{"photo_id":"1329250755","filename":"file0"},{"photo_id":"1329250763","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329250755":["hashtag1","hashtag2"]},{"1329250767":["hashtag1","hashtag2"]},{"1329250775":["hashtag1","hashtag2"]},{"1329250760":["hashtag1","hashtag2"]},{"1329250763":["hashtag1","hashtag2"]},{"1329250757":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329250755, 1329250767, 1329250775, 1329250760, 1329250763, 1329250757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60997438430786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:49:03.675965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/23/image_14012025_11_24_01_3660.jpg', '/home/pi/Desktop/images/14012025/11/24/image_14012025_11_24_52_2716.jpg', '/home/pi/Desktop/images/14012025/11/26/image_14012025_11_26_07_3010.jpg', '/home/pi/Desktop/images/14012025/11/28/image_14012025_11_28_25_2786.jpg', '/home/pi/Desktop/images/14012025/11/33/image_14012025_11_33_11_3585.jpg', '/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_20_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/23/image_14012025_11_24_01_3660.jpg
/home/pi/Desktop/images/14012025/11/24/image_14012025_11_24_52_2716.jpg
/home/pi/Desktop/images/14012025/11/26/image_14012025_11_26_07_3010.jpg
/home/pi/Desktop/images/14012025/11/28/image_14012025_11_28_25_2786.jpg
/home/pi/Desktop/images/14012025/11/33/image_14012025_11_33_11_3585.jpg
/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_20_3747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329251016","1329251204","1329251111","1329250904","1329251391","1329251286"],"photo_ids_order":["1329250904","1329251016","1329251111","1329251204","1329251286","1329251391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/717c3a54094bebade6bedbe414fde986.jpg","text":"TemporaryFile(/tmp/multipartBody5124038097315541348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981406523,"filename":"image_14012025_11_24_52_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/08e58e4ad2d4b39e0d334427cdd78ac7.jpg","text":"TemporaryFile(/tmp/multipartBody6288253628231143690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981406523,"filename":"image_14012025_11_28_25_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/03394bb92e356ea92cc16623d59e1b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1227105238784384393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981406523,"filename":"image_14012025_11_26_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29c612d871f1e2944ac77bf7b0e08938.jpg","text":"TemporaryFile(/tmp/multipartBody8234613896969795520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981406523,"filename":"image_14012025_11_24_01_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5072afd073da320314530cdfcda8757f.jpg","text":"TemporaryFile(/tmp/multipartBody3807257030234894851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981406523,"filename":"image_14012025_11_34_20_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dfbcfbe4d0d34c2ee6093afd117a1e3a.jpg","text":"TemporaryFile(/tmp/multipartBody3748717678229190266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981406523,"filename":"image_14012025_11_33_11_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329251111","file1":"1329251016","file0":"1329250904","file4":"1329251286","file5":"1329251391","file3":"1329251204"},"map_files_photo_id_array":[{"photo_id":"1329251391","filename":"file5"},{"photo_id":"1329251111","filename":"file2"},{"photo_id":"1329251286","filename":"file4"},{"photo_id":"1329251016","filename":"file1"},{"photo_id":"1329250904","filename":"file0"},{"photo_id":"1329251204","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329251016":["hashtag1","hashtag2"]},{"1329251204":["hashtag1","hashtag2"]},{"1329251111":["hashtag1","hashtag2"]},{"1329250904":["hashtag1","hashtag2"]},{"1329251391":["hashtag1","hashtag2"]},{"1329251286":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329251016, 1329251204, 1329251111, 1329250904, 1329251391, 1329251286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.866092920303345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:50:03.059899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_43_2632.jpg', '/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_46_3583.jpg', '/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_49_2558.jpg', '/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_52_2958.jpg', '/home/pi/Desktop/images/14012025/11/35/image_14012025_11_35_06_3012.jpg', '/home/pi/Desktop/images/14012025/11/35/image_14012025_11_35_49_3754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_43_2632.jpg
/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_46_3583.jpg
/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_49_2558.jpg
/home/pi/Desktop/images/14012025/11/34/image_14012025_11_34_52_2958.jpg
/home/pi/Desktop/images/14012025/11/35/image_14012025_11_35_06_3012.jpg
/home/pi/Desktop/images/14012025/11/35/image_14012025_11_35_49_3754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329251628","1329251648","1329251491","1329251647","1329251583","1329251457"],"photo_ids_order":["1329251457","1329251491","1329251583","1329251628","1329251647","1329251648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f8f8f4d498bf3b9175d2c5b7a69c1a3.jpg","text":"TemporaryFile(/tmp/multipartBody5568797934169776078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981465601,"filename":"image_14012025_11_34_52_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d58b1996fb7a2c111ab0cd8560c4f434.jpg","text":"TemporaryFile(/tmp/multipartBody8148774756256876595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981465601,"filename":"image_14012025_11_35_49_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c0c47c12da6ad57d11f5512650c965f7.jpg","text":"TemporaryFile(/tmp/multipartBody2223441477210943530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981465601,"filename":"image_14012025_11_34_46_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5fee1ad4cec4a733fe6b74a16a2eab62.jpg","text":"TemporaryFile(/tmp/multipartBody4142203000972094567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981465601,"filename":"image_14012025_11_35_06_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/61750ff06e1785e86c94553b61c96daf.jpg","text":"TemporaryFile(/tmp/multipartBody8239539685828924138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981465601,"filename":"image_14012025_11_34_49_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/14d851582d651bc4dd9033e1ffd731fc.jpg","text":"TemporaryFile(/tmp/multipartBody8036959741276254215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981465601,"filename":"image_14012025_11_34_43_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329251583","file1":"1329251491","file0":"1329251457","file4":"1329251647","file5":"1329251648","file3":"1329251628"},"map_files_photo_id_array":[{"photo_id":"1329251648","filename":"file5"},{"photo_id":"1329251583","filename":"file2"},{"photo_id":"1329251647","filename":"file4"},{"photo_id":"1329251491","filename":"file1"},{"photo_id":"1329251457","filename":"file0"},{"photo_id":"1329251628","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329251628":["hashtag1","hashtag2"]},{"1329251648":["hashtag1","hashtag2"]},{"1329251491":["hashtag1","hashtag2"]},{"1329251647":["hashtag1","hashtag2"]},{"1329251583":["hashtag1","hashtag2"]},{"1329251457":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329251628, 1329251648, 1329251491, 1329251647, 1329251583, 1329251457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7731454372406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:50:42.534586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/37/image_14012025_11_37_25_3683.jpg', '/home/pi/Desktop/images/14012025/11/39/image_14012025_11_39_13_2677.jpg', '/home/pi/Desktop/images/14012025/11/41/image_14012025_11_41_22_2761.jpg', '/home/pi/Desktop/images/14012025/11/46/image_14012025_11_46_07_3011.jpg', '/home/pi/Desktop/images/14012025/11/48/image_14012025_11_48_22_2669.jpg', '/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_34_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/37/image_14012025_11_37_25_3683.jpg
/home/pi/Desktop/images/14012025/11/39/image_14012025_11_39_13_2677.jpg
/home/pi/Desktop/images/14012025/11/41/image_14012025_11_41_22_2761.jpg
/home/pi/Desktop/images/14012025/11/46/image_14012025_11_46_07_3011.jpg
/home/pi/Desktop/images/14012025/11/48/image_14012025_11_48_22_2669.jpg
/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_34_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329251709","1329251870","1329251743","1329251752","1329251746","1329251769"],"photo_ids_order":["1329251709","1329251743","1329251746","1329251752","1329251769","1329251870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f5ee3e94772ada9ccd583e94a03aac84.jpg","text":"TemporaryFile(/tmp/multipartBody6390432783918865116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981504006,"filename":"image_14012025_11_37_25_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/6f53b6673fc840b07cc72a51be1bd81d.jpg","text":"TemporaryFile(/tmp/multipartBody1271510551211441825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981504006,"filename":"image_14012025_11_51_34_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/35ea71ad5eb0007d6885acebd8fbf721.jpg","text":"TemporaryFile(/tmp/multipartBody8969753794752445597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981504006,"filename":"image_14012025_11_39_13_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/843f10cd2b3d55f9668cdc8eaed683a5.jpg","text":"TemporaryFile(/tmp/multipartBody1929249647492358435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981504006,"filename":"image_14012025_11_46_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c6b57181c19d89a3e07648fb6b4f8bd8.jpg","text":"TemporaryFile(/tmp/multipartBody349529547929751525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981504006,"filename":"image_14012025_11_41_22_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/53be2ced981586e117ab23c6b686090c.jpg","text":"TemporaryFile(/tmp/multipartBody1903486180245089808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981504006,"filename":"image_14012025_11_48_22_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329251746","file1":"1329251743","file0":"1329251709","file4":"1329251769","file5":"1329251870","file3":"1329251752"},"map_files_photo_id_array":[{"photo_id":"1329251870","filename":"file5"},{"photo_id":"1329251746","filename":"file2"},{"photo_id":"1329251769","filename":"file4"},{"photo_id":"1329251743","filename":"file1"},{"photo_id":"1329251709","filename":"file0"},{"photo_id":"1329251752","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329251709":["hashtag1","hashtag2"]},{"1329251870":["hashtag1","hashtag2"]},{"1329251743":["hashtag1","hashtag2"]},{"1329251752":["hashtag1","hashtag2"]},{"1329251746":["hashtag1","hashtag2"]},{"1329251769":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329251709, 1329251870, 1329251743, 1329251752, 1329251746, 1329251769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21955609321594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:51:22.616728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_38_3659.jpg', '/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_41_2796.jpg', '/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_44_2772.jpg', '/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_46_2736.jpg', '/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_50_3789.jpg', '/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_53_2516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_38_3659.jpg
/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_41_2796.jpg
/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_44_2772.jpg
/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_46_2736.jpg
/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_50_3789.jpg
/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_53_2516.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329252204","1329251984","1329252212","1329252055","1329252256","1329252162"],"photo_ids_order":["1329251984","1329252055","1329252162","1329252204","1329252212","1329252256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a243e09982d65c18ccbfd1c09cf2d543.jpg","text":"TemporaryFile(/tmp/multipartBody6296867222813179261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981545841,"filename":"image_14012025_11_51_46_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3f8d18fb3407107f69601725bff37063.jpg","text":"TemporaryFile(/tmp/multipartBody1859543255311404678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981545841,"filename":"image_14012025_11_51_38_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d3ee88692da5c594fac436955460d83f.jpg","text":"TemporaryFile(/tmp/multipartBody2321091347430724064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981545841,"filename":"image_14012025_11_51_50_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/62aec006ec5b89c0b602629abc3a4043.jpg","text":"TemporaryFile(/tmp/multipartBody5291539341764847746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981545841,"filename":"image_14012025_11_51_41_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/deffffb4546901b9c5bb989a0e1634f6.jpg","text":"TemporaryFile(/tmp/multipartBody4829721014964485866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981545841,"filename":"image_14012025_11_51_53_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0d5e9cacfd643e31bf41e630a4fd88d8.jpg","text":"TemporaryFile(/tmp/multipartBody1863880347166890011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981545841,"filename":"image_14012025_11_51_44_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329252162","file1":"1329252055","file0":"1329251984","file4":"1329252212","file5":"1329252256","file3":"1329252204"},"map_files_photo_id_array":[{"photo_id":"1329252256","filename":"file5"},{"photo_id":"1329252162","filename":"file2"},{"photo_id":"1329252212","filename":"file4"},{"photo_id":"1329252055","filename":"file1"},{"photo_id":"1329251984","filename":"file0"},{"photo_id":"1329252204","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329252204":["hashtag1","hashtag2"]},{"1329251984":["hashtag1","hashtag2"]},{"1329252212":["hashtag1","hashtag2"]},{"1329252055":["hashtag1","hashtag2"]},{"1329252256":["hashtag1","hashtag2"]},{"1329252162":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329252204, 1329251984, 1329252212, 1329252055, 1329252256, 1329252162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37814259529114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:52:02.448840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_59_3692.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_02_2675.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_11_2636.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_14_2766.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_17_3673.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_20_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_59_3692.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_02_2675.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_11_2636.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_14_2766.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_17_3673.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_20_2598.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.349177360534668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:52:21.884866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_59_3692.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_02_2675.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_11_2636.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_14_2766.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_17_3673.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_20_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/51/image_14012025_11_51_59_3692.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_02_2675.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_11_2636.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_14_2766.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_17_3673.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_20_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329252289","1329252283","1329252292","1329252286","1329252282","1329252284"],"photo_ids_order":["1329252282","1329252283","1329252284","1329252286","1329252289","1329252292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/3b89f95c816baed1a1ca2bd868b65ffe.jpg","text":"TemporaryFile(/tmp/multipartBody7467984432587844250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981604960,"filename":"image_14012025_11_52_17_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ca385f8a4938d1cc42c87f8b7744c0e0.jpg","text":"TemporaryFile(/tmp/multipartBody4059543014459182303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981604960,"filename":"image_14012025_11_52_02_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/698eb7a3b17881b9fbbc94bf3e9ced78.jpg","text":"TemporaryFile(/tmp/multipartBody2763845311966409531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981604960,"filename":"image_14012025_11_52_20_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ab399b2a405a1fad6605acc3540a0984.jpg","text":"TemporaryFile(/tmp/multipartBody5848205119617567629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981604960,"filename":"image_14012025_11_52_14_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/29783044859b857e2ede09721e493e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4747721525876261896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981604960,"filename":"image_14012025_11_51_59_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/048b71d22cf2d93414fcfbb519099524.jpg","text":"TemporaryFile(/tmp/multipartBody6125775600450981949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981604960,"filename":"image_14012025_11_52_11_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329252284","file1":"1329252283","file0":"1329252282","file4":"1329252289","file5":"1329252292","file3":"1329252286"},"map_files_photo_id_array":[{"photo_id":"1329252292","filename":"file5"},{"photo_id":"1329252284","filename":"file2"},{"photo_id":"1329252289","filename":"file4"},{"photo_id":"1329252283","filename":"file1"},{"photo_id":"1329252282","filename":"file0"},{"photo_id":"1329252286","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329252289":["hashtag1","hashtag2"]},{"1329252283":["hashtag1","hashtag2"]},{"1329252292":["hashtag1","hashtag2"]},{"1329252286":["hashtag1","hashtag2"]},{"1329252282":["hashtag1","hashtag2"]},{"1329252284":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329252289, 1329252283, 1329252292, 1329252286, 1329252282, 1329252284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15055990219116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:53:02.817022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_23_2930.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_26_3645.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_29_2656.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_32_2740.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_38_3549.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_41_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_23_2930.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_26_3645.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_29_2656.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_32_2740.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_38_3549.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_41_2523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329252303","1329252317","1329252307","1329252322","1329252312","1329252300"],"photo_ids_order":["1329252300","1329252303","1329252307","1329252312","1329252317","1329252322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/a7844197e5bb55d1be4fd55acc70594e.jpg","text":"TemporaryFile(/tmp/multipartBody7065708470652589323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981645350,"filename":"image_14012025_11_52_26_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/dace8fd89476e1f0716e5ab274442bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6462353275078806264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981645350,"filename":"image_14012025_11_52_38_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b3f9ac62a84d0e0addee5f2d8bcfc0a6.jpg","text":"TemporaryFile(/tmp/multipartBody2755119294314033395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981645350,"filename":"image_14012025_11_52_29_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/161fc4d7778222acd1a928df1b885fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7019298902048627648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981645350,"filename":"image_14012025_11_52_41_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7e4bd44c5ea302d4d3e0537a9ee04605.jpg","text":"TemporaryFile(/tmp/multipartBody3291136781282402311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981645350,"filename":"image_14012025_11_52_32_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/648f514a806abb6f19b5bb610dff1c35.jpg","text":"TemporaryFile(/tmp/multipartBody4085710410295288627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981645350,"filename":"image_14012025_11_52_23_2930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329252307","file1":"1329252303","file0":"1329252300","file4":"1329252317","file5":"1329252322","file3":"1329252312"},"map_files_photo_id_array":[{"photo_id":"1329252322","filename":"file5"},{"photo_id":"1329252307","filename":"file2"},{"photo_id":"1329252317","filename":"file4"},{"photo_id":"1329252303","filename":"file1"},{"photo_id":"1329252300","filename":"file0"},{"photo_id":"1329252312","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329252303":["hashtag1","hashtag2"]},{"1329252317":["hashtag1","hashtag2"]},{"1329252307":["hashtag1","hashtag2"]},{"1329252322":["hashtag1","hashtag2"]},{"1329252312":["hashtag1","hashtag2"]},{"1329252300":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329252303, 1329252317, 1329252307, 1329252322, 1329252312, 1329252300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25247883796692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:54:03.468760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_44_3653.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_47_2731.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_50_2776.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_52_2665.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_56_3784.jpg', '/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_59_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_44_3653.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_47_2731.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_50_2776.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_52_2665.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_56_3784.jpg
/home/pi/Desktop/images/14012025/11/52/image_14012025_11_52_59_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329252377","1329252370","1329252364","1329252372","1329252375","1329252366"],"photo_ids_order":["1329252364","1329252366","1329252370","1329252372","1329252375","1329252377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/7ac9919734f9b1d381b7a84270fba163.jpg","text":"TemporaryFile(/tmp/multipartBody3192345952391662692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981706043,"filename":"image_14012025_11_52_59_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/fde1b2560639275fa9b398487c06c95c.jpg","text":"TemporaryFile(/tmp/multipartBody7103618557867109760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981706043,"filename":"image_14012025_11_52_50_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/73d5ac839eb9b121131c0d68f3a1c8cf.jpg","text":"TemporaryFile(/tmp/multipartBody5255554911373686490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981706043,"filename":"image_14012025_11_52_44_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d623fb44e1ef0409b693a4a568d26e33.jpg","text":"TemporaryFile(/tmp/multipartBody7223088487655016967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981706043,"filename":"image_14012025_11_52_52_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1d74280967fea84d04a006db07855fd.jpg","text":"TemporaryFile(/tmp/multipartBody8752348964391149957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981706043,"filename":"image_14012025_11_52_56_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/91012e1c99b82f3a59dbb8c5cb33b7cd.jpg","text":"TemporaryFile(/tmp/multipartBody3329841034770616968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981706043,"filename":"image_14012025_11_52_47_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329252370","file1":"1329252366","file0":"1329252364","file4":"1329252375","file5":"1329252377","file3":"1329252372"},"map_files_photo_id_array":[{"photo_id":"1329252377","filename":"file5"},{"photo_id":"1329252370","filename":"file2"},{"photo_id":"1329252375","filename":"file4"},{"photo_id":"1329252366","filename":"file1"},{"photo_id":"1329252364","filename":"file0"},{"photo_id":"1329252372","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329252377":["hashtag1","hashtag2"]},{"1329252370":["hashtag1","hashtag2"]},{"1329252364":["hashtag1","hashtag2"]},{"1329252372":["hashtag1","hashtag2"]},{"1329252375":["hashtag1","hashtag2"]},{"1329252366":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329252377, 1329252370, 1329252364, 1329252372, 1329252375, 1329252366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.468852281570435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-01-15 23:54:42.737867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_01_2573.jpg', '/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_05_3759.jpg', '/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_08_2769.jpg', '/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_11_2783.jpg', '/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_13_2765.jpg', '/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_16_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_01_2573.jpg
/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_05_3759.jpg
/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_08_2769.jpg
/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_11_2783.jpg
/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_13_2765.jpg
/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_16_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329252386","1329252382","1329252399","1329252390","1329252393","1329252395"],"photo_ids_order":["1329252382","1329252386","1329252390","1329252393","1329252395","1329252399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ea95332b882aa378168f539e1a11eaa2.jpg","text":"TemporaryFile(/tmp/multipartBody2560015512639275256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981744207,"filename":"image_14012025_11_53_05_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ffdccd1d1efc62f481b71d07c245caee.jpg","text":"TemporaryFile(/tmp/multipartBody8680369525202447930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981744207,"filename":"image_14012025_11_53_01_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/d1cdbe20c768efd3691a7517e44ac3be.jpg","text":"TemporaryFile(/tmp/multipartBody3791530482921365140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981744207,"filename":"image_14012025_11_53_16_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/0bb1e5f9b384b3fc1e78dc5dd304c827.jpg","text":"TemporaryFile(/tmp/multipartBody1447470553225249924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981744207,"filename":"image_14012025_11_53_08_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5118133854a09727b30854941fa896a7.jpg","text":"TemporaryFile(/tmp/multipartBody5088177522472314917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981744207,"filename":"image_14012025_11_53_11_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f31ba8f6f32049ff891210af081fb649.jpg","text":"TemporaryFile(/tmp/multipartBody1434899821351122305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981744207,"filename":"image_14012025_11_53_13_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329252390","file1":"1329252386","file0":"1329252382","file4":"1329252395","file5":"1329252399","file3":"1329252393"},"map_files_photo_id_array":[{"photo_id":"1329252399","filename":"file5"},{"photo_id":"1329252390","filename":"file2"},{"photo_id":"1329252395","filename":"file4"},{"photo_id":"1329252386","filename":"file1"},{"photo_id":"1329252382","filename":"file0"},{"photo_id":"1329252393","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329252386":["hashtag1","hashtag2"]},{"1329252382":["hashtag1","hashtag2"]},{"1329252399":["hashtag1","hashtag2"]},{"1329252390":["hashtag1","hashtag2"]},{"1329252393":["hashtag1","hashtag2"]},{"1329252395":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329252386, 1329252382, 1329252399, 1329252390, 1329252393, 1329252395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71417307853699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-01-15 23:55:22.473019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250105 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250106 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250107 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_23_2709.jpg', '/home/pi/Desktop/images/14012025/11/54/image_14012025_11_54_59_2829.jpg', '/home/pi/Desktop/images/14012025/11/56/image_14012025_11_56_25_2843.jpg', '/home/pi/Desktop/images/14012025/11/56/image_14012025_11_57_01_3661.jpg', '/home/pi/Desktop/images/14012025/11/57/image_14012025_11_57_07_2590.jpg', '/home/pi/Desktop/images/14012025/11/57/image_14012025_11_57_49_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/53/image_14012025_11_53_23_2709.jpg
/home/pi/Desktop/images/14012025/11/54/image_14012025_11_54_59_2829.jpg
/home/pi/Desktop/images/14012025/11/56/image_14012025_11_56_25_2843.jpg
/home/pi/Desktop/images/14012025/11/56/image_14012025_11_57_01_3661.jpg
/home/pi/Desktop/images/14012025/11/57/image_14012025_11_57_07_2590.jpg
/home/pi/Desktop/images/14012025/11/57/image_14012025_11_57_49_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329252419","1329252413","1329252421","1329252415","1329252423","1329252426"],"photo_ids_order":["1329252413","1329252415","1329252419","1329252421","1329252423","1329252426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b5c2ee2f97da53ca326728e2807d9479.jpg","text":"TemporaryFile(/tmp/multipartBody4628991203556699309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981785639,"filename":"image_14012025_11_56_25_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/60f272fc054fa8cd06fd0399c9c916d7.jpg","text":"TemporaryFile(/tmp/multipartBody2991806053185023793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981785639,"filename":"image_14012025_11_53_23_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/52832661cf6573876993a0fde06d8b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8033630953318393150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981785639,"filename":"image_14012025_11_57_01_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/86a6e83b6c75655979e9c192d36bd496.jpg","text":"TemporaryFile(/tmp/multipartBody1287687726300118859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981785639,"filename":"image_14012025_11_54_59_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/4772ae303bd43e53ce303a466b9e9130.jpg","text":"TemporaryFile(/tmp/multipartBody7302444048004109469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981785639,"filename":"image_14012025_11_57_07_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c4545614a4961785278c5d0994d4ef7f.jpg","text":"TemporaryFile(/tmp/multipartBody5680818655349538941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981785639,"filename":"image_14012025_11_57_49_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329252419","file1":"1329252415","file0":"1329252413","file4":"1329252423","file5":"1329252426","file3":"1329252421"},"map_files_photo_id_array":[{"photo_id":"1329252426","filename":"file5"},{"photo_id":"1329252419","filename":"file2"},{"photo_id":"1329252423","filename":"file4"},{"photo_id":"1329252415","filename":"file1"},{"photo_id":"1329252413","filename":"file0"},{"photo_id":"1329252421","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329252419":["hashtag1","hashtag2"]},{"1329252413":["hashtag1","hashtag2"]},{"1329252421":["hashtag1","hashtag2"]},{"1329252415":["hashtag1","hashtag2"]},{"1329252423":["hashtag1","hashtag2"]},{"1329252426":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329252419, 1329252413, 1329252421, 1329252415, 1329252423, 1329252426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50707530975342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:56:03.147692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/11/58/image_14012025_11_58_43_3665.jpg', '/home/pi/Desktop/images/14012025/11/59/image_14012025_11_59_37_3709.jpg', '/home/pi/Desktop/images/14012025/12/00/image_14012025_12_00_50_2665.jpg', '/home/pi/Desktop/images/14012025/12/01/image_14012025_12_01_37_2849.jpg', '/home/pi/Desktop/images/14012025/12/02/image_14012025_12_02_43_2928.jpg', '/home/pi/Desktop/images/14012025/12/03/image_14012025_12_03_47_2923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/11/58/image_14012025_11_58_43_3665.jpg
/home/pi/Desktop/images/14012025/11/59/image_14012025_11_59_37_3709.jpg
/home/pi/Desktop/images/14012025/12/00/image_14012025_12_00_50_2665.jpg
/home/pi/Desktop/images/14012025/12/01/image_14012025_12_01_37_2849.jpg
/home/pi/Desktop/images/14012025/12/02/image_14012025_12_02_43_2928.jpg
/home/pi/Desktop/images/14012025/12/03/image_14012025_12_03_47_2923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329252463","1329252466","1329252435","1329252450","1329252447","1329252432"],"photo_ids_order":["1329252432","1329252435","1329252447","1329252450","1329252463","1329252466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/78cd829fcd65c2e45baa673a21cd6fae.jpg","text":"TemporaryFile(/tmp/multipartBody6523180742700236606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981825773,"filename":"image_14012025_12_02_43_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/02d88b2c0be673c7c6d57094f67bf815.jpg","text":"TemporaryFile(/tmp/multipartBody6809062961381566794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981825773,"filename":"image_14012025_12_03_47_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/5ebfcfc997f5511b97474720e583859f.jpg","text":"TemporaryFile(/tmp/multipartBody8956980948325929953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981825773,"filename":"image_14012025_11_59_37_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/b779f77a6ab98e6395caa8a56746d78c.jpg","text":"TemporaryFile(/tmp/multipartBody4938728626395822265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981825773,"filename":"image_14012025_12_01_37_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/138f4016211cffb2b3a69558c0e60a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2612768099517338008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981825773,"filename":"image_14012025_12_00_50_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/ce3f7cbc51bd37ca09f6251fca58298a.jpg","text":"TemporaryFile(/tmp/multipartBody2684979557692851932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981825773,"filename":"image_14012025_11_58_43_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329252447","file1":"1329252435","file0":"1329252432","file4":"1329252463","file5":"1329252466","file3":"1329252450"},"map_files_photo_id_array":[{"photo_id":"1329252466","filename":"file5"},{"photo_id":"1329252447","filename":"file2"},{"photo_id":"1329252463","filename":"file4"},{"photo_id":"1329252435","filename":"file1"},{"photo_id":"1329252432","filename":"file0"},{"photo_id":"1329252450","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329252463":["hashtag1","hashtag2"]},{"1329252466":["hashtag1","hashtag2"]},{"1329252435":["hashtag1","hashtag2"]},{"1329252450":["hashtag1","hashtag2"]},{"1329252447":["hashtag1","hashtag2"]},{"1329252432":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329252463, 1329252466, 1329252435, 1329252450, 1329252447, 1329252432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.10223460197449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-01-15 23:57:03.242886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250115 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250108 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250109 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250110 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250111 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250112 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250113 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14012025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250114 ORDER BY id_local ASC LIMIT 6;
  port_id : 19667253
  datou_current_id : 2488262
in upload_from_sqlite, uploading in 19667253
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/14012025/12/04/image_14012025_12_04_26_3715.jpg', '/home/pi/Desktop/images/14012025/12/05/image_14012025_12_05_22_2704.jpg', '/home/pi/Desktop/images/14012025/12/07/image_14012025_12_07_08_1780.jpg', '/home/pi/Desktop/images/14012025/12/07/image_14012025_12_07_15_2743.jpg', '/home/pi/Desktop/images/14012025/12/07/image_14012025_12_07_17_1853.jpg', '/home/pi/Desktop/images/14012025/12/07/image_14012025_12_07_19_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=2488262&datou=0
/home/pi/Desktop/images/14012025/12/04/image_14012025_12_04_26_3715.jpg
/home/pi/Desktop/images/14012025/12/05/image_14012025_12_05_22_2704.jpg
/home/pi/Desktop/images/14012025/12/07/image_14012025_12_07_08_1780.jpg
/home/pi/Desktop/images/14012025/12/07/image_14012025_12_07_15_2743.jpg
/home/pi/Desktop/images/14012025/12/07/image_14012025_12_07_17_1853.jpg
/home/pi/Desktop/images/14012025/12/07/image_14012025_12_07_19_1703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1329252551","1329252562","1329252523","1329252553","1329252561","1329252525"],"photo_ids_order":["1329252523","1329252525","1329252551","1329252553","1329252561","1329252562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/c730512ce24f50e3cbef8112ad7fa73a.jpg","text":"TemporaryFile(/tmp/multipartBody99372778015369091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981885929,"filename":"image_14012025_12_07_08_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/f704b80036b7ab8675ab6d72720d428e.jpg","text":"TemporaryFile(/tmp/multipartBody994202725228207141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981885929,"filename":"image_14012025_12_07_19_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/48707e2f392becb3ab546ba7f4ee6550.jpg","text":"TemporaryFile(/tmp/multipartBody8489135074538186550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981885929,"filename":"image_14012025_12_04_26_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/18949f24daf624415e64179fa1bf5bd4.jpg","text":"TemporaryFile(/tmp/multipartBody445325213039795182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981885929,"filename":"image_14012025_12_07_15_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/be58ae51b98458463567943dfc3fc298.jpg","text":"TemporaryFile(/tmp/multipartBody4949513914848914358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981885929,"filename":"image_14012025_12_07_17_1853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/15/589bb1d43d6f3e4bf39a2354ca844537.jpg","text":"TemporaryFile(/tmp/multipartBody6170034296158954495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1736981885929,"filename":"image_14012025_12_05_22_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1329252551","file1":"1329252525","file0":"1329252523","file4":"1329252561","file5":"1329252562","file3":"1329252553"},"map_files_photo_id_array":[{"photo_id":"1329252562","filename":"file5"},{"photo_id":"1329252551","filename":"file2"},{"photo_id":"1329252561","filename":"file4"},{"photo_id":"1329252525","filename":"file1"},{"photo_id":"1329252523","filename":"file0"},{"photo_id":"1329252553","filename":"file3"}],"portfolio_id":19667253,"hashtag_by_photo_ids":[{"1329252551":["hashtag1","hashtag2"]},{"1329252562":["hashtag1","hashtag2"]},{"1329252523":["hashtag1","hashtag2"]},{"1329252553":["hashtag1","hashtag2"]},{"1329252561":["hashtag1","hashtag2"]},{"1329252525":["hashtag1","hashtag2"]}],"comms":"Portfolio 19667253 used, photo_id : ArrayBuffer(1329252551, 1329252562, 1329252523, 1329252553, 1329252561, 1329252525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.5740761756897 secondes ---
